10

I am starting a new project in ASP.Net MVC 4 and I was wondering if it was possible to use Autofac MVC3 Integration with a MVC 4 project?

3 Answers 3

10

Yes, grab the NuGet package and go for it :)

Sign up to request clarification or add additional context in comments.

Comments

5

There is now an MVC4 package on NuGet: https://nuget.org/packages/Autofac.Mvc4/

More info: Autofac ASP.NET MVC 4 (Beta) Integration

Comments

1

Replaced Unity.Mvc with Autofac due to intermittent issues with Unity.Mvc. I did this replacement just this morning.

Project is an MVC 4 project and I am using the Autofac Mvc 4 beta. Works like a charm, and really like the auto registration feature (lacking in Unity).

Two thumbs up!!

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.