示例#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();
 }