コード例 #1
0
 // This method gets called by the runtime. Use this method to add services to the container.
 public void ConfigureServices(IServiceCollection services)
 {
     LogApi.AddLog2netService(services, Configuration);
     //   LogORM.LogORMDNC.AddLog2netService(services, Configuration);
     services.AddMvc();
 }
コード例 #2
0
ファイル: Startup.cs プロジェクト: zzti/Log2Net
 // This method gets called by the runtime. Use this method to add services to the container.
 public void ConfigureServices(IServiceCollection services)
 {
     LogApi.AddLog2netService(services, Configuration);
     services.AddSession();
     services.AddMvc();
 }