WebApi系列~基于RESTful标准的Web Api 转载 https://www.cnblogs.com/lori/p/3555737.html

时间:2021-11-28 13:02:05

微软的web api是在vs2012上的mvc4项目绑定发行的,它提出的web api是完全基于RESTful标准的,完全不同于之前的(同是SOAP协议的)wcf和webService,它是简单,代码可读性强的,上手快的,如果要拿它和web服务相比,我会说,它的接口更标准,更清晰,没有混乱的方法名称,有的只有几种标准的请求,如get,post,put,delete等,它们分别对应的几个操作,下面讲一下:

GET:生到数据列表(默认),或者得到一条实体数据

POST:添加服务端添加一条记录,记录实体为Form对象

PUT:添加或修改服务端的一条记录,记录实体的Form对象,记录主键以GET方式进行传输

DELETE:删除 服务端的一条记录

注意上面公开的API接口都是在XMLHttpRequest情况下调用的,当然你可以使用jquery的ajax组件来完成这个请求调用,它的代码更加面向对象,下面举例说明一下

这是页面的HTML代码部分,实现最基本的CRUD操作

WebApi系列~基于RESTful标准的Web Api 转载 https://www.cnblogs.com/lori/p/3555737.html
<fieldset>
<legend>测试Web Api
</legend>
<a href="javascript:add()">添加(post)</a>
<a href="javascript:update(1)">更新(put)</a>
<a href="javascript:deletes(1)">删除(delete)</a>
<a href="/api/test">列表(Get)</a>
<a href="/api/test/1">实体(Get)</a>
</fieldset>
<script> function add() { $.ajax({
url : "/api/Test/",
type : "POST",
data :{"UserID":4,"UserName":"test","UserEmail":"Parry@cnblogs.com"},
success: function (data) { alert(JSON.stringify(data)); } }); } //更新
function update(id) {
$.ajax({
url : "/api/Test?id="+id,
type : "Put",
data :{"UserID":1,"UserName":"moditest","UserEmail":"Parry@cnblogs.com"},
success: function (data) { alert(JSON.stringify(data)); }
}); }
function deletes(id) {
$.ajax({
url : "/api/Test/1",
type : "DELETE",
success: function (data) { alert(data);}
}); }
</script>
WebApi系列~基于RESTful标准的Web Api 转载 https://www.cnblogs.com/lori/p/3555737.html

下面是ApiController部分的代码:

WebApi系列~基于RESTful标准的Web Api 转载 https://www.cnblogs.com/lori/p/3555737.html
   /// <summary>
/// Test模块API
/// URI:/Api/Test
/// </summary>
public class TestController : ApiController
{ /// <summary>
/// User Data List
/// </summary>
private readonly List<Users> _userList = new List<Users>
{
new Users {UserID = 1, UserName = "zzl", UserEmail = "bfyxzls@sina.com"},
new Users {UserID = 2, UserName = "Spiderman", UserEmail = "Spiderman@cnblogs.com"},
new Users {UserID = 3, UserName = "Batman", UserEmail = "Batman@cnblogs.com"}
};
/// <summary>
/// 得到列表对象
/// </summary>
/// <returns></returns>
public IEnumerable<Users> Get()
{
return _userList;
} /// <summary>
/// 得到一个实体,根据主键
/// </summary>
/// <param name="id"></param>
/// <returns></returns>
public Users Get(int id)
{
return _userList.FirstOrDefault(i => i.UserID == id);
} /// <summary>
/// 添加
/// </summary>
/// <param name="form">表单对象,它是唯一的</param>
/// <returns></returns>
public Users Post([FromBody] Users entity)
{
_userList.Add(entity);
return entity;
} /// <summary>
/// 更新
/// </summary>
/// <param name="id">主键</param>
/// <param name="form">表单对象,它是唯一的</param>
/// <returns></returns>
public Users Put(int id, [FromBody]Users entity)
{
var user = _userList.FirstOrDefault(i => i.UserID == id);
if (user != null)
{
user.UserName = entity.UserName;
user.UserEmail = entity.UserEmail;
}
return user;
}
/// <summary>
/// 删除
/// </summary>
/// <param name="id">主键</param>
/// <returns></returns>
public void Delete(int id)
{
_userList.Remove(_userList.FirstOrDefault(i=>i.UserID==id));
}
}
WebApi系列~基于RESTful标准的Web Api 转载 https://www.cnblogs.com/lori/p/3555737.html

