cshtml Razor Views (or Razor page), mashes the data and markup together, and returns the entire thing to the browser (re-rendering the entire page). Blazor, on the other hand, allows you to create an entire web page using a series of smaller components written in Razor syntax.
What are the differences between .cshtml and .razor?
Alvaro
0
Reputation points
I think I have use them interchangeably at this point and I just want to clarify what is the correct approach (if any) and the recommended usage.
I have identified .cshtml
on WebApp templates while .razor
con BlazorApp projects
Thanks for the help :)
1 answer
Sort by: Most helpful
-
SARAVANA KUMAR GOPALAKRISHNAN 0 Reputation points
2023-10-27T09:17:04.2233333+00:00