ASP.NET MVC & Web Services

前端 未结 7 1310
梦谈多话
梦谈多话 2020-12-02 09:30

Does adding a Web Service to my ASP.NET MVC project break the whole concept of MVC?

That Web Service (WCF) depends on the Model layer from my MVC project to communic

相关标签:
7条回答
  • 2020-12-02 10:01

    I've had a go at doing this.

    See my result at my blog

    ps: I don't believe that this will break the MVC concept so long as you think that a web service is the model of a repository because all a web service does is returning a XML dump.

    0 讨论(0)
提交回复
热议问题