How do you use a presentation model with web forms?

I started using Presentation Model w / ASP.NET webforms and as a template quite a bit. I'm really having the problem of creating an instance of some of my classes, mostly a presentation model, my business object, and things like data for drop-down lists. So I could use some hints or a complete example of a view model (for now, I just found snippets).

+6
design-patterns
source share
1 answer

Video Links -

Rick Bardof on design patterns (including MVP)

Jean Paul Boohdoo at MVP

As for the rest of your architecture, I would recommend reading Jeffrey Palermo's blog series on Onion Architecture . He has a sample CodeCampServer project that illustrates some good practices. This is a web application using ASP.NET MVC, but the principles still apply.

+3
source share

All Articles