Remove IIS references to avoid circular dependency.
This commit is contained in:
parent
a42e846ea9
commit
3ffe4b5924
|
|
@ -12,13 +12,13 @@
|
||||||
"commandName": "IISExpress",
|
"commandName": "IISExpress",
|
||||||
"launchBrowser": true,
|
"launchBrowser": true,
|
||||||
"environmentVariables": {
|
"environmentVariables": {
|
||||||
"ASPNET_ENVIRONMENT": "Development"
|
"ASPNETCORE_ENVIRONMENT": "Development"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"web": {
|
"web": {
|
||||||
"commandName": "web",
|
"commandName": "web",
|
||||||
"environmentVariables": {
|
"environmentVariables": {
|
||||||
"ASPNET_ENVIRONMENT": "Development"
|
"ASPNETCORE_ENVIRONMENT": "Development"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -35,7 +35,7 @@ namespace HttpOverridesSample
|
||||||
var host = new WebHostBuilder()
|
var host = new WebHostBuilder()
|
||||||
.UseDefaultConfiguration(args)
|
.UseDefaultConfiguration(args)
|
||||||
.UseServer("Microsoft.AspNetCore.Server.Kestrel")
|
.UseServer("Microsoft.AspNetCore.Server.Kestrel")
|
||||||
.UseIISPlatformHandlerUrl()
|
// .UseIIS() // This repo can no longer reference IIS because IISIntegration depends on it.
|
||||||
.UseStartup<Startup>()
|
.UseStartup<Startup>()
|
||||||
.Build();
|
.Build();
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,6 @@
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Microsoft.AspNetCore.HttpOverrides": "1.0.0-*",
|
"Microsoft.AspNetCore.HttpOverrides": "1.0.0-*",
|
||||||
"Microsoft.AspNetCore.IISPlatformHandler": "1.0.0-*",
|
|
||||||
"Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*",
|
"Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*",
|
||||||
"Microsoft.NETCore.Platforms": "1.0.1-*"
|
"Microsoft.NETCore.Platforms": "1.0.1-*"
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -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>
|
|
||||||
|
|
@ -40,7 +40,7 @@ namespace ResponseBufferingSample
|
||||||
var host = new WebHostBuilder()
|
var host = new WebHostBuilder()
|
||||||
.UseDefaultConfiguration(args)
|
.UseDefaultConfiguration(args)
|
||||||
.UseServer("Microsoft.AspNetCore.Server.Kestrel")
|
.UseServer("Microsoft.AspNetCore.Server.Kestrel")
|
||||||
.UseIISPlatformHandlerUrl()
|
// .UseIIS() // This repo can no longer reference IIS because IISIntegration depends on it.
|
||||||
.UseStartup<Startup>()
|
.UseStartup<Startup>()
|
||||||
.Build();
|
.Build();
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,6 @@
|
||||||
"version": "1.0.0-*",
|
"version": "1.0.0-*",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Microsoft.AspNetCore.Buffering": "0.1.0-*",
|
"Microsoft.AspNetCore.Buffering": "0.1.0-*",
|
||||||
"Microsoft.AspNetCore.IISPlatformHandler": "1.0.0-*",
|
|
||||||
"Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*",
|
"Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*",
|
||||||
"Microsoft.NETCore.Platforms": "1.0.1-*"
|
"Microsoft.NETCore.Platforms": "1.0.1-*"
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -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>
|
|
||||||
Loading…
Reference in New Issue