Welcome To Razor Tutorial With C# ASP.NET

Welcome to Razor Tutorial. This tutorial teaches you Razor markup with C# programming language. Razor is not a programming language it is server side markup language that enables you to put power of C# language in simple HTML page. By using of Razor you can write C# logic directly in your webpages. It's not only simplified the web development but the boon for dot net developer. ASP.NET MVC used Razor syntax widely.
Razor syntax is very easy to write like HTML and you can be master of this markup language just in few hours. This tutorial is designed for self-learning and all the chapters contain description with, complete programming example with their output. I personally believe that a simple example can understand you better than bulky theory.

This Tutorial contains following Chapters.

Contents

1. Start

  1. Where to WriteCode
  2. Guidelines to Use Razor Syntax
  3. Run your First Razor Code
  4. Exercise

2. C# with Razor

  1. Variables and DataTypes
  2. Use Operators
  3. Conditional Statement
  4. Loop Statement
  5. Array
  6. Collection
  7. Methods with Parameter
  8. Handling Error
  9. Exercise

3. Working With Database

  1. Create and Connect to Database
  2. Insert, Update, Search and Delete
  3. Display Data using WebGrid
  4. Exercise

4. Working with Form

  1. Razor Form - Create, Validate and Get User Input
  2. Save Form to Database

Start Learning Razor

 

Share your thought