Skip to content

Commit

Permalink
Add hotReloadProfile to Razor Pages template (#31216)
Browse files Browse the repository at this point in the history
* 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.
  • Loading branch information
pranavkm authored Mar 25, 2021
1 parent 4ce1f2c commit 4f86d11
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
"commandName": "Project",
"dotnetRunMessages": "true",
"launchBrowser": true,
"hotReloadProfile": "blazorwasm",
"inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}",
//#if(RequiresHttps)
"applicationUrl": "https://localhost:5001;http://localhost:5000",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"commandName": "Project",
"dotnetRunMessages": "true",
"launchBrowser": true,
"hotReloadProfile": "aspnetcore",
//#if(RequiresHttps)
"applicationUrl": "https://localhost:5001;http://localhost:5000",
//#else
Expand Down

0 comments on commit 4f86d11

Please sign in to comment.