Learn Razor Pages in .NET Core (.NET6)

preview_player
Показать описание

In this short course, we will learn Razor Pages with .NET 6.

When we are working with .NET Core Web Applications, there are two common ways of building website.
1. MVC (Model-View-Controller) Web Application
2. Razor Pages Web Application

In this course we will learn the basics of .NET Core (.NET 6) and then build a simple CRUD application with Razor Pages.

⭐️ Course Contents ⭐️
Section 1: Introduction
⌨️ (0:00:00) Welcome
⌨️ (0:02:15) Live Preview
⌨️ (0:04:16) Tools Needed
⌨️ (0:05:22) Dependency injection
⌨️ (0:10:05) Introduction to .Net Core
⌨️ (0:14:39) Create Project
⌨️ (0:17:29) Razor Pages Introduction
⌨️ (0:18:30) Project File
⌨️ (0:19:41) Launch settings
⌨️ (0:24:15) Programs
⌨️ (0:30:09) Routing Overview
⌨️ (0:34:57) Default Views
⌨️ (0:42:48) Tag Helper
⌨️ (0:45:26) Action Result

Section 2: Database Setup
⌨️ (0:49:04) Create Category Model
⌨️ (0:51:26) Add Data Annotations
⌨️ (0:54:04) Add Connection String
⌨️ (0:57:52) Add ApplicationDbContext
⌨️ (1:07:20) Check Database

Section 3: CRUD Operations on Category
⌨️ (1:13:02) Categories Get Action Method
⌨️ (1:21:11) Display all Categories
⌨️ (1:28:54) Add Create Category Button
⌨️ (1:31:20) Create Category UI
⌨️ (1:34:32) Create Property in Page Model
⌨️ (1:38:34) Create Category and Bind Property
⌨️ (1:45:14) Bootswatch
⌨️ (1:50:45) Server Side Validation
⌨️ (1:56:07) Custom Validation
⌨️ (1:59:43) Display Name and Range Validation
⌨️ (2:03:04) Add Client Side Validation
⌨️ (2:07:13) Links for Edit and Delete
⌨️ (2:10:46) Edit Category
⌨️ (2:18:47) Back to List
⌨️ (2:23:10) Delete Category
⌨️ (2:26:49) TempData
⌨️ (2:30:10) Toastr
⌨️ (2:33:19) Partial Views
⌨️ (2:37:34) Scaffold CRUD Pages
⌨️ (2:40:29) Create SQL Database on Azure
⌨️ (2:44:01) Deploy to Azure
⌨️ (2:49:08) Congratulations
Рекомендации по теме
Комментарии
Автор

Excellent, explain very nicely basics. Thanks.

mmkhans
Автор

Your video of the same on .net core 3.1 is how i learnt razor pages. So easy to follow. Do you have a preference between Razor and MVC? Thanks man

rowan
Автор

This video helped me a lot, thank you very much!

christodutoit
Автор

This video is amazing; i wish you coul cover also the identity mode and customize it wih roles, where do i find such a tutorial? Because i saw the microsoft docs and the example is only about .NET Core 3 and not .NET 6...

tamilcantroz
Автор

what course you recommend to learn before doing razor pages?

mjohnson
Автор

Great video and description.
Would love to see a video on how to publish to a linux server with Apache.

I tried to publish to a folder and move to a linux server but I get alot of .dll and .exes not original .cshtml files.

TheHunter-ovwj
Автор

Please make video on Angular + .Net API project. Humble request.

akshay.k
Автор

hi dear teacher plz make a video on how to make identity page login page first page instead of index page plz..

qaisahmad
Автор

Amazing tutorial!
I have a question though, is it possible to display only one category insted of all? I am trying to write a function that displays a name property if given id and can't quite figure it out.

KondVideos
Автор

Hello sir,
In your MVC (.NET6) course you wrote "public DbSet<Category> Categories { get; set; }" but in Razor pages, you are using "public DbSet<Category> Category { get; set; }", so why using plural in MVC while using singular in Razor pages? is there any recommendation one over the other?

Thank you

davidson
Автор

which ways is recommend for mvc and razor pages?

hunqiangng
Автор

possible how to put services to automate migration please in net core 6

ez
Автор

I am having error when i am typing this add-migration command: The specified deps.json does not exist
Any idea how can i fix it? I already checked info on stackoverflow but couldnt find answer

Lobos
Автор

Sir i have 2019 visual studio professional edition can i use it to follow this course without any issues?

triplejay
Автор

Dear sir,
why did you change the previous video, is there any serious modification???, do i need to see it once again??

cjt
Автор

hello sir, I did migrations, but when I click category on page, it has no reaction, it did not return values from category table, I did everything as you said in the video, any help? Thank you

facemanpegg
Автор

Theres a razor pages course on udemy, but it is on .net core 3, it'll be updated to .net 6?

cristians
Автор

Painfully low audio and muffled speech in these tutorials of this channel. It's sad because there is so much to learn.

pixiedustdreams