ASP.Net MVC Question:
Explain the main function of Razor in ASP.NET?
Answer:
-Razor is a view engine that allows the static HTML or the content to be started with the server and then the content is made dynamic by adding the server code to it.
-Razor is designed to make the process of coding flexible and provide standardization.
-Razor also provides an easy way to integrate the server code into the HTML markup with few keystrokes.
-Razor is used a view engine that is very expressive in writing style. The coding becomes simpler due to the support libraries.
-Razor supports many local functions with other functionalities that help in block reading and writing. It also has pre-defined set of functions that can be used to make the coding more easier.
-Razor is designed to make the process of coding flexible and provide standardization.
-Razor also provides an easy way to integrate the server code into the HTML markup with few keystrokes.
-Razor is used a view engine that is very expressive in writing style. The coding becomes simpler due to the support libraries.
-Razor supports many local functions with other functionalities that help in block reading and writing. It also has pre-defined set of functions that can be used to make the coding more easier.
Previous Question | Next Question |
Explain the function of new view engine in ASP.NET? | What is Razor? |