A 1-Click Solution for CRUD Web API with Role-based Access Control via EF Core & ASP.NET

preview_player
Показать описание
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
Рекомендации по теме
Комментарии
Автор

9:22 What is a "navigationProperty"? Could you provide example?

flukalpes
Автор

can we use macos with vs code? or rider on macos??

yanko
Автор

How to use AspNetData to request data in Vue2? And ensure that data can be requested when the scroll bar scrolls to the bottom? I don't quite understand here, can you tell me?

ManW-uohs
Автор

Thank you for making such great videos
Could you please make a video about integration of security UI in non XAF applications?

mahfoudbouabdallah
Автор

13:16 Forbidden HTTP Code is 403 instead of 200

kevinbarja
Автор

Being a XAF developer for over 10 years, I give a thumbs up for this video but If I wouldn't be a seasoned XAF'er I guess I would be quite baffled about all of the insider terminology.

inscore