随笔分类 -  WebAPI

摘要:引言 Web.config 通过web.Release.config 和web.Debug.config文件来实现不同编译配置下生成不同的配置文件, 但有时为了区分appSettings节点的配置内容,我们会单独放到一个文件。 以便我们更好的查看,修改(维护),这样我们如何像Web.config 那样优雅的处理这种转换呢? 本文中提及的插件就是解决这个问题的 Vs 插件 ... 阅读全文
posted @ 2017-01-11 16:40 霍旭东 阅读(460) 评论(0) 推荐(0) 编辑
摘要:使用ELK 来实时分析IIS Logs 阅读全文
posted @ 2017-01-04 17:37 霍旭东 阅读(843) 评论(3) 推荐(0) 编辑
摘要:简单类型参数 Example 1: Sending a simple parameter in the Url [RoutePrefix("api/values")] public class ValuesController : ApiController { // http://localhost:49407/api/values/example1?id=2 [Route("exa... 阅读全文
posted @ 2016-09-14 10:48 霍旭东 阅读(2262) 评论(0) 推荐(0) 编辑
摘要:WebAPI的Host OWIN IIS WebAPI 的handler和Filter有啥区别? WebAPI 常用 Filters Exception Filter Timer Filter Log Filter WebAPI 常用的模式 Repository UnitOfWork WebAPI IOC WebAPI 测试 We... 阅读全文
posted @ 2016-08-12 13:41 霍旭东 阅读(228) 评论(0) 推荐(0) 编辑
摘要:在IIS 10中启用CORS: IISExpress 通过IP地址访问 参考 Access IIS Express from another machine IIS Ex... 阅读全文
posted @ 2016-03-21 17:13 霍旭东 阅读(2129) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示