(#8) Razor View Engine in Asp.Net MVC | View Engine in MVC 5 | MVC Tutorial for Beginners in.Net C#

(#8) Razor View Engine in Asp.Net MVC | View Engine in MVC 5 | MVC Tutorial for Beginners in.Net C#


Hello friend 🙂
Welcome to Part 8 Today we are going to cover ViewEngine ViewEngine is one of the most important topic in MVC You have to phase ViewEngine in every phase of application To understand ViewEngine you must have knowledge of View If you have not seen my previous video I will recommend you watch that video first regarding View Then only you will be able to understand ViewEngine properly So Lets start 🙂 In this video you will learn – First we will see what exactly view engine is. Then we will see why view engine is required We will learn about Razor We will also cover a lots of thing about Razor. We will learn about Razor syntax We will see
How we can use Razor in our application? Also,
How can we write Razor syntax ? If you have written syntax in Razor. How you will be able comment them? And the most important thing is Escape Sequence We will learn to escape razor syntax So lets understand the view engine This is a simple view We usually write HTML on MVC Also
We can use other programming language as well. for example C# In the previous video we have learnt that –
extension of a view is .cshtml CS means c sharp (C#)
and HTML means pure HTML So on our view we can use other programming language also with HTML You can also use VB as a programming language Suppose this view has some code of HTML and C# When this page gets render on browser Then you can see only pure HTML on the browser there is no C# on the browser Although we have written c# and HTML on our page.
But what exactly happens behind the scene that we see only HTML, no C# This is because of- View page does not gets render directly First it goes to View engine So its view engine job to convert all the programming language to pure HTML This is a simple definition of view engine View engine is basically used to convert all the programming language and HTML code to pure HTML

13 thoughts to “(#8) Razor View Engine in Asp.Net MVC | View Engine in MVC 5 | MVC Tutorial for Beginners in.Net C#”

  1. nice.Plz provide real time complete project hd video with explanation step by step. It will be helpful for new trainee.

  2. Excellent video tutorial to learn MVC for fresher and experienced. Please provide video tutorial for Web API

  3. Excellent Sir can you explain how to work on complete E-commerce website Like Add to cart,Payment gateway,etc Everything Thanks Sir

Leave a Reply

Your email address will not be published. Required fields are marked *