|
View:
New views
15 Messages
—
Rating Filter:
Alert me
|
|
|
Ioc for asp.netHi,
I am looking for dependency injection container for asp.net mvc project . I have worked with Windsor and found it very good. Wanted to opinion about other ioc available . Is there some light weight container ? Regards M.V.Praveen Yahoo! India has a new look. Take a sneak peek http://in.yahoo.com/trynew |
|
|
Re: Ioc for asp.nethttp://www.lmgtfy.com/?q=ioc+containers+in+.net
On Wed, Oct 21, 2009 at 12:42 PM, praveen m.v <mvprav@...> wrote: > > > Hi, > > I am looking for dependency injection container for asp.net mvc project . > I have worked with Windsor and found it very good. Wanted to opinion about > other ioc available . > Is there some light weight container ? > > > Regards > M.V.Praveen > > ------------------------------ > Keep up with people you care about with Yahoo! India Mail. Learn how<http://in.rd.yahoo.com/tagline_galaxy_1/*http://in.overview.mail.yahoo.com/connectmore>. > > > > -- Sidar Ok http://www.sidarok.com http://www.twitter.com/sidarok |
|
|
Re: Ioc for asp.netLOL
Praveen, generally speaking, any .NET IOC will do. Some of them do have certain facilities, specific to MVC (especially controller factories). I'm mostly using Autofac (http://code.google.com/p/autofac/) and I'm finding it very good. hth, Miha. On Wed, Oct 21, 2009 at 1:22 PM, Sidar Ok <sidarok@...> wrote: > > > http://www.lmgtfy.com/?q=ioc+containers+in+.net > |
|
|
RE: Ioc for asp.netI second that. Your code should be container agnostic so that you can select any DI Container you would like to use. Only in the application's Composition Root (in ASP.NET MVC, this translates roughly to Global.asax) should you need to write any container-specific code. This is where all your different components get wired together.
At Safewhere we are happy using Castle Windsor with ASP.NET MVC, but any proper DI Container should do. Mark Seemann http://blog.ploeh.dk<http://blog.ploeh.dk/> Twitter: ploeh (+45) 50 50 87 70 Dependency Injection in .NET<http://www.manning.com/seemann/> From: altdotnet@... [mailto:altdotnet@...] On Behalf Of Miha Valencic Sent: 21. oktober 2009 08:21 To: altdotnet@... Subject: Re: [altdotnet] Ioc for asp.net LOL Praveen, generally speaking, any .NET IOC will do. Some of them do have certain facilities, specific to MVC (especially controller factories). I'm mostly using Autofac (http://code.google.com/p/autofac/) and I'm finding it very good. hth, Miha. On Wed, Oct 21, 2009 at 1:22 PM, Sidar Ok <sidarok@...<mailto:sidarok@...>> wrote: http://www.lmgtfy.com/?q=ioc+containers+in+.net |
|
|
Re: Ioc for asp.netHi Praveen,
I'd like to represent the StructureMap camp. I've used it a great deal and find it has everything I need and is nice ann light weight. It is also under active developement with several contributers. I've heard that ninject too is quite good but don't have experience with it. Raif --- In altdotnet@..., "praveen m.v" <mvprav@...> wrote: > > Hi, > > I am looking for dependency injection container for asp.net mvc project . I have worked with Windsor and found it very good. Wanted to opinion about other ioc available . > Is there some light weight container ? > > > Regards > M.V.Praveen > > > > Yahoo! India has a new look. Take a sneak peek http://in.yahoo.com/trynew > |
|
|
Re: Ioc for asp.netSnarky comments to google it yourself aside, I've just finished researching this myself after finding that there wasn't a whole lot of in-depth comparisons online.
Some of the other suggestions are quite good, but I'd liek to throw NInject into the mix as well, I think you'll find it meets your 'lightweight' criteria quite well. --- In altdotnet@..., "praveen m.v" <mvprav@...> wrote: > > Hi, > > I am looking for dependency injection container for asp.net mvc project . I have worked with Windsor and found it very good. Wanted to opinion about other ioc available . > Is there some light weight container ? > > > Regards > M.V.Praveen > > > > Yahoo! India has a new look. Take a sneak peek http://in.yahoo.com/trynew > |
|
|
Re: Re: Ioc for asp.netWe originally started using Ninject because of the thought that it was
faster than other containers. Later we found out that it actually comes up pretty slow in performance tests. http://www.viddler.com/explore/dcazzulino/videos/10/ http://www.codinginstinct.com/2008/05/ioc-container-benchmark-rerevisted.html We also ran into a very strange conflict with Ninject where the project would not compile anymore. I can't find the original error we had but it had something to do with a conflict inside the library itself. To be fair we were attempting to use one of the Ninject 2 beta's. Currently we've settled on Autofac and so far have been pretty happy with it. I can't comment on StructureMap, Windsor or the other though as I haven't even attempted to try them out. Nathan Palmer On Wed, Oct 21, 2009 at 9:29 AM, roberthking3 <roberthking3@...>wrote: > > > Snarky comments to google it yourself aside, I've just finished researching > this myself after finding that there wasn't a whole lot of in-depth > comparisons online. > > Some of the other suggestions are quite good, but I'd liek to throw NInject > into the mix as well, I think you'll find it meets your 'lightweight' > criteria quite well. > > > --- In altdotnet@... <altdotnet%40yahoogroups.com>, "praveen > m.v" <mvprav@...> wrote: > > > > Hi, > > > > I am looking for dependency injection container for asp.net mvc project > . I have worked with Windsor and found it very good. Wanted to opinion about > other ioc available . > > Is there some light weight container ? > > > > > > Regards > > M.V.Praveen > > > > > > > > Yahoo! India has a new look. Take a sneak peek > http://in.yahoo.com/trynew > > > > > |
|
|
Re: Ioc for asp.netnice - he asks for opinions and get insulted instead...
--- In altdotnet@..., Sidar Ok <sidarok@...> wrote: > > http://www.lmgtfy.com/?q=ioc+containers+in+.net > |
|
|
Re: Re: Ioc for asp.netOk, time to bite.
This group has been around not for 3 days, and IoC Container discussions are not happening in the last week only. Look at the previous messages, I am sure that I have seen each of them from different persons at least 5 times, if not 10. Not even google, a very, very simple search in yahoo groups in only altdotnet group is going to bring you dozens of discussions about it. Sorry if it came off as an insult, but I am not gonna reward stealing people's time for something like this. Even "I am feeling lucky" brings you to a nice post of scott hanselman about the subject. I don't want this group to turn into msdn forums. On Thu, Oct 22, 2009 at 12:30 PM, zzzuperfly <ostenpajobbet@...>wrote: > > > nice - he asks for opinions and get insulted instead... > > > --- In altdotnet@... <altdotnet%40yahoogroups.com>, Sidar Ok > <sidarok@...> wrote: > > > > http://www.lmgtfy.com/?q=ioc+containers+in+.net > > > > > -- Sidar Ok http://www.sidarok.com http://www.twitter.com/sidarok |
|
|
Re: Re: Ioc for asp.netMaybe we should get links to the dozen or so "Which IoC container to use"
on the group home page :-). It is a perfectly reasonable question but it does seem to occur bi-monthly on this group. Cheers Paul Cowan Cutting-Edge Solutions (Scotland) http://thesoftwaresimpleton.blogspot.com/ 2009/10/22 Sidar Ok <sidarok@...> > > > Ok, time to bite. > > This group has been around not for 3 days, and IoC Container discussions > are not happening in the last week only. Look at the previous messages, I am > sure that I have seen each of them from different persons at least 5 times, > if not 10. > > Not even google, a very, very simple search in yahoo groups in only > altdotnet group is going to bring you dozens of discussions about it. > > Sorry if it came off as an insult, but I am not gonna reward stealing > people's time for something like this. > > Even "I am feeling lucky" brings you to a nice post of scott hanselman > about the subject. I don't want this group to turn into msdn forums. > > On Thu, Oct 22, 2009 at 12:30 PM, zzzuperfly <ostenpajobbet@...>wrote: > >> >> >> nice - he asks for opinions and get insulted instead... >> >> >> --- In altdotnet@... <altdotnet%40yahoogroups.com>, Sidar Ok >> <sidarok@...> wrote: >> > >> > http://www.lmgtfy.com/?q=ioc+containers+in+.net >> > >> >> > > > -- > Sidar Ok > > http://www.sidarok.com > http://www.twitter.com/sidarok > > > |
|
|
RE: Re: Ioc for asp.netI'd like to throw my hat into the ring for Autofac as well. I've used it
for over a year and couldn't be happier. From: altdotnet@... [mailto:altdotnet@...] On Behalf Of Nathan Palmer Sent: Wednesday, October 21, 2009 8:42 PM To: altdotnet@... Subject: Re: [altdotnet] Re: Ioc for asp.net We originally started using Ninject because of the thought that it was faster than other containers. Later we found out that it actually comes up pretty slow in performance tests. http://www.viddler.com/explore/dcazzulino/videos/10/ http://www.codinginstinct.com/2008/05/ioc-container-benchmark-rerevisted .html We also ran into a very strange conflict with Ninject where the project would not compile anymore. I can't find the original error we had but it had something to do with a conflict inside the library itself. To be fair we were attempting to use one of the Ninject 2 beta's. Currently we've settled on Autofac and so far have been pretty happy with it. I can't comment on StructureMap, Windsor or the other though as I haven't even attempted to try them out. Nathan Palmer On Wed, Oct 21, 2009 at 9:29 AM, roberthking3 <roberthking3@...> wrote: Snarky comments to google it yourself aside, I've just finished researching this myself after finding that there wasn't a whole lot of in-depth comparisons online. Some of the other suggestions are quite good, but I'd liek to throw NInject into the mix as well, I think you'll find it meets your 'lightweight' criteria quite well. --- In altdotnet@... <mailto:altdotnet%40yahoogroups.com> , "praveen m.v" <mvprav@...> wrote: > > Hi, > > I am looking for dependency injection container for asp.net mvc project . I have worked with Windsor and found it very good. Wanted to opinion about other ioc available . > Is there some light weight container ? > > > Regards > M.V.Praveen > > > > Yahoo! India has a new look. Take a sneak peek http://in.yahoo.com/trynew > Confidentiality Notice: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, copy, use, disclosure, or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. |
|
|
Re: Ioc for asp.netStealing Time??? C'mon... I don't know about you, but he didn't come to my place of work and MAKE me post a reply.
BTW, Scott's post is 18 months old. Like I said, most of the blog posts on the topic are either pretty superficial or pretty old. I've followed most of the discussions here too, and have learned a lot from them, but I'm not going to get on MY high horse and pick on someone who asks a naive question. Slightly off-topic, but I've found during my journey into open source projects for .NET, and open source in general, that the biggest barrier to entry isn't technical, it's that too many people actively discourage noobs. Just my $.02 --- In altdotnet@..., Sidar Ok <sidarok@...> wrote: > > Ok, time to bite. > This group has been around not for 3 days, and IoC Container discussions are > not happening in the last week only. Look at the previous messages, I am > sure that I have seen each of them from different persons at least 5 times, > if not 10. > > Not even google, a very, very simple search in yahoo groups in only > altdotnet group is going to bring you dozens of discussions about it. > > Sorry if it came off as an insult, but I am not gonna reward stealing > people's time for something like this. > > Even "I am feeling lucky" brings you to a nice post of scott hanselman about > the subject. I don't want this group to turn into msdn forums. > > On Thu, Oct 22, 2009 at 12:30 PM, zzzuperfly <ostenpajobbet@...>wrote: > > > > > > > nice - he asks for opinions and get insulted instead... > > > > > > --- In altdotnet@... <altdotnet%40yahoogroups.com>, Sidar Ok > > <sidarok@> wrote: > > > > > > http://www.lmgtfy.com/?q=ioc+containers+in+.net > > > > > > > > > > > > > -- > Sidar Ok > > http://www.sidarok.com > http://www.twitter.com/sidarok > |
|
|
Re: Re: Ioc for asp.netHi, I used structure map for ioc . Just to try :) .. I found it pretty good.. It automatically resolves controllers for asp.net mvc .. So we need not register it . And it has fluent interface which is pretty good . I can scan for classes with base class and register it . Example If i have RepositoryBase and UserRepository and ProductRepository which inherit base class , The scan will register both the classes. But I didnt find attribute style aop . (Trying to see how to achieve this) And doesn provide pooled lifecycle. Regards Praveen ________________________________ From: roberthking3 <roberthking3@...> To: altdotnet@... Sent: Thu, 22 October, 2009 7:30:00 PM Subject: [altdotnet] Re: Ioc for asp.net Stealing Time??? C'mon... I don't know about you, but he didn't come to my place of work and MAKE me post a reply. BTW, Scott's post is 18 months old. Like I said, most of the blog posts on the topic are either pretty superficial or pretty old. I've followed most of the discussions here too, and have learned a lot from them, but I'm not going to get on MY high horse and pick on someone who asks a naive question. Slightly off-topic, but I've found during my journey into open source projects for .NET, and open source in general, that the biggest barrier to entry isn't technical, it's that too many people actively discourage noobs. Just my $.02 --- In altdotnet@yahoogrou ps.com, Sidar Ok <sidarok@... > wrote: > > Ok, time to bite. > This group has been around not for 3 days, and IoC Container discussions are > not happening in the last week only. Look at the previous messages, I am > sure that I have seen each of them from different persons at least 5 times, > if not 10. > > Not even google, a very, very simple search in yahoo groups in only > altdotnet group is going to bring you dozens of discussions about it. > > Sorry if it came off as an insult, but I am not gonna reward stealing > people's time for something like this. > > Even "I am feeling lucky" brings you to a nice post of scott hanselman about > the subject. I don't want this group to turn into msdn forums. > > On Thu, Oct 22, 2009 at 12:30 PM, zzzuperfly <ostenpajobbet@ ...>wrote: > > > > > > > nice - he asks for opinions and get insulted instead... > > > > > > --- In altdotnet@yahoogrou ps.com <altdotnet%40yahoog roups.com> , Sidar Ok > > <sidarok@> wrote: > > > > > > http://www.lmgtfy. com/?q=ioc+ containers+ in+.net > > > > > > > > > > > > > -- > Sidar Ok > > http://www.sidarok. com > http://www.twitter. com/sidarok > Connect more, do more and share more with Yahoo! India Mail. Learn more. http://in.overview.mail.yahoo.com/ |
|
|
Re: Re: Ioc for asp.netHi,
Yes i could have searched on google, which i did . If we see any question asked to this group , every thing could have been googled out . thanks Praveen ________________________________ From: Sidar Ok <sidarok@...> To: altdotnet@... Sent: Thu, 22 October, 2009 4:08:25 PM Subject: Re: [altdotnet] Re: Ioc for asp.net Ok, time to bite. This group has been around not for 3 days, and IoC Container discussions are not happening in the last week only. Look at the previous messages, I am sure that I have seen each of them from different persons at least 5 times, if not 10. Not even google, a very, very simple search in yahoo groups in only altdotnet group is going to bring you dozens of discussions about it. Sorry if it came off as an insult, but I am not gonna reward stealing people's time for something like this. Even "I am feeling lucky" brings you to a nice post of scott hanselman about the subject. I don't want this group to turn into msdn forums. On Thu, Oct 22, 2009 at 12:30 PM, zzzuperfly <ostenpajobbet@ hotmail.com> wrote: > > > > > > > > > > > > >> >nice - he asks for opinions and get insulted instead... > > >>--- In altdotnet@yahoogrou ps.com, Sidar Ok <sidarok@...> wrote: >>> >>> http://www.lmgtfy. com/?q=ioc+ containers+ in+.net >>> > > -- Sidar Ok http://www.sidarok. com http://www.twitter. com/sidarok Connect more, do more and share more with Yahoo! India Mail. Learn more. http://in.overview.mail.yahoo.com/ |
|
|
RE: Re: Ioc for asp.netMaybe it's at that point that I come out of the wood and let everyone know
that I was wrong when we created that list. This is cli_dev. Has been for a long time. Reason why a lot of old-timers have gone to greener pastures. Stop fighting it, it's a lost cause. S From: altdotnet@... [mailto:altdotnet@...] On Behalf Of Sidar Ok Sent: 22 October 2009 11:38 To: altdotnet@... Subject: Re: [altdotnet] Re: Ioc for asp.net Ok, time to bite. This group has been around not for 3 days, and IoC Container discussions are not happening in the last week only. Look at the previous messages, I am sure that I have seen each of them from different persons at least 5 times, if not 10. Not even google, a very, very simple search in yahoo groups in only altdotnet group is going to bring you dozens of discussions about it. Sorry if it came off as an insult, but I am not gonna reward stealing people's time for something like this. Even "I am feeling lucky" brings you to a nice post of scott hanselman about the subject. I don't want this group to turn into msdn forums. On Thu, Oct 22, 2009 at 12:30 PM, zzzuperfly <ostenpajobbet@...> wrote: nice - he asks for opinions and get insulted instead... --- In altdotnet@... <mailto:altdotnet%40yahoogroups.com> , Sidar Ok <sidarok@...> wrote: > > http://www.lmgtfy.com/?q=ioc+containers+in+.net > -- Sidar Ok http://www.sidarok.com http://www.twitter.com/sidarok |
| Free embeddable forum powered by Nabble | Forum Help |