Model View Presenter pattern with Castle in ASP.NET

added by leniel
2/14/2010 10:37:10 PM


This post shows how to implement the Model View Presenter (MVP) pattern using Castle Project, which is an Inversion of Control Container framework. Employing Castle Project containers and ASP.NET it turns out to be a simple task to have a Web App that takes advantage of the MVP pattern. You'll see how to: use inversion of control (IoC), define a base presenter, define a base view, implement a view interface, implementing a view that inherits from the view interface, implement the presenter and put them together in an ASP.NET web application.