错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Blazor Render Modes

  • Peter Himschoot

摘要

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.