.CSHTML Dateiendung

ASP.NET Razor Webpage

Entwickler Microsoft
Beliebtheit
4.1  |  46 Stimmen
 

Was ist eine CSHTML-Datei?

A CSHTML file is a C# HTML webpage file used by Razor, an ASP.NET view engine that generates webpages. It is similar to a standard ASP.NET webpage (.ASP or .ASPX file) but uses slightly different syntax. CSHTML files run on a web server, which generates HTML for a client web browser.

Weitere Informationen

Screenshot einer .cshtml-Datei in Microsoft Visual Studio Code
CSHTML-Datei geöffnet in Microsoft Visual Studio Code

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

One easy way to recognize a CSHTML file is to look for @ symbols that precede Razor reserved directives and code blocks. CSHTML files use the @ symbol and Razor reserved directives to transition from HTML markup to C# code.

Most CSHTML files are created in Microsoft Visual Studio. Visual Studio provides syntax highlighting and Intellisense code suggestions that help developers create CSHTML files.

HINWEIS: Razor offers additional templating syntax operations besides those supported by the standard ASP.NET MVC default view engine.

So öffnen Sie eine CSHTML-Datei

You can open and edit a CSHTML file in any text or source code editor. Source code editors, such as Microsoft Visual Studio Code (cross-platform) and GitHub Atom (cross-platform), contain helpful features that make reviewing and editing CSHTML files easier.

Über 400 Dateiformate öffnen mit File Viewer Plus.Kostenloser Download

Programme, die .CSHTML-Dateien öffnen oder referenzieren

Linux
Chrome OS
Im Betriebssystem enthalten
Kategorie: Web
Aktualisiert: 2021-10-26

Geprüft von FileInfo.com

Das FileInfo.com-Team hat das Dateiformat ASP.NET Razor Webpage und die auf dieser Seite aufgeführten Mac, Windows, and Linux-Apps unabhängig recherchiert. Unser Ziel ist 100% Genauigkeit, und wir veröffentlichen nur Informationen zu Dateitypen, die wir überprüft haben.

Wenn Sie Ergänzungen oder Aktualisierungen zu dieser Seite vorschlagen möchten, teilen Sie es uns bitte.