2018年7月19日
摘要: 1. 实例 using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Web.Http; using wxweb.A 阅读全文
posted @ 2018-07-19 20:27 eye_like 阅读(1574) 评论(0) 推荐(0) 编辑
摘要: 1. 增加一个WebApi Controller, VS 会自动添加相关的引用,主要有System.Web.Http,System.Web.Http.WebHost,System.Net.Http 2. 在App_Start 下创建 WebApiConfig.cs 并注册路由 using Syste 阅读全文
posted @ 2018-07-19 19:28 eye_like 阅读(1789) 评论(0) 推荐(0) 编辑