This repository was archived by the owner on Nov 22, 2018. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +17
-16
lines changed Expand file tree Collapse file tree 4 files changed +17
-16
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ public static void Main(string[] args)
31
31
var host = new WebHostBuilder ( )
32
32
. UseDefaultHostingConfiguration ( args )
33
33
. UseKestrel ( )
34
- . UseIISPlatformHandlerUrl ( )
34
+ . UseIISIntegration ( )
35
35
. UseStartup < Startup > ( )
36
36
. Build ( ) ;
37
37
Original file line number Diff line number Diff line change 2
2
"compilationOptions" : {
3
3
"emitEntryPoint" : true
4
4
},
5
- "commands" : {
6
- "web" : " StaticFileSample"
7
- },
8
5
"dependencies" : {
9
- "Microsoft.AspNetCore.IISPlatformHandler " : " 1.0.0-*" ,
6
+ "Microsoft.AspNetCore.Server.IISIntegration " : " 1.0.0-*" ,
10
7
"Microsoft.AspNetCore.Server.Kestrel" : " 1.0.0-*" ,
11
8
"Microsoft.AspNetCore.StaticFiles" : " 1.0.0-*" ,
12
9
"Microsoft.Extensions.Logging.Console" : " 1.0.0-*" ,
13
10
"Microsoft.NETCore.Platforms" : " 1.0.1-*"
14
11
},
15
12
"frameworks" : {
16
- "dnx451 " : {},
13
+ "net451 " : {},
17
14
"netstandardapp1.5" : {
15
+ "dependencies" : {
16
+ "NETStandard.Library" : " 1.5.0-*"
17
+ },
18
18
"imports" : [
19
19
" dnxcore50"
20
20
]
21
21
}
22
22
},
23
23
"content" : [
24
- " wwwroot/**/*"
24
+ " wwwroot" ,
25
+ " web.config"
25
26
]
26
27
}
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" ?>
2
+ <configuration >
3
+ <system .webServer>
4
+ <handlers >
5
+ <add name =" aspNetCore" path =" *" verb =" *" modules =" AspNetCoreModule" resourceType =" Unspecified" />
6
+ </handlers >
7
+ <aspNetCore processPath =" .\StaticFileSample.exe" arguments =" " stdoutLogEnabled =" false" stdoutLogFile =" .\logs\stdout" forwardWindowsAuthToken =" false" />
8
+ </system .webServer>
9
+ </configuration >
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments