Diese Präsentation wurde erfolgreich gemeldet.
Wir verwenden Ihre LinkedIn Profilangaben und Informationen zu Ihren Aktivitäten, um Anzeigen zu personalisieren und Ihnen relevantere Inhalte anzuzeigen. Sie können Ihre Anzeigeneinstellungen jederzeit ändern.

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

427 Aufrufe

Veröffentlicht am

Razor Syntax and Role for C#
How Razor Works
Use of @Sign and working with object
Conditional & Control Statement in Razor
OOP Concept.

Veröffentlicht in: Software
  • Loggen Sie sich ein, um Kommentare anzuzeigen.

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

  1. 1. AHM Pervej Kabir Analyst Programmer pervej_kabir@yahoo.com Cell:+8801757051005 Day-3: 14 September 2017 ASP.Net C#- MVC-5 Training
  2. 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. 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
  4. 4. 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
  5. 5.  Use of @Sign
  6. 6.  Control Statement in Razor
  7. 7.  OOP Concept:
  8. 8. 481

×