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:
Mike Harder 2018-04-18 10:21:02 -07:00 committed by GitHub
parent 65b1ea45aa
commit 7afa5edc34
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -109,7 +109,6 @@ namespace ApplicationInsightsJavaScriptSnippetTest
var deploymentParameters = new DeploymentParameters(GetApplicationPath(), ServerType.Kestrel,
RuntimeFlavor.CoreClr, RuntimeArchitecture.x64)
{
ApplicationBaseUriHint = "http://localhost:0",
PublishApplicationBeforeDeployment = true,
PreservePublishedApplicationForDebugging = PreservePublishedApplicationForDebugging,
TargetFramework = "netcoreapp2.0",