.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% 정확성이며, 검증한 파일 유형에 대한 정보만 게시합니다.

이 페이지에 추가하거나 업데이트할 내용을 제안하고 싶으시면 알려 주세요.