ASP.NET Core Razor Pages CRUD - .NET 6 Razor Pages CRUD Using Entity Framework Core and SQL Server

preview_player
Показать описание
FULL UDEMY COURSE
👉 ASP.NET Core Razor Pages - Scratch to Finish (.NET 6)

In this video, we are going to create an ASP.NET Razor Pages CRUD app using Entity Framework Core and SQL Server. We will use .NET 6 Razor Pages template in Visual Studio 2022 to create this CRUD app.

This is the new default way to create ASP.NET Web Applications and by default, the template used is the Razor Pages Template.

We will use Bootstrap 5 in this ASP.NET Razor Pages website to style our pages.

We will install EF Core packages and use the code-first approach to create our SQL Server database.

This will be a great ASP.NET Core Razor Pages Tutorial for beginners and for those who have already worked in ASP.NET MVC before, this video would be a great refresher.

⭐ Video Timeline
00:00:00 Introduction
00:00:23 Demo
00:01:02 Full Razor Pages Udemy Course On Sale
00:01:50 Create New ASP.NET 6 Razor Pages App
00:06:20 Install Entity Framework Core (EF Core)
00:22:20 Create Employees Add Page (Razor Page)
00:44:25 Create Employee List Razor Page
00:51:30 Create View/Edit Employee Razor Page
01:17:30 Delete Employee Functionality In Razor Page

#aspnetcore #net6 #aspnet

Рекомендации по теме
Комментарии
Автор

Thank you, I have just enrolled for your full course !

lodor
Автор

I honestly learned a lot from your tutorial videos. Thanks!

janpablocortez
Автор

This is the best place to learn thanks Sameer, look forward to you videos - great content!

Smart-electrical
Автор

I appreciated your help. Really the best stuff on youtube. Thanks, Sameer.

RaviSoni-mtwm
Автор

Nice Video Sameer. Thanks for posting videos.

thuraiit
Автор

Hi. Are you using zencoding to do inline autocomplete of your html tags? Also, why did you create a separate model for adding an employee instead of just using the existing Employee model?

sdstraub
Автор

To create a view page what are other option that we can use instead of foreach loop to display data from DB or is there any way to improve performance of foreach loop on UI page

tipsandtricks
Автор

thanks for the video, but why haven't you used decimal type for Salary property?

paxvostrum
Автор

I am looking to do something similar to this but with a list of identity users - tried using your techniques that are in the video but keep getting an error on the edit part of the tutorial with the public void OnGet(Guid id) part - it doesnt like the Guid - any tips?

meganpaterson
Автор

hello sir same thing will use stored procedure .it will help for ur upcoming project

kannankrishnan
Автор

please put video for sorting, paging Grid using Pages CRUD Using Entity Framework Core and SQL Server

mathusudhanan
Автор

I'm learning a lot...but as I meticulously follow your step-by-step approach, I'm at the 28-minute mark.
In the "asp-for= portion of the <input...> fields, the "Add...Request" portion of the "asp-for" in the <input type="text" has no problem, but the individual field declaration after the period(.) is not recognized for any of the fields. (The infamous jagged red underline appears.)
Is there an additional place in my project where the fields must be declared in order for them to be recognized?

russsharp
Автор

Can I create the database by myself in database instead of running migration

charugupta
Автор

what is difference between razorpages and mvc core??? And which one is widely used in real world projects??

sarveshm
Автор

ทำไมชอบเขียนแบบข้ามขั้นตอน 3 2 แล้วก็ไป 1 ทำไมไม่เขียนไล่ขั้นตอนแบบ 1 2 3 ไปเลยทีเดียวล่ะ

cryptotechnical
Автор

Hello Sameer and everyone there, I have some problem in method OnPost class EditEmployeeViewModel, object EditEmployeeViewModel is null and I don't know why

berikkoshkarbay
Автор

After running Update -database in Package Manager Console I get this error A connection was successfully established with the server, but then an error occurred during the login process. (provider: SSL Provider, error: 0 - Sertifika zinciri güvenilmeyen bir yetkili tarafından verildi.)

bekirguldibi
Автор

I see no reason why you would create a separate "ViewModel" class. The microsoft tutorials don't do this for razor pages, they simply use the model directly in the CRUD operations. You seem to have an extra layer of complexity which has no relevance in Razor pages....are you doing this as a carryover from your MVC days?

tookay