title: How to set contenttype in razor (CSHTML)?
body: <p>In classic ASP.NET Web Forms view engine, we can set the ContentType in the .aspx page to the desired type.</p>
  
  <p>Is there a direct/recommended equivalent in Razor?</p>