File tree Expand file tree Collapse file tree
src/AspNetCoreFileUploadFileTable Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- using System ;
2- using System . Collections . Generic ;
3- using System . Linq ;
4- using System . Threading . Tasks ;
5- using AspNet5FileUploadFileTable . Controllers ;
1+ using AspNet5FileUploadFileTable . Controllers ;
62using DataAccess ;
73using Microsoft . AspNetCore . Builder ;
84using Microsoft . AspNetCore . Hosting ;
95using Microsoft . AspNetCore . Mvc ;
106using Microsoft . EntityFrameworkCore ;
117using Microsoft . Extensions . Configuration ;
128using Microsoft . Extensions . DependencyInjection ;
13- using Microsoft . Extensions . Logging ;
149
1510namespace AspNet5FileUploadFileTable
1611{
@@ -53,11 +48,8 @@ public void ConfigureServices(IServiceCollection services)
5348 }
5449
5550 // This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
56- public void Configure ( IApplicationBuilder app , IHostingEnvironment env , ILoggerFactory loggerFactory )
51+ public void Configure ( IApplicationBuilder app , IHostingEnvironment env )
5752 {
58- loggerFactory . AddConsole ( Configuration . GetSection ( "Logging" ) ) ;
59- loggerFactory . AddDebug ( ) ;
60-
6153 if ( env . IsDevelopment ( ) )
6254 {
6355 app . UseDeveloperExceptionPage ( ) ;
Original file line number Diff line number Diff line change 55 -->
66 <system .webServer>
77 <handlers >
8- <add name =" aspNetCore" path =" *" verb =" *" modules =" AspNetCoreModule " resourceType =" Unspecified" />
8+ <add name =" aspNetCore" path =" *" verb =" *" modules =" AspNetCoreModuleV2 " resourceType =" Unspecified" />
99 </handlers >
1010 <aspNetCore processPath =" %LAUNCHER_PATH%" arguments =" %LAUNCHER_ARGS%" stdoutLogEnabled =" false" stdoutLogFile =" .\logs\stdout" forwardWindowsAuthToken =" false" startupTimeLimit =" 3600" requestTimeout =" 23:00:00" >
1111 <environmentVariables />
You can’t perform that action at this time.
0 commit comments