Learn Razor Pages in .NET Core (.NET6)

  Рет қаралды 13,928

DotNetMastery

DotNetMastery

Күн бұрын

☕ Coffee: www.buymeacoffee.com/bhrugen
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.
To see more in-depth full courses go to : dotnetmastery.com/
GitHub Link : github.com/bhrugen/Abby/tree/...
All GitHub Repo: github.com/bhrugen
⭐️ 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:02:06) Setup Program.cs to use DbContext
⌨️ (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

Пікірлер: 24
@mmkhans
@mmkhans 2 жыл бұрын
Excellent , explain very nicely basics. Thanks.
@christodutoit6820
@christodutoit6820 Жыл бұрын
This video helped me a lot, thank you very much!
@DotNetMastery
@DotNetMastery Жыл бұрын
Most welcome
@rowan5229
@rowan5229 2 жыл бұрын
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
@KondVideos
@KondVideos 2 жыл бұрын
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.
@tamilcantroz5960
@tamilcantroz5960 2 жыл бұрын
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...
@TheHunter-ov5wj
@TheHunter-ov5wj 2 жыл бұрын
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.
@24mjohnson
@24mjohnson 2 жыл бұрын
what course you recommend to learn before doing razor pages?
@hunqiangng2511
@hunqiangng2511 2 жыл бұрын
which ways is recommend for mvc and razor pages?
@Lobos91
@Lobos91 2 жыл бұрын
I am having error when i am typing this add-migration command: The specified deps.json [C:\Users\Admin\source epos\EFDemo\EFDemo\EFDemo.deps.json] does not exist Any idea how can i fix it? I already checked info on stackoverflow but couldnt find answer
@qaisahmad7896
@qaisahmad7896 Жыл бұрын
hi dear teacher plz make a video on how to make identity page login page first page instead of index page plz..
@davidson7838
@davidson7838 2 жыл бұрын
Hello sir, In your MVC (.NET6) course you wrote "public DbSet Categories { get; set; }" but in Razor pages, you are using "public DbSet 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
@DotNetMastery
@DotNetMastery 2 жыл бұрын
Hello, there is no recommendation in this case, it is a preference that you like since that ever name you use would be used as database table name. I am using categories since we will have category folder in razor pages, so to avoid namespace confusion I like to use different names.
@akshay.k9853
@akshay.k9853 2 жыл бұрын
Please make video on Angular + .Net API project. Humble request.
@ez3170
@ez3170 2 жыл бұрын
possible how to put services to automate migration please in net core 6
@triplejay3494
@triplejay3494 Жыл бұрын
Sir i have 2019 visual studio professional edition can i use it to follow this course without any issues?
@DotNetMastery
@DotNetMastery Жыл бұрын
Unfortunately you will have to use 2022 for .net 6
@cristians2976
@cristians2976 2 жыл бұрын
Theres a razor pages course on udemy, but it is on .net core 3, it'll be updated to .net 6?
@DotNetMastery
@DotNetMastery 2 жыл бұрын
It has been updated to .Net 6!! A complete re-recording!
@facemanpegg2004
@facemanpegg2004 2 жыл бұрын
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
@ciorcagaby1527
@ciorcagaby1527 2 жыл бұрын
same to me.I dont understand why...
@cjt9150
@cjt9150 2 жыл бұрын
Dear sir, why did you change the previous video, is there any serious modification???, do i need to see it once again??
@DotNetMastery
@DotNetMastery 2 жыл бұрын
That video had a duplicate video that’s why, but you can continue From where you were.
@pixiedustdreams
@pixiedustdreams 5 ай бұрын
Painfully low audio and muffled speech in these tutorials of this channel. It's sad because there is so much to learn.
ASP.NET Core Series: MVC and Razor Pages
27:37
dotnet
Рет қаралды 21 М.
Brutally honest advice for new .NET Web Developers
7:19
Ed Andersen
Рет қаралды 118 М.
ЧУТЬ НЕ УТОНУЛ #shorts
00:27
Паша Осадчий
Рет қаралды 10 МЛН
Best KFC Homemade For My Son #cooking #shorts
00:58
BANKII
Рет қаралды 72 МЛН
Learn Dapper in an Hour! (.NET Core 5)
1:00:43
DotNetMastery
Рет қаралды 55 М.
Intro to ASP.NET Core Razor Pages - From Start to Published
1:16:44
IAmTimCorey
Рет қаралды 351 М.
ASP.NET Core Crash Course - C# App in One Hour
1:00:44
freeCodeCamp.org
Рет қаралды 1,5 МЛН
Wait... PostgreSQL can do WHAT?
20:33
The Art Of The Terminal
Рет қаралды 191 М.
C# Razor Pages - Complete Tutorial
25:20
tutorialsEU - C#
Рет қаралды 64 М.
"The Life & Death of htmx" by Alexander Petros at Big Sky Dev Con 2024
23:01
Montana Programmers
Рет қаралды 43 М.
🔒 Identity with a .NET 6 Web API & Blazor WebAssembly
50:47
Patrick God
Рет қаралды 30 М.
Introduction to ASP.NET Core MVC (.NET 5) - FREE COURSE!
2:27:19
DotNetMastery
Рет қаралды 21 М.
Authentication vs Authorization - What's the difference?
4:37
DotNetMastery
Рет қаралды 3,8 М.
ЧУТЬ НЕ УТОНУЛ #shorts
00:27
Паша Осадчий
Рет қаралды 10 МЛН