Skip to content

Commit 6342a81

Browse files
authored
Update launchSettings.json for BlazorWASM (#19136)
* Update launchSettings.json for BlazorWASM * Remove the `useWebAssemblyDebugging` setting as its no longer needed
1 parent ffc7279 commit 6342a81

File tree

1 file changed

+41
-2
lines changed
  • src/ProjectTemplates/ComponentsWebAssembly.ProjectTemplates/content/ComponentsWebAssembly-CSharp/Client/Properties

1 file changed

+41
-2
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,42 @@
11
{
2-
"useWebAssemblyDebugging": true
3-
}
2+
"iisSettings": {
3+
//#if (WindowsAuth)
4+
"windowsAuthentication": true,
5+
"anonymousAuthentication": false,
6+
//#else
7+
"windowsAuthentication": false,
8+
"anonymousAuthentication": true,
9+
//#endif
10+
"iisExpress": {
11+
"applicationUrl": "http://localhost:8080",
12+
//#if(RequiresHttps)
13+
"sslPort": 44300
14+
//#else
15+
"sslPort": 0
16+
//#endif
17+
}
18+
},
19+
"profiles": {
20+
"IIS Express": {
21+
"commandName": "IISExpress",
22+
"launchBrowser": true,
23+
"inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}",
24+
"environmentVariables": {
25+
"ASPNETCORE_ENVIRONMENT": "Development"
26+
}
27+
},
28+
"ComponentsWebAssembly-CSharp": {
29+
"commandName": "Project",
30+
"launchBrowser": true,
31+
"inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}",
32+
//#if(RequiresHttps)
33+
"applicationUrl": "https://localhost:5001;http://localhost:5000",
34+
//#else
35+
"applicationUrl": "http://localhost:5000",
36+
//#endif
37+
"environmentVariables": {
38+
"ASPNETCORE_ENVIRONMENT": "Development"
39+
}
40+
}
41+
}
42+
}

0 commit comments

Comments
 (0)