SlideShare a Scribd company logo
AHM Pervej Kabir
Analyst Programmer
pervej_kabir@yahoo.com
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
Asp.net c# mvc Training: Day-3 of Day-9
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
Asp.net c# mvc Training: Day-3 of Day-9
Asp.net c# mvc Training: Day-3 of Day-9
Asp.net c# mvc Training: Day-3 of Day-9
 Control Statement in Razor
Asp.net c# mvc Training: Day-3 of Day-9
Asp.net c# mvc Training: Day-3 of Day-9
Asp.net c# mvc Training: Day-3 of Day-9
Asp.net c# mvc Training: Day-3 of Day-9
Asp.net c# mvc Training: Day-3 of Day-9
 OOP Concept:
Asp.net c# mvc Training: Day-3 of Day-9
Asp.net c# mvc Training: Day-3 of Day-9
Asp.net c# mvc Training: Day-3 of Day-9
Asp.net c# mvc Training: Day-3 of Day-9
Asp.net c# mvc Training: Day-3 of Day-9
Asp.net c# mvc Training: Day-3 of Day-9
Asp.net c# mvc Training: Day-3 of Day-9
Asp.net c# mvc Training: Day-3 of Day-9
Asp.net c# mvc Training: Day-3 of Day-9
Asp.net c# mvc Training: Day-3 of Day-9
Asp.net c# mvc Training: Day-3 of Day-9
Asp.net c# mvc Training: Day-3 of Day-9
Asp.net c# mvc Training: Day-3 of Day-9
Asp.net c# mvc Training: Day-3 of Day-9
Asp.net c# mvc Training: Day-3 of Day-9
Asp.net c# mvc Training: Day-3 of Day-9
Asp.net c# mvc Training: Day-3 of Day-9
Asp.net c# mvc Training: Day-3 of Day-9
Asp.net c# mvc Training: Day-3 of Day-9
Asp.net c# mvc Training: Day-3 of Day-9
Asp.net c# mvc Training: Day-3 of Day-9
Asp.net c# mvc Training: Day-3 of Day-9
Asp.net c# mvc Training: Day-3 of Day-9
Asp.net c# mvc Training: Day-3 of Day-9
Asp.net c# mvc Training: Day-3 of Day-9
Asp.net c# mvc Training: Day-3 of Day-9
Asp.net c# mvc Training: Day-3 of Day-9
Asp.net c# mvc Training: Day-3 of Day-9
Asp.net c# mvc Training: Day-3 of Day-9
Asp.net c# mvc Training: Day-3 of Day-9
Asp.net c# mvc Training: Day-3 of Day-9
481

More Related Content

PPTX
Asp.net c# mvc Training Day-4 of Day-9
PPTX
Asp.net c# mvc Training-Day-5 of Day-9
PPTX
Asp.net c# MVC-5 Training-Day-2 of Day-9
PPTX
Asp.net c# MVC-5 Training-Day-1 of Day-9
PPTX
Introduction to meteor
PDF
REPORT ON ASP.NET
PPTX
Introducing Razor - A new view engine for ASP.NET
PPT
Ruby on rails intro
Asp.net c# mvc Training Day-4 of Day-9
Asp.net c# mvc Training-Day-5 of Day-9
Asp.net c# MVC-5 Training-Day-2 of Day-9
Asp.net c# MVC-5 Training-Day-1 of Day-9
Introduction to meteor
REPORT ON ASP.NET
Introducing Razor - A new view engine for ASP.NET
Ruby on rails intro

What's hot (19)

PDF
Generic repository pattern with ASP.NET MVC and Entity Framework
PPTX
Building HTTP APIs with ASP.NET Core
PPTX
ASP.NET Core
PPTX
Evolution / History of ASP.NET
PPT
Rails review
PDF
Combining react with node js to develop successful full stack web applications
PPTX
Web development using asp.net
PDF
GraphQL
PDF
Moving ASP.NET MVC to ASP.NET Core
PDF
GraphQL With Relay Part Deux
PPTX
Aspect oriented programming
PDF
GraphQL
PDF
Matheus Marsiglio - Isomorphic React + Redux App
PPTX
How to double .net code value
PPTX
ASP.NET 5 Overview for Apex Systems
PDF
The Apollo and GraphQL Stack
PPTX
Building Native Android Apps with JavaScript
PPTX
ASP.NET MVC overview
PDF
GraphQL & Relay
Generic repository pattern with ASP.NET MVC and Entity Framework
Building HTTP APIs with ASP.NET Core
ASP.NET Core
Evolution / History of ASP.NET
Rails review
Combining react with node js to develop successful full stack web applications
Web development using asp.net
GraphQL
Moving ASP.NET MVC to ASP.NET Core
GraphQL With Relay Part Deux
Aspect oriented programming
GraphQL
Matheus Marsiglio - Isomorphic React + Redux App
How to double .net code value
ASP.NET 5 Overview for Apex Systems
The Apollo and GraphQL Stack
Building Native Android Apps with JavaScript
ASP.NET MVC overview
GraphQL & Relay
Ad

Viewers also liked (7)

PDF
Como funciona a Internet - Camada de Aplicação
PDF
ASP.NET MVC The Begining
PPTX
Internet x Web
PDF
Introdução ao Aspnet Core
PPSX
Asp.net mvc
PPT
The Internet Presentation
PPTX
Slideshare ppt
Como funciona a Internet - Camada de Aplicação
ASP.NET MVC The Begining
Internet x Web
Introdução ao Aspnet Core
Asp.net mvc
The Internet Presentation
Slideshare ppt
Ad

Similar to Asp.net c# mvc Training: Day-3 of Day-9 (9)

PPTX
Building Websites Using ASP.NET Core Razor Pages
PPS
Razor new view engine asp.net
PPT
DDD Sydney 20111 Razor Session
PPTX
Razor into the Razor'verse
PPTX
Umbraco OktoberFest 2014
PDF
Asp.Net MVC - Razor Syntax
PPTX
MVC & SQL_In_1_Hour
PPTX
PPTX
Asp.Net MVC 5 in Arabic
Building Websites Using ASP.NET Core Razor Pages
Razor new view engine asp.net
DDD Sydney 20111 Razor Session
Razor into the Razor'verse
Umbraco OktoberFest 2014
Asp.Net MVC - Razor Syntax
MVC & SQL_In_1_Hour
Asp.Net MVC 5 in Arabic

More from AHM Pervej Kabir (12)

PPTX
Business Analysis.pptx
PPT
Knowledge share about scalable application architecture
PPT
Software security engineering
PPT
Software security engineering
PPT
Shot note about project management
PPT
PPT
PDF
Data Collection From Field
PDF
Automated Survey Data Received and Sync From Field
PDF
Automated Survey Question Creator Management
PPTX
Presentation
DOC
Reporting about Overview Summery of ISO-27000 Se.(ISMS)
Business Analysis.pptx
Knowledge share about scalable application architecture
Software security engineering
Software security engineering
Shot note about project management
Data Collection From Field
Automated Survey Data Received and Sync From Field
Automated Survey Question Creator Management
Presentation
Reporting about Overview Summery of ISO-27000 Se.(ISMS)

Recently uploaded (20)

PDF
Wondershare Filmora 15 Crack With Activation Key [2025
PDF
Understanding Forklifts - TECH EHS Solution
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 41
PPTX
CHAPTER 12 - CYBER SECURITY AND FUTURE SKILLS (1) (1).pptx
PPTX
VVF-Customer-Presentation2025-Ver1.9.pptx
PDF
System and Network Administraation Chapter 3
PPTX
Operating system designcfffgfgggggggvggggggggg
PDF
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
PDF
Nekopoi APK 2025 free lastest update
PDF
top salesforce developer skills in 2025.pdf
PPTX
L1 - Introduction to python Backend.pptx
PPTX
Transform Your Business with a Software ERP System
PDF
AI in Product Development-omnex systems
PDF
Digital Strategies for Manufacturing Companies
PPTX
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
PPTX
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
PDF
PTS Company Brochure 2025 (1).pdf.......
PDF
Which alternative to Crystal Reports is best for small or large businesses.pdf
PPTX
Online Work Permit System for Fast Permit Processing
Wondershare Filmora 15 Crack With Activation Key [2025
Understanding Forklifts - TECH EHS Solution
Internet Downloader Manager (IDM) Crack 6.42 Build 41
CHAPTER 12 - CYBER SECURITY AND FUTURE SKILLS (1) (1).pptx
VVF-Customer-Presentation2025-Ver1.9.pptx
System and Network Administraation Chapter 3
Operating system designcfffgfgggggggvggggggggg
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
Nekopoi APK 2025 free lastest update
top salesforce developer skills in 2025.pdf
L1 - Introduction to python Backend.pptx
Transform Your Business with a Software ERP System
AI in Product Development-omnex systems
Digital Strategies for Manufacturing Companies
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
PTS Company Brochure 2025 (1).pdf.......
Which alternative to Crystal Reports is best for small or large businesses.pdf
Online Work Permit System for Fast Permit Processing

Asp.net c# mvc Training: Day-3 of Day-9

  • 1. AHM Pervej Kabir Analyst Programmer pervej_kabir@yahoo.com Cell:+8801757051005 Day-3: 14 September 2017 ASP.Net C#- MVC-5 Training
  • 2. Introduction  Razor Syntax and Role for C# How Razor Works Use of @Sign and working with object Conditional & Control Statement in Razor OOP Concept.
  • 3.  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
  • 5. 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
  • 48. 481