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.
These basic capabilities of our Web API Service are available free-of-charge - register your free copy today at https://www.devexpress.com/security-a.... Check out related videos:
Part 1: This video (to download a runnable sample, please contact us at https://devexpress.com/ask)
Part 2: • Manage Web API Role-based CRUD Permis... (XAF Desktop/Blazor Admin UI)
Part 3: • Authenticate Users & Authorize CRUD O... (Authorize CRUD Operations in .NET MAUI)
Part 4: • Add Custom Web API Endpoints To Check... (Add Custom Web API Endpoints in .NET MAUI)
Part 5: • Preview Reports as PDF in .NET MAUI A... (Preview Reports from Web API in .NET MAUI)
⏱ 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
6:45 Declare your EF Core entity / data model. NOTE: with v23.1 you must declare entity properties using the `virtual` keyword (https://docs.devexpress.com/eXpressAp...)
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 ⚡️⚡️⚡️
1. https://www.devexpress.com/products/n...
2. https://www.devexpress.com/maui/
3. https://marketplace.visualstudio.com/...
📒 Documentation 📒
1. https://docs.devexpress.com/eXpressAp...
2. FAQ: https://www.devexpress.com/kb=t886740
3. https://docs.devexpress.com/MAUI/4032...
🚀 Get Started Today – Free 30 Day Trial 🚀
http://dxpr.es/NUGET
http://dxpr.es/FREE-TRIAL
✅ Pricing and Online Demos ✅
http://dxpr.es/BUY
http://dxpr.es/DEMOS
🆘 We Are Here to Help 🆘
http://dxpr.es/SUPPORT
👍 Follow DevExpress on Social Media 👍
http://dxpr.es/FACEBOOK
http://dxpr.es/TWITTER
http://dxpr.es/BLOGS
🏁 Review Customer Testimonials 🏁
http://dxpr.es/TESTIMONIALS
http://dxpr.es/MARKETPLACE
#DevExpress, #devexpress_xaf, #entityframework #devexpress_desktop, #devexpress_blazor #devexpress_web #aspnetcore #aspnet #webapi #blazor #rbac #api #efcore
Watch video A 1-Click Solution for CRUD Web API with Role-based Access Control via EF Core & ASP.NET online without registration, duration hours minute second in high quality. This video was added by user DevExpress 03 August 2022, don't forget to share it with your friends and acquaintances, it has been viewed on our site 10,50 once and liked it 8 people.