Home : File Types : CSHTML File

.CSHTML File Extension

File TypeASP.NET Razor Webpage

DeveloperMicrosoft
Popularity
4.1 (34 Votes)
CategoryWeb Files
FormatText

What is a CSHTML file?

A CSHTML file is a C# ("C sharp") HTML webpage file used by Razor, an ASP.NET view engine used for generating webpages for a user's web browser. It is similar to a standard ASP.NET webpage (.ASP or .ASPX file) but uses a slightly different syntax. CSTML files run on a web server, which generates the HTML for the client web browser, and they can be programmed with syntax highlighting and Intellisense code suggestions using Microsoft Visual Studio.

More Information

CSHTML files are similar to .VBHTML (Visual Basic HTML) files, but they use syntax that is closer to the C# language rather than the Visual Basic language.

NOTE: Razor offers new templating syntax operations in addition to those supported by the standard ASP.NET MVC default view engine.

FREE DOWNLOAD
Open over 300 file formats with File Viewer Plus.

Programs that open CSHTML files

Updated 1/11/2021

About CSHTML Files

Our goal is to help you understand what a file with a *.cshtml suffix is and how to open it.

The ASP.NET Razor Webpage file type, file format description, and Windows programs listed on this page have been individually researched and verified by the FileInfo team. We strive for 100% accuracy and only publish information about file formats that we have tested and validated.

If you would like to suggest any additions or updates to this page, please let us know.