Remove unnecessary ApplicationBaseUriHint (#185)
- Allows ApplicationDeployer to directly bind to dynamic port 0, which is more reliable than GetNextPort() which is required when ApplicationBaseUriHint is set. - Addresses https://github.com/aspnet/AzureIntegration/issues/184
This commit is contained in:
parent
65b1ea45aa
commit
7afa5edc34
|
|
@ -109,7 +109,6 @@ namespace ApplicationInsightsJavaScriptSnippetTest
|
||||||
var deploymentParameters = new DeploymentParameters(GetApplicationPath(), ServerType.Kestrel,
|
var deploymentParameters = new DeploymentParameters(GetApplicationPath(), ServerType.Kestrel,
|
||||||
RuntimeFlavor.CoreClr, RuntimeArchitecture.x64)
|
RuntimeFlavor.CoreClr, RuntimeArchitecture.x64)
|
||||||
{
|
{
|
||||||
ApplicationBaseUriHint = "http://localhost:0",
|
|
||||||
PublishApplicationBeforeDeployment = true,
|
PublishApplicationBeforeDeployment = true,
|
||||||
PreservePublishedApplicationForDebugging = PreservePublishedApplicationForDebugging,
|
PreservePublishedApplicationForDebugging = PreservePublishedApplicationForDebugging,
|
||||||
TargetFramework = "netcoreapp2.0",
|
TargetFramework = "netcoreapp2.0",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue