ASP.NET MVC and WCF

后端 未结 4 912
野性不改
野性不改 2021-01-29 23:22

I\'m working my way into MVC at the moment, but on my \"To learn at some point\" list, I also have WCF.

I just wonder if WCF is something that should/could be used in an

4条回答
  •  面向向阳花
    2021-01-29 23:54

    You could use OData for your MVC application to handle Xml/Json type stuff. I know other people have suggested roll your own - and this is what I'm currently doing .. via the use of my own custom ActionFilter or custom ViewResult.

    Sample OData code: Scott Hanselman's OData + StackOverflow blog post.

提交回复
热议问题