摘要: Currently, in the both the Web API and MVC frameworks, dependency injection support does not come into play until after the OWIN pipeline has started 阅读全文
posted @ 2016-06-05 21:02 shiningrise 阅读(442) 评论(0) 推荐(0) 编辑
摘要: app.Properties["Hello"] = System.DateTime.Now; app.Run(async context => await context.Response.WriteAsync(app.Properties["Hello"].ToString() + ",now=" + System.DateTime.Now.T... 阅读全文
posted @ 2016-06-05 18:29 shiningrise 阅读(174) 评论(0) 推荐(0) 编辑
摘要: public class HelloWorldOptions { public HelloWorldOptions() { IncludeTimestamp = true; Name = "World"; } public bool IncludeTimestamp ... 阅读全文
posted @ 2016-06-05 17:47 shiningrise 阅读(191) 评论(0) 推荐(0) 编辑
摘要: namespace Webform.App { public class PageBase : System.Web.UI.Page { } public interface IService : IRepository, IScopeDependency where TEntity : IEntity { } publ... 阅读全文
posted @ 2016-06-05 00:41 shiningrise 阅读(301) 评论(0) 推荐(0) 编辑
摘要: Update-Package -Reinstall Update-Package -reinstall -ProjectName Cardin.HeartCare.Service.ChatService Nuget程序包管理 —》程序包管理控制台,运行以下命令即可:Update-Package Mi 阅读全文
posted @ 2016-06-05 00:38 shiningrise 阅读(401) 评论(0) 推荐(0) 编辑
// 侧边栏目录 // https://blog-static.cnblogs.com/files/douzujun/marvin.nav.my1502.css