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

Components and Structure for Blazor Applications

  • Peter Himschoot

摘要

In modern web development, we build applications by constructing them from components, which typically are again built from smaller components. A Blazor component is a self-contained chunk of user interface. Blazor components are classes built from Razor and C# with one specific purpose (also known as Single Responsibility Principle) and are easier to understand, debug, and maintain. And of course, you can re-use the same component in different pages, which can be a huge advantage.