下面我们看一下各个操作调用的结果:

添加操作(POST)

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAdkAAACRCAIAAAAAWVXgAAAH2UlEQVR4nO3c23WcyBoGUOIhCiVBBs4DB2CrryTRUfhxHs9Dx3ACmAQ0D33jUtUNatAvWXuvWbPUiIK68VHQtovdvmmaZr3Z/V6tm6Zpmma13q7W29PPr6v1erNrmma/b379Xm12+6ZpNrv9r98rBRVUUEEF5ypYbHb71Xp7KrnZ7tab3X7f7JtmvdlttrumaXb7ZrXenvbe7prX9Wlzo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7kfnANJPnHyJ9unStLDzrtlpR5Ofl9kgLzw0y087RCeBWciKHz+fVoCkbeicp+QRN5dliEq0cA+a+DmDbUhxR3YPGeigvE3mFePurfFbbWTQSiByYw8BezlVllZA4zlCcmQqPy7s+clbKzc9hyIbu2PO65Xe8ig2Dxyunh15JcEkQ7J2qazamESOW9wavtWN0HfjcoG+Kzg1dr0wyGeqPHbnw6Cw5jeWG5gQQ2OlH+FoKRbMWHVEaiqPi66ppxNQntP4kb6aH4kRPI6o4sp9pUdcM99kr8ffy54GUVLFhaMbcsQf3mtIceivlwIx5sxoeqVPitx661eJFLqVYqThbhtZnm35j2TCVCVVKppLGtXytmggeZtKpwDUSsGHoKDuEPgLDZ519dFaEZu8bkpsogaSosg1L5obkgmq1WsQ1k/dQ1rFTRHspGbTh2PXFVG2Y03rWdW5xBUJOYQ5DuaE7Y96slg7mDdG3jxu5XFB5jzBy9Cfdqle7xLQpSa49ZwV6OJENieS9FLjwBg1smE+tZ8pmjrzE28r/S53IYQPKfD2c6chgxIbmY9I94SfrIf3Ybykb6qK83NCPXCI3JMMgJ7xZSxU4wr/DlHcK08l2l2XTmsOSNrRntVSwYG6YZx8TuaRi06gVRUaG9IPOrk9X1e6rgpWpb0P77o8zUu/cyP/EdZdYznN599yxI8OGAYq/YaPPQ2Ikd51DVi05ZyFd17jPlAuyK+sisJdZUdez6EQ9NOdcGpnbPXIPuq50zp6xAynei+QKcpD0rpz/2WDGn/JQ64Gxe3tNbQ5LrZTdWS08ytbYQ9PqFPmRS31OOzdj6H0SqxEiJu8I0gmy7haa/QLnSmCkXmRap+Aoe6mi0x8vMmwY4GJ93xCApsncx2aLRIV7SqA0sCEALiLLWlwXcntdBRc2BGwIAACcw4YAACCADQEAgHPYEAAABLAhAABwDhsCAIAANgQAAM5hQwAAEMCGAADAOWwIAAAC2BAAADiHDQEAQAAbAgAA55z/P4UpQFzX82q7AAAAAElFTkSuQmCC" alt="" />

最后,再强调一下,web api使用RESTful架构的,不像传统的(同是SOAP的) RPC方式的wcf和web Service,它强调的是接口模块的概念,每个模块都是独立的,每个模块的接口方法都是统一的和单一的,即CRUD方法组成。

感谢您的阅读!