Which file extension is commonly associated with Razor views?

  • .cshtml
  • .html
  • .aspx
  • .php
Razor views in ASP.NET Core typically have the ".cshtml" file extension. This extension signifies that the view contains both HTML markup and C# code, making it easy to create dynamic web pages that can interact with server-side data and logic.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *