ASP.NET Model-View-Presenter ( MVP ) and Unity IoC from Microsoft Patterns & Practices

ASP.NET Model-View-Presenter ( MVP ) and Unity IoC from Microsoft Patterns & Practices

by David Hayden, ASP.NET Web Developer

 

Update 3/7/2008: Added Unity IoC and ASP.NET MVC Framework - Dependency Injection of Controllers

Update 2/22/2008: Added Unity Dependency Injection IoC Screencast

 

MVP Bundle ScreencastI have been talking about the Unity IoC Dependency Injection Container and ASP.NET MVC Framework in the past few posts:

This might be a bit too much for those of you unfamiliar with both dependency injection and the Model-View-Controller Pattern for ASP.NET Web Development. Therefore, I put together a tutorial using Unity with ASP.NET Webforms Development using the Model-View-Presenter Pattern on PnPGuidance that may make a bit more sense:

 

If using the MVP Pattern in ASP.NET Webforms Development is something you are interested in, I recommend checking out the Web Client Software Factory to see what is possible now. You can also check out the patterns & practices screencasts I have created to date. In particular, there is an MVP Guidance Bundle that is part of the Web Client Software Factory that talks about MVP in general. I created a screencast on it in particular:

Although you may not want to use a Dependency Injection Tool and Model-View-Presenter in all your web applications, I think it is important to understand their strengths and weaknesses when developing ASP.NET Web Applications.

I hope the tutorial helps.

posted on Tuesday, February 19, 2008 9:04 PM

Main

News

Green Tea

.NET Development

Enterprise Library

Patterns & Practices