ASP.NET MVC RESTful架构 [英] ASP.NET MVC RESTFul architecture

查看:206
本文介绍了ASP.NET MVC RESTful架构的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请问ASP.NET MVC支持RESTful架构默认?

Does ASP.NET MVC support RESTful architecture by default?

我想知道的是,如果我想开发一个RESTful类型的项目,我需要专门的ASP.NET MVC工作的事情,否则会在默认情况下支持这种功能?

What I want to know is, if I want to develop a RESTful kind of project, need I to specially work anything on ASP.NET MVC or it will support this feature by default?

推荐答案

如果您使用控制器重新present资源,简单地实施等于HTTP方法动作,那么你可以很产生RESTful系统轻松地与ASP.NET MVC。

If you use Controllers to represent resources and simply implement "actions" that are equal to the HTTP methods, then you can produce a RESTful system very easily with ASP.NET MVC.

这篇关于ASP.NET MVC RESTful架构的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