Model View Presenter plus ASP.NET Web Service; where does the asmx live?
- by Dirk
I've been slowly transitioning from a traditional web forms architecture to the MVP pattern (Passive View). So far, it's been fairly easy to implement b/c the views I've dealt with have all employed a classic PostBack model.
However, I've come across my first view that will refresh portions of itself via web services. I can't grok where the web service should live (Presenter I think) or how to expose that asmx end point to my View while still maintaining the clean separation of concerns/testability that MVP affords me.
I've searched far and wide for some examples on how this might be implemented and have come up with nothing. Please help!