Skip to content

Commit 4f86d11

Browse files
authored
Add hotReloadProfile to Razor Pages template (#31216)
* Add hotReloadProfile to Razor Pages template * Turn off hotReloadProfile for Blazor WebAssembly projects The WebAssembly experience is a bit problematic in preview3 because of runtime issues dotnet/runtime#50190. We'll turn it off in the templates by default to avoid giving a confusing experience out of the box.
1 parent 4ce1f2c commit 4f86d11

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

src/ProjectTemplates/Web.ProjectTemplates/content/ComponentsWebAssembly-CSharp/Client/Properties/launchSettings.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
"commandName": "Project",
3030
"dotnetRunMessages": "true",
3131
"launchBrowser": true,
32-
"hotReloadProfile": "blazorwasm",
3332
"inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}",
3433
//#if(RequiresHttps)
3534
"applicationUrl": "https://localhost:5001;http://localhost:5000",

src/ProjectTemplates/Web.ProjectTemplates/content/RazorPagesWeb-CSharp/Properties/launchSettings.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
"commandName": "Project",
3434
"dotnetRunMessages": "true",
3535
"launchBrowser": true,
36+
"hotReloadProfile": "aspnetcore",
3637
//#if(RequiresHttps)
3738
"applicationUrl": "https://localhost:5001;http://localhost:5000",
3839
//#else

0 commit comments

Comments
 (0)