Funq in Web App

Mar 31, 2009 at 5:36 AM
How do  I use Funq:

1. Register the Type once (e.g. Application_Start)
2. Reuse the same instance in the same request (e.g. maybe using the HttpContext.Current.Items)
Developer
Apr 15, 2009 at 8:06 PM
Kazi,
I've just done a Beta 1 Release of Munq, a spin off from Funq designed for ASP.NET Webform and MVC usage.  The documentation is light at the moment but you can read about it in my blog http://rattlingaroundmybrain.spaces.live.com/blog/.  The unit (TDD) test and the blog should provide you with the information you need to use it.  Included in it is
   Dependency Injection Container
   Container, Request, Session, and Cached Lifetime Managers
   MunqDIControllerFactory to use it in MVC
   Sample MVC application using Munq.DI and shows how to use Themes.

The codeplex project is http://munq.codeplex.com .


Kzu,
Take a look.  You might like how the Lifetime Managers are implemented using the Strategy pattern.
Coordinator
Apr 17, 2009 at 1:30 AM
This area comes next in Funq :)
Stay tunned!
Apr 17, 2009 at 1:58 AM
Thanks both of you.