asp.net c# mvc training: day-3 of day-9
TRANSCRIPT
AHM Pervej KabirAnalyst Programmer
Cell:+8801757051005 Day-3: 14 September 2017
ASP.Net C#- MVC-5 Training
Introduction
Razor Syntax and Role for C#
How Razor Works
Use of @Sign and working with object
Conditional & Control Statement in Razor
OOP Concept.
What Is Razor?
Razor is not a programming language
It is a server side programming language
Markup Language is a set of Tags
It is a server side programming language
It is embed code server based code (visual basic and C#) into webpage
Razor enable mixing server side code with HTML mark up to generate HTML Response
When a web page is called, server execute the server-based code inside the page befor it return the page to the browser.
Razor is based on asp.net
Razor Syntax
Razor syntax very similar to PHP and classic ASP code
Example Razor in C#
How Does Razor Work When the server read the pages, It run the razor first, finally send the HTML page to the browser.
The code that is execute on the server can perform tasks that cannot be done the browser . Example: Accessing a server database
Razor syntax is based on Asp.net framework on web application development
Use of @Sign
Control Statement in Razor
OOP Concept:
481