Hi
Does anyone have any pointers to getting the container wired up in
MVC4? I also understand the process differs slightly for web and web
api?
Googling seems to come up with controller factories which to my
understanding are not necessary in mvc 4?
--
Cheers,
w://
--
You received this
It would be really nice if there is another tobeseen example for mvc4 :)
* including general exception interceptor
Serdar
--
serdarb.com http://www.serdarb.com
On Thu, Oct 11, 2012 at 11:43 AM, Wayne Douglas
codingvi...@googlemail.comwrote:
Hi
Does anyone have any pointers to getting the
I don't think it would be much different from MVC3...
--
Krzysztof Kozmic
On Thursday, 11 October 2012 at 6:49 PM, Serdar B. wrote:
It would be really nice if there is another tobeseen example for mvc4 :)
* including general exception interceptor
Serdar--
serdarb.com
so i'd still need a controller factory and all that?
I thought the whole point was that they had integrated it all better
so we won't need all that? With the whole DependencyResolver thing no?
On Thu, Oct 11, 2012 at 9:50 AM, Krzysztof Kozmic
krzysztof.koz...@gmail.com wrote:
I don't think it
i guess dependancyresolver is not the way to go:
http://blog.ploeh.dk/2012/09/28/DependencyInjectionAndLifetimeManagementWithASPNETWebAPI.aspx
On Thu, Oct 11, 2012 at 9:52 AM, Wayne Douglas
codingvi...@googlemail.com wrote:
so i'd still need a controller factory and all that?
I thought the
This is what I did:
* Create the following contorller factory:
public class WindsorControllerFactory : DefaultControllerFactory
{
private readonly IKernel _container;
public WindsorControllerFactory(IKernel container)
{
_container = container;
And don't forget Mark's follow-up post on doing that technique with Windsor:
http://blog.ploeh.dk/2012/10/03/DependencyInjectionInASPNETWebAPIWithCastleWindsor.aspx
---
Patrick Steele
http://weblogs.asp.net/psteele
On Thu, Oct 11, 2012 at 4:55 AM, Wayne Douglas
codingvi...@googlemail.com