会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
devgis
专业专注GIS&.NET
博客园
首页
新随笔
联系
订阅
管理
2015年11月25日
asp.net mvc实现rest风格返回json
摘要: 实现类似:http://localhost:1799/rest/person/1方式返回一个json内容:在asp.net mvc中新建一个control rest,然后在其中新增方法:1 public IActionResult Person(int id)2 {3 return Cont...
阅读全文
posted @ 2015-11-25 14:40 devgis
阅读(603)
评论(2)
推荐(0)
编辑
公告