10 2016 档案

摘要:Tag Helpers The EnvironmentTagHelper can be used to include different scripts in your views (for example, raw or minified) based on the runtime enviro 阅读全文
posted @ 2016-10-26 16:17 Ryan chen 阅读(218) 评论(0) 推荐(0)
摘要:startup startup asp.net core 的入口,在构造函数中完成环境参数的配置。 ConfigureServices 方法,参数是IServiceCollection,是配置依赖注入的。需要注意的是此方法是在configure之前运行的。 在startup中的几个类: middle 阅读全文
posted @ 2016-10-26 13:51 Ryan chen 阅读(663) 评论(0) 推荐(0)
摘要:asp.net core 是基于 .net core的,所以能够跨平台。 目前存在.NET Framework (CLR), .NET Core (CoreCLR) or Mono,可根据项目的具体情况选择。当然.net framwork 最成熟,不过仅限于windows。儿。net core 是由 阅读全文
posted @ 2016-10-24 15:52 Ryan chen 阅读(374) 评论(0) 推荐(0)