Skip to content

前端切换成blazor #27

@niltor

Description

@niltor

切换到blazor的优势

  • 不需要再引入nodejs及angular相关技术栈,全部使用.NET和C#,在一定程序上会提高开发效率
  • 可以使用微软官方的fluentui-blazor组件,更具有标识度(如像.NET Aspire dashboard,微软.NET生态)
  • 使用blazor server模式,不再需要http接口调用,不需要前后端联调

切换blazor需要考虑的问题

  • 如果blazor 使用纯client,初次加载速度会比较慢,影响使用体验
  • 如果blazor 不使用纯client,如使用server,那么现有的api项目扮演什么角色

方案

  • 将现有的ASP.NET Core API 项目添加Blazor 支持,充当Blazor Server的角色
  • 使用fluentui-blazor作为UI控件

任务

Metadata

Metadata

Assignees

Labels

planplan or change plan

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions