filmov
tv
A 1-Click Solution for CRUD Web API with Role-based Access Control via EF Core & ASP.NET
Показать описание
In this video (Part 1), you will learn how to create an ASP.NET Core Web API to expose your app data and control user access with dynamic roles and permissions (powered by Entity Framework Core ORM). Our Solution Wizard scaffolds an OData v4 Web API Service (.NET 6) with integrated authorization & CRUD operations. The built-in security system also filters out secured server data based on permissions granted to users. You can use OAuth2, JWT or custom strategies for authentication alongside tools like Postman or Swagger (OpenAPI) for API testing.
⏱ Timeline ⏱
0:00 Intro
0:31 Register our Free Offer
1:12 Download the Solution Wizard installation
1:25 Run through the installer
2:10 Create a new project in Visual Studio 2022
2:35 Review ORM and authentication options in the Solution Wizard
3:52 Review auto-generated Web API Service project files
7:15 Link the current security user to your entity
7:40 Configure users, roles and data access permissions in database
8:43 Run the app and authenticate the Editor user in Swagger UI
9:16 Test the HTTP POST request to create a new data record
9:50 Test the HTTP PATCH request to modify an existing record
10:12 Test the HTTP GET request to access the updated record
10:33 Test the OData $expand query parameter with `curl` to access related record data
11:28 Test the Viewer user with limited READ access to data
12:25 Test the DELETE permissions for the Viewer user
⚡️⚡️⚡️ Overview ⚡️⚡️⚡️
📒 Documentation 📒
🚀 Get Started Today – Free 30 Day Trial 🚀
✅ Pricing and Online Demos ✅
🆘 We Are Here to Help 🆘
👍 Follow DevExpress on Social Media 👍
🏁 Review Customer Testimonials 🏁
#DevExpress, #devexpress_xaf, #entityframework #devexpress_desktop, #devexpress_blazor #devexpress_web #aspnetcore #aspnet #webapi #blazor #rbac #api #efcore
⏱ Timeline ⏱
0:00 Intro
0:31 Register our Free Offer
1:12 Download the Solution Wizard installation
1:25 Run through the installer
2:10 Create a new project in Visual Studio 2022
2:35 Review ORM and authentication options in the Solution Wizard
3:52 Review auto-generated Web API Service project files
7:15 Link the current security user to your entity
7:40 Configure users, roles and data access permissions in database
8:43 Run the app and authenticate the Editor user in Swagger UI
9:16 Test the HTTP POST request to create a new data record
9:50 Test the HTTP PATCH request to modify an existing record
10:12 Test the HTTP GET request to access the updated record
10:33 Test the OData $expand query parameter with `curl` to access related record data
11:28 Test the Viewer user with limited READ access to data
12:25 Test the DELETE permissions for the Viewer user
⚡️⚡️⚡️ Overview ⚡️⚡️⚡️
📒 Documentation 📒
🚀 Get Started Today – Free 30 Day Trial 🚀
✅ Pricing and Online Demos ✅
🆘 We Are Here to Help 🆘
👍 Follow DevExpress on Social Media 👍
🏁 Review Customer Testimonials 🏁
#DevExpress, #devexpress_xaf, #entityframework #devexpress_desktop, #devexpress_blazor #devexpress_web #aspnetcore #aspnet #webapi #blazor #rbac #api #efcore
Комментарии