20
Reply

What is Razor?

Sandeep Kumar

Sandeep Kumar

9y
3.7k
0
Reply

    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.

    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.

    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

    Razor is the view engine which is used to render the ui in MVC

    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

    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.

    Razor takes the responsibility for rendering the view content to html format.

    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.

    A view engine which is lighter and faster

    Razor takes the responsibility for rendering the view content to html format.

    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.

    Razor is a view Engine in MVC .Net

    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)

    Razor is an ASP.NET Programming syntax used to create dynamic web pages with the c# or VB.NET programming languages.

    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.

    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.

    is a Latest View engine

    Razor is a markup syntax that lets you embed server-based code into web pages.

    a view engine

    http://www.w3schools.com/aspnet/webpages_razor.asp