如何在asp.net c#中的MVC 4中使用REST服务 [英] How to use REST services in MVC 4 in asp.net c#
本文介绍了如何在asp.net c#中的MVC 4中使用REST服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
我在我的项目中使用REST服务但是我不知道它的概念如何使用它
i搜索谷歌但没有获得MVC 4中asp.net中REST服务的确切含义
请建议我一些网站或者说我
解决方案
REST 是一种代表性状态转移,使用它可以通过HTTP以XML / JSON格式转发数据。有关REST的更多信息,请查看以下链接。
http://www.infoq.com/articles/rest-introduction
在.Net中,您可以使用WCF REST服务或Asp开发REST服务。净MVC。
使用Asp.Net MVC
http://www.asp.net/web-api/tutorials/hands-on-labs/使用WCF
http://msdn.microsoft.com/en-us/magazine/dd315413.aspx
Hi all,
I use REST services in my project but i relay not understand it's concept how can i use it
i search on google but not getting exactly meaning of REST services in asp.net in MVC 4
Please suggest me some site or say me about that
解决方案
REST is a Representational State Transfer using which data can be transfetrred over HTTP in XML/JSON format. Have a look at below link for more information on REST.
http://www.infoq.com/articles/rest-introduction
In .Net you can develop REST Services using WCF REST Services or Asp.Net MVC.
Using Asp.Net MVC
http://www.asp.net/web-api/tutorials/hands-on-labs/build-restful-apis-with-aspnet-web-api
Using WCF
http://msdn.microsoft.com/en-us/magazine/dd315413.aspx
这篇关于如何在asp.net c#中的MVC 4中使用REST服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文