Skip to content

Blazor templates shouldn't contain "inspectUri" #67066

Description

@ilonatommy

Template created in CLI with dotnet new blazor -int Auto. VS instance 18.8.0 Canary [11828.296.main] opened with access to 11.0.0-preview.5.26277.119 dotnet and packages.

Clicking on GUI "https" launch button, the app doesn't start, dialog appears:

Image

Can be fixed with removing "inspectUri" from lanunchSettings.json for the chosen profile:

      "https": {
        "commandName": "Project",
        "dotnetRunMessages": true,
        "launchBrowser": true,
        //"inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}",
        "applicationUrl": "https://localhost:7296;http://localhost:5297",
        "environmentVariables": {
          "ASPNETCORE_ENVIRONMENT": "Development"
        }

Action:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area-blazorIncludes: Blazor, Razor Components

Type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions