.CSHTML ファイル拡張子

ASP.NET Razor Webpage

開発元 Microsoft
人気度
4.1  |  46 
 

CSHTMLファイルとは?

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.

詳細情報

Microsoft Visual Studio Codeで開いた.cshtmlファイルのスクリーンショット
Microsoft Visual Studio Codeで開いたCSHTMLファイル

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.

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

CSHTMLファイルの開き方

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.

File Viewer Plusで400種類以上のファイル形式を開けます。無料ダウンロード

CSHTMLファイルを開く、または参照するプログラム

カテゴリ: ウェブ
更新日: 2021-10-26

検証者 FileInfo.com

FileInfo.comチーム は、このページに掲載されているASP.NET Razor Webpageファイル形式とMac, Windows, and Linuxアプリについて独自に調査しました。 私たちの目標は100%の正確性であり、検証済みのファイルタイプに関する情報のみを公開しています。

このページへの追加や更新をご提案いただける場合は、お知らせください。