Model View Presenter plus ASP.NET Web Service; where does the asmx live?

Posted by Dirk on Stack Overflow See other posts from Stack Overflow or by Dirk
Published on 2010-06-08T22:51:53Z Indexed on 2010/06/08 23:02 UTC
Read the original article Hit count: 193

Filed under:
|
|

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!

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about web-services