Merge branch 'release' into dev

This commit is contained in:
John Luo 2016-04-11 09:58:29 -07:00
commit da08d2d9e2
4 changed files with 18 additions and 15 deletions

View File

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

View File

@ -2,21 +2,24 @@
"compilationOptions": {
"emitEntryPoint": true
},
"commands": {
"web": "CorsMiddlewareWebSite"
},
"dependencies": {
"Microsoft.AspNetCore.Cors": "1.0.0-*",
"Microsoft.AspNetCore.IISPlatformHandler": "1.0.0-*",
"Microsoft.AspNetCore.Server.IISIntegration": "1.0.0-*",
"Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*",
"Microsoft.NETCore.Platforms": "1.0.1-*"
},
"frameworks": {
"net451": {},
"netstandardapp1.5": {
"dependencies": {
"NETStandard.Library": "1.5.0-*"
},
"imports": [
"dnxcore50"
]
}
}
},
"content": [
"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=".\CorsMiddlewareWebSite.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%" stdoutLogEnabled="false" startupTimeLimit="3600"/>
</system.webServer>
</configuration>