What is the difference between Blazor and Razor?

  • Razor is a templating engine that combines C# with HTML to build dynamic web content.
  • Blazor is a component-based, single-page app framework for building client-side web apps using .NET that works well with all modern browsers via WebAssembly for client-side Blazor. Server-side Blazor ASP.NET Core app runs on server and makes use of SignalR connection to communicate with the client (browser). It works with all modern browsers. In other words, Blazor is a hosting model for Razor components.
posted @ 2021-04-20 10:33  Javi  阅读(75)  评论(0编辑  收藏  举报