上一页 1 2 3 4 5 6 7 ··· 14 下一页
摘要: Dependency Injection ------------------------------------------------------------------------ ASP.NET services can be configured with the following lifetimes: Transient Transient lifetime services a... 阅读全文
posted @ 2016-05-16 14:19 自然去留 阅读(302) 评论(0) 推荐(0)
摘要: Configuration var builder = new ConfigurationBuilder(); builder.AddInMemoryCollection(); var config = builder.Build(); config["somekey"] = "somevalue"; // do some other work var setting = config["... 阅读全文
posted @ 2016-05-15 13:50 自然去留 阅读(302) 评论(0) 推荐(0)
摘要: Logging --------------------------------------------------------------------------------------- Implementing Logging in your Application var logger = loggerFactory.CreateLogger("Catchall Endpoint");... 阅读全文
posted @ 2016-05-14 14:02 自然去留 阅读(502) 评论(0) 推荐(0)
摘要: Globalization and localization **************************************************************************************************** using Microsoft.AspNet.Localization; using Microsoft.AspNet.Mvc.Loc... 阅读全文
posted @ 2016-05-12 11:41 自然去留 阅读(870) 评论(0) 推荐(1)
摘要: Error Handling public void Configure(IApplicationBuilder app, IHostingEnvironment env) { app.UseIISPlatformHandler(); if (env.IsDevelopment()) { app.UseDeveloperExceptionPa... 阅读全文
posted @ 2016-05-07 11:23 自然去留 阅读(302) 评论(0) 推荐(0)
摘要: Route ------------------------------------------constraint---------------------------------------------------- routes.MapRoute( name: "default", template: "{controller=Home}/{action=Index}/{i... 阅读全文
posted @ 2016-05-05 11:09 自然去留 阅读(634) 评论(0) 推荐(0)
摘要: 1 var TimeLine = function (_id) { 2 this.id = _id; 3 this._top = 40; 4 this.vHeight = 40; 5 this.global_top = 40; 6 this.line_height = 4; 7 this.radius = 6; 8 ... 阅读全文
posted @ 2016-04-29 09:53 自然去留 阅读(453) 评论(0) 推荐(0)
摘要: Application Startup Startup Constructor - IHostingEnvironment - ILoggerFactory ConfigureServices - IServiceCollection Configure - IApplicationBuilder - IHostingEnvironment - ILoggerFactory ------... 阅读全文
posted @ 2016-04-06 10:50 自然去留 阅读(1084) 评论(0) 推荐(0)
摘要: 1 USE [master] 2 GO 3 /****** Object: StoredProcedure [dbo].[uspGetDepends] Script Date: 05/12/2016 14:11:36 ******/ 4 SET ANSI_NULLS ON 5 GO 6 SET QUOTED_IDENTIFIER ON 7 GO 8 ALTER proc ... 阅读全文
posted @ 2016-03-12 14:13 自然去留 阅读(636) 评论(0) 推荐(0)
摘要: 1 USE [master] 2 GO 3 /****** Object: StoredProcedure [dbo].[sp_who_lock] Script Date: 05/12/2016 14:13:46 ******/ 4 SET ANSI_NULLS ON 5 GO 6 SET QUOTED_IDENTIFIER ON 7 GO 8 9 10 ALTER... 阅读全文
posted @ 2016-03-05 14:15 自然去留 阅读(324) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 ··· 14 下一页