Merge branch 'release' into dev

This commit is contained in:
John Luo 2016-04-11 10:03:08 -07:00
commit dfca01d2b7
4 changed files with 17 additions and 16 deletions

View File

@ -31,7 +31,7 @@ namespace StaticFilesSample
var host = new WebHostBuilder()
.UseDefaultHostingConfiguration(args)
.UseKestrel()
.UseIISPlatformHandlerUrl()
.UseIISIntegration()
.UseStartup<Startup>()
.Build();

View File

@ -2,25 +2,26 @@
"compilationOptions": {
"emitEntryPoint": true
},
"commands": {
"web": "StaticFileSample"
},
"dependencies": {
"Microsoft.AspNetCore.IISPlatformHandler": "1.0.0-*",
"Microsoft.AspNetCore.Server.IISIntegration": "1.0.0-*",
"Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*",
"Microsoft.AspNetCore.StaticFiles": "1.0.0-*",
"Microsoft.Extensions.Logging.Console": "1.0.0-*",
"Microsoft.NETCore.Platforms": "1.0.1-*"
},
"frameworks": {
"dnx451": {},
"net451": {},
"netstandardapp1.5": {
"dependencies": {
"NETStandard.Library": "1.5.0-*"
},
"imports": [
"dnxcore50"
]
}
},
"content": [
"wwwroot/**/*"
"wwwroot",
"web.config"
]
}

View File

@ -0,0 +1,9 @@
<?xml version="1.0"?>
<configuration>
<system.webServer>
<handlers>
<add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModule" resourceType="Unspecified" />
</handlers>
<aspNetCore processPath=".\StaticFileSample.exe" arguments="" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" forwardWindowsAuthToken="false" />
</system.webServer>
</configuration>

View File

@ -1,9 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<system.webServer>
<handlers>
<add name="httpPlatformHandler" path="*" verb="*" modules="httpPlatformHandler" resourceType="Unspecified" />
</handlers>
<httpPlatform processPath="%DNX_PATH%" arguments="%DNX_ARGS%" forwardWindowsAuthToken="false" startupTimeLimit="3600" />
</system.webServer>
</configuration>