I have started using Presentation Model w/ ASP.NET webforms and like the pattern quite a bit. What I am really having an issue with is where to instantiate some of my classes, mostly the presentation model, my business object, and things like the data for drop down lists. So I could use some tips or a complete example of the Presentation Model (I have only find pieces so far).
How do you use Presentation Model with Webforms?
Asked Answered
Video Links -
Rik Bardof on Design Patterns (including MVP)
As far as the rest of your architecture goes, I would recommend reading Jeffrey Palermo's blog series on Onion Architecture. He has a sample project CodeCampServer that illustrates some good practices. This is a web app using ASP.NET MVC, but the principles still apply.
© 2022 - 2024 — McMap. All rights reserved.