Merge branch 'release' into dev

This commit is contained in:
John Luo 2016-04-11 09:56:17 -07:00
commit b5fea604ec
5 changed files with 14 additions and 16 deletions

View File

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

View File

@ -2,11 +2,8 @@
"compilationOptions": {
"emitEntryPoint": true
},
"commands": {
"web": "SessionSample"
},
"dependencies": {
"Microsoft.AspNetCore.IISPlatformHandler": "1.0.0-*",
"Microsoft.AspNetCore.Server.IISIntegration": "1.0.0-*",
"Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*",
"Microsoft.AspNetCore.Session": "1.0.0-*",
"Microsoft.Extensions.Caching.Memory": "1.0.0-*",
@ -15,7 +12,9 @@
"Microsoft.Extensions.Logging.Console": "1.0.0-*",
"Microsoft.NETCore.Platforms": "1.0.1-*"
},
"exclude": "wwwroot/**/*.*",
"content": [
"web.config"
],
"frameworks": {
"net451": { }
}

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=".\SessionSample.exe" arguments="" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" forwardWindowsAuthToken="false" />
</system.webServer>
</configuration>

View File

@ -1 +0,0 @@
Sample demonstrating ASP.NET Core Session middleware.

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>