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
<[email protected]> wrote:
> 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
> <[email protected]> wrote:
>> 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
>> <[email protected]> wrote:
>>> 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
>>>
>>>
>>> On Thu, Oct 11, 2012 at 11:43 AM, Wayne Douglas <[email protected]>
>>> wrote:
>>>
>>> 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 message because you are subscribed to the Google Groups
>>> "Castle Project Users" group.
>>> To post to this group, send email to [email protected].
>>> To unsubscribe from this group, send email to
>>> [email protected].
>>> For more options, visit this group at
>>> http://groups.google.com/group/castle-project-users?hl=en.
>>>
>>>
>>> --
>>> You received this message because you are subscribed to the Google Groups
>>> "Castle Project Users" group.
>>> To post to this group, send email to [email protected].
>>> To unsubscribe from this group, send email to
>>> [email protected].
>>> For more options, visit this group at
>>> http://groups.google.com/group/castle-project-users?hl=en.
>>>
>>>
>>> --
>>> You received this message because you are subscribed to the Google Groups
>>> "Castle Project Users" group.
>>> To post to this group, send email to [email protected].
>>> To unsubscribe from this group, send email to
>>> [email protected].
>>> For more options, visit this group at
>>> http://groups.google.com/group/castle-project-users?hl=en.
>>
>>
>>
>> --
>> Cheers,
>>
>> w://
>
>
>
> --
> Cheers,
>
> w://
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Castle Project Users" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/castle-project-users?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Castle Project Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/castle-project-users?hl=en.

Reply via email to