File tree 1 file changed +4
-8
lines changed
src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Templates
1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change 58
58
<section class =" section-card" >
59
59
<div class =" section-card-txt" >
60
60
<BitText Typography =" BitTypography.H5" Gutter >Blazor Mode Selection</BitText >
61
- To choose between Blazor modes, refer to the Client.Web/appsettings.json file. By default, for development it
62
- is Blazor Server and for Production it is Blazor Auto (appsettings.Production.json).
63
- <br />
64
- Blazor Auto is selected for production to optimize the user experience. On the first visit, the website will load quickly
65
- in Blazor Server mode, while Blazor WebAssembly files are downloaded in the background. Subsequent visits will utilize Blazor
66
- WebAssembly, enhancing performance.
61
+ To choose between Blazor modes, refer to the server project's appsettings.json file. By default, for development it
62
+ is Blazor Server.
67
63
<CodeBox >"WebAppRender": {
68
- " PrerenderEnabled " : false ,
69
- " BlazorMode " : " BlazorServer" // BlazorServer , BlazorWebAssembly, BlazorAuto
64
+ " BlazorMode " : " BlazorServer " ,
65
+ " BlazorMode_Comment " : " BlazorServer, BlazorWebAssembly and BlazorAuto. "
70
66
} </CodeBox >
71
67
<BitText Typography =" BitTypography.H5" Gutter >Debugging in Blazor WebAssembly</BitText >
72
68
To debug the project in Blazor WebAssembly mode, change the Current value to BlazorWebAssembly for development. To fully
You can’t perform that action at this time.
0 commit comments