Support us .Net Basics C# SQL ASP.NET Aarvi MVC Slides C# Programs Subscribe Download

ASP.NET core razor pages course wrap up

Suggested Videos
Part 32 - Using stored procedure in entity framework core | Text | Slides
Part 33 - FromSqlRaw vs ExecuteSqlRaw in ASP.NET Core | Text | Slides
Part 34 - Scaffolding CRUD Operations in ASP.NET Core | Text | Slides

This is Part 35 and the last video in this ASP.NET core razor pages tutorial.

Why use ASP.NET core razor pages framework

ASP.NET Core Razor Pages framework is a new technology to build page-focused web applications quicker and more efficiently with clean separation of concerns. Razor pages are introduced in .NET Core 2.0. It is lightweight, flexible and provides the developer the full control over the rendered HTML. 


The recommendation from Microsoft is to use razor pages if we are building a Web UI (i.e web pages) and ASP.NET Core MVC if we are building a Web API. 

Download source code and setup the project to run on your local machine

Download the project source code from the following URL



Download RazorPagesTutorial.rar file.

razor pages project download

Extract the project source code and open the solution file using Visual Studio 2019.

Execute the following command from Visual Studio Package Manager Console. Make sure you have selected the web project (RazorPagesTutorial) from the Default project dropdownlist. This creates the database and applies all the migrations.

Update-Database

After the command completes, run the project using CTRL + F5

asp.net core tutorial for beginners