Blazor Render Modes
摘要
Blazor with .NET 8 introduces something brand new: render modes. This allows you to build Blazor websites, ranging from completely static websites (just like ASP.NET Core MVC), interactive websites running on the server, and interactive websites running completely in the browser (just like Angular and React)! You can even mix modes, using server-side rendering for pages that only need to display information, and use interactive pages running on the server or browser. There is also a new Blazor project type, the Blazor Web App, which allows you to build any of these using the same project. The older project types are still supported, but I do recommend the new project type for new websites.