public Startup(IConfiguration configuration) { // HttpServer ヘルパーの初期化 StartupHelper = new HttpServerStartupHelper(configuration); // AspNetLib の初期化: 必要な機能のみ ON にすること AspNetLib = new AspNetLib(configuration, AspNetLibFeatures.EasyCookieAuth | AspNetLibFeatures.LogBrowser); // 設定データへの参照の保存 Configuration = configuration; }
public void Configure(HttpServerStartupHelper helper, IApplicationBuilder app, IWebHostEnvironment env) { // Embedded resource of the assembly helper.AddStaticFileProvider(AspNetResFs.CreateEmbeddedAndPhysicalFileProviders("/")); }
public void ConfigureServices(HttpServerStartupHelper helper, IServiceCollection services) { }