title: What is the difference between "razor" and "cshtml" files?
body: <p>What is the difference between &quot;razor&quot; and &quot;cshtml&quot; files in ASP.NET. Should we use &quot;.razor&quot; file in &quot;razor-components&quot; application instead of &quot;.cshtml&quot;?</p>