C
C#9mo ago
wwww

✅ Blazor or Razor pages

Hi chat, in my roadmap, i have razor pages after Asp.net core mvc, but i see lot of ppl talks about blazor and never seen someone was asking question about razor pages, what is blazor? (very shortyly) and is it better to replace razor pages with blazor, or jsut spend more time and learn both of them?
3 Replies
Iron
Iron9mo ago
I use Blazor but Blazor is basically razor syntax, however Blazor is built on components which i find very useful. But both are very similar. If you know razor pages you will know Blazor
Hercules
Hercules9mo ago
Blazor is built on Razor. working with blazor you'll be writing in razor syntax. 🙂 Razor: syntax for creating dynamic web pages in ASP.NET. Used for server-side rendering of web pages. Embeds C# code into HTML templates. Primarily used with ASP.NET MVC and Razor Pages. Blazor: is a web framework for building interactive web applications. Supports both server-side (Blazor Server) and client-side (Blazor WebAssembly) hosting models. Uses Razor syntax for defining components and UI. Enables building Single Page Applications (SPAs). All in one, Razor is primarily for server-side web page rendering, while Blazor is a full-fledged web application framework that can be used both on the server and in the client's web browser, enabling dynamic and interactive web applications.
Tarkacode
Tarkacode9mo ago
I don't see the point to learn both razor pages and MVC It is really very similar in my opinion I think you should better learn Blazor after MVC It will teach you the component SPA style I re used my Blazor skills to start learning Angular, my blazor XP really helped there I agree with the first comment, I didn't see it 😅 my bad
Want results from more Discord servers?
Add your server
More Posts