C# Corner
Tech
News
Videos
Forums
Jobs
Books
Events
More
Interviews
Live
Learn
Training
Career
Members
Blogs
Challenges
Certification
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Refer
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
.NET
ADO.NET
Android
ASP.NET
C#
Databases & DBA
Design Patterns & Practices
iOS
Java
OOP/OOD
SharePoint
Software Testing
Web Development
WPF
View All
20
Reply
What is Razor?
Sandeep Kumar
10y
3.7k
0
Reply
Delete Row
Delete Column
Insert Link
×
Insert
Cancel
Embed YouTube Video
×
Width (%)
Height (%)
Insert
Cancel
Table Options
×
Rows
Columns
First row as header
Create Table
Insert Image
×
Selected file:
Alignment
Left
Center
Right
Select an image from your device to upload
Upload to Server
Cancel
Submit
By default, Asp.net MVC support two types of View Engine. Web Form(ASPX) and Razor(.cshtml/.vbhtml) .View Engine is responsible for rendering the view into html form.Razor was introduced with MVC3.It belongs to System.Web.Razor namespace and has '.cshtml' or '.vbhtml' extensions for views,partial views.In Razor '@' is used to switch between code and html.
Rajeev Punhani
10y
2
Razor is based on ASP.NET, and designed for creating web applications. It has the power of traditional ASP.NET markup, it is not a programming language. It's a server side markup language.
Mani Rana
10y
1
Razor is not a programming language but it is server side dynamic language.Razor is a syntax which use for embed server side code in asp .net
Sandeep Kumar
10y
1
Razor is the view engine which is used to render the ui in MVC
Manoj Kumar
8y
0
Razor is not a new programming language itself, but uses C# syntax for embedding code in a page without the ASP.NET delimiters: <%= %>. It is a simple-syntax view engine and was released as part of ASP.NET MVC 3. The Razor file extension is "cshtml" for the C# language
Munesh Sharma
9y
0
Razor is based on ASP.NET, and designed for creating web applications. It has the power of traditional ASP.NET markup, but it is easier to use, and easier to learn.
Keerthi Venkatesan
9y
0
Razor takes the responsibility for rendering the view content to html format.
Mahesh Gawhane
10y
0
Razor is a view engine, which is used in ASP.Net MVC. Razor is a syntax rather than a language. Razor introduced with ASP.Net MVC 3.
Francis
10y
0
A view engine which is lighter and faster
Praveen Dhatrika
10y
0
Razor takes the responsibility for rendering the view content to html format.
Srikanth Reddy
10y
0
In an html5 project we use normal code or as we say html5 syntax to provide a view to the user. Instead of html5 or any other version of html in ASP.NET MVC we use Razor. Simply we can say that Razor is a view engine. By using it we write less and more secure code.
Ervis Trupja
10y
0
Razor is a view Engine in MVC .Net
Shailesh Uke
10y
0
In MVC framework there is a VIEW(PL) stored by a view directory, and view engine responsible for render of page or data or both to browser as a response.A view engine consist of several programming syntax of technology as "Aspx","Razor",Etc. Razor is an asp.net programming syntax to create dynamic web pages without using asp.net delimiters <%=%>.It is a simple syntax view engine. The razor file extension is (.cshtml) for C# language and for VB is (.vbhtml)
Ravi Shekhar Vishwakarma
10y
0
Razor is an ASP.NET Programming syntax used to create dynamic web pages with the c# or VB.NET programming languages.
Krishnaveni D
10y
0
Razor is an ASP.NET programming syntax used to create dynamic web pages with the C# or Visual Basic .NET programming languages. Razor was in development in June 2010 and was released for Microsoft Visual Studio 2010 in January 2011.
Manoj Bhoir
10y
0
Razor is not a new programming language itself, but uses C# syntax for embedding code in a page without the ASP.NET delimiters: <%= %> . It is a simple-syntax view engine and was released as part of ASP.NET MVC 3. The Razor file extension is "cshtml" for the C# language.
Kml Surani
10y
0
is a Latest View engine
Shailesh Uke
10y
0
Razor is a markup syntax that lets you embed server-based code into web pages.
Nirav Vasoya
10y
0
a view engine
Debendra Dash
10y
0
http://www.w3schools.com/aspnet/webpages_razor.asp
Munesh Sharma
10y
0
What is syntax for implementing Query string in ASP .NET?
What is the type of Cookie?
Message