RAZOR VIEW VS ASPX VIEW ENGINE | DIFFERENCE | PERFORMANCE

DIFFERENCE BETWEEN ASP.NET VIEW ENGINE AND RAZOR VIEW ENGINE Razor View Engine :: 1.Razor Engine is a newly launched advance view engin...

DIFFERENCE BETWEEN ASP.NET VIEW ENGINE AND RAZOR VIEW ENGINE

Razor View Engine ::
1.Razor Engine is a newly launched advance view engine that was introduced with MVC3.
2.Razor view engine File extension for C# is .cshtml
3.Razor view engine File extension for VB is .vbhtml
4.Razor view engine syntax is easy to learn than Web Form Engine syntax.
5.In Razor view syntax we use @ Symbol before any tag
6.For comment we can use @*.....*@
7.We need not to enclosed the code block/tag between @. Ex-
8.Razor version has only three transition characters (@)
9.Namspace for Razor is System.Web.Razor
10.Razor is littel bit slower than aspx view engine

Aspx View Engine::
1.Aspx view Engine is the default view engine for the Asp.net MVC that is included with Asp.net from the beginning.
2.In Web form(aspx view) engine it .aspx
3.It is .aspx in web form engine, (Same in both VB and C#)
4.Not easy as Razor view engine syntax
5.In aspx view Engine we use <% and %> 
6.For comment we can use /*...*/ (C#)
7.We need to enclosed the code block/tag between <% and %>
8.Aspx version has 21 transition characters (the <% and %>)
9.Namspace for Web form is System.Web.Mvc.WebFormViewEngine
10.Aspx view engine is littel bit faster than Razor view engine

Related

RAZOR VIEW ENGINE 678718550061847290

Post a comment

emo-but-icon

Follow Us

Recent

Comments

Donate

Side Ads

Text Widget

Connect Us

Sql Server 2017 Interview Questions
Sql Server Basic Interview Query Set-1
Sql Server Basic Interview Query Set-2
Sql Server Date-Time Interview Query SET-3
Sql Server Salary Interview Query SET-4
Sql Server Group By Interview Query SET-5
Sql Server Join Interview Query SET-6
Sql Server Tricky Join Interview Query SET-7
Sql Server DDL Interview Query SET-8
Small but very Tricky Sql Server Query SET-9
Very Much Tricky Query (not 4 fresher)SET-10
Sql Server Complex Interview Query SET-11
Sql Server Datatype Interview Questions
Sql Server View Interview Questions
Sql Server Index Interview Questions
TCS Tricky Sql Interview Queries
HCL Sql Interview Queries
Sql Server SP Interview Questions
Sql Server Trigger Interview Questions
Sql Server Temp Table Interview Questions
Sql Server 2016 Interview Questions
Sql Server Performance Tuning Interview Q.
Sql Server Constraints Interview Questions
Sql Server Storage/Size Interview Questions
Sql Server Very Basic Interview Questions
Sql Server Quiz for Fresher
Sql Server Icon Quiz for All
Sql Server 300+ Theoretical Interview Questions
Sql Server Complete Set

ASP.NET AND JQUERY INTERVIEW QUESTION
ASP.NET: Web Config Interview Question
ASP.NET: View State Interview Question
ASP.NET: Session Interview Question
ASP.NET: Session Interview Question 
ASP.NET: Security Interview Question
ASP.NET: Catching Interview Question
C# OOPS Interview Question
MORE Interview Question
JQUERY: Interview Question Set-1
JQUERY: Interview Question Set-2
JAVA-SCRIPT: Interview Question Set-1
JAVA-SCRIPT: Interview Question Set-2
ASP.NET MVC: Interview Question Set-1

POPULAR POSTS
10 MOST DIFFICULT INTERVIEW QUESTIONS
5 BEST INTERVIEW TIPS
YOUR 10 MISTAKE DURING INTERVIEW
2016 TOP 20 GROUP DISCUSSION TOPICS
HOW SQL PERFORMANCE AFFECTED BY DATATYPE
item