Add Custom Web API Endpoints To Check Permissions & Query Media Data in .NET MAUI Apps with EF Core

preview_player
Показать описание
In this video (Part 4), we will review the previously created XAF Web API Service and .NET MAUI mobile apps, and extend them with additional UI-related functionality:
- modify the Add button behavior based on user role permissions;
- add the Photo editor to the mobile form based on the media data retrieved from the secure data service.

⏱ Timeline ⏱
0:00 Introduction: Declare implementation plan.
0:27 Visualize the Add button in the .NET MAUI app that will use the Web API.
0:57 Check out online documentation on how to use the security system in a Web API controller.
1:16 Create a Web API controller and endpoint to return security user permissions.
2:16 Declare the Web API UserCanCreatePost method in the .NET MAUI data service
2:23 Implement the Web API UserCanCreatePost method in WebAPIService of the .NET MAUI app.
3:08 Connect the Web API Service with the .NET MAUI AddItemCommand.
3:56 Test the new endpoint with both Viewer and Editor users from the .NET MAUI app.
4:38 Add the Photo property to the user type based on the online documentation.
5:35 Add images to the database using the XAF Blazor app UI.
6:12 Implement the GetAuthorPhoto endpoint in the Web API project.
7:34 Use the XAF Blazor app UI to add permissions to the MediaDataObject type.
8:15 Implement the GetAuthorPhotoAsync method in WebAPIService of the .NET MAUI app.
8:49 Retrieve image bytes in the .NET MAUI app to display Author photo.
9:29 Test the Photo editor in the Author form of the .NET MAUI app.
9:56 Add the Archive button in the .NET MAUI app.
10:20 Implement the ArchiveCommand in the .NET MAUI app.
11:10 Implement the Archive Web API endpoint.
12:00 Test the Archive Web API endpoint with the .NET MAUI app.

⚡️⚡️⚡️ Overview ⚡️⚡️⚡️

📒 Documentation 📒

⚡️ XAF's Community, Consulting & Training ⚡️

🚀 Obtain Your Free License Today 🚀

✅ Pricing and Online Demos ✅

🆘 We Are Here to Help 🆘

👍 Follow DevExpress on Social Media 👍

🏁 Review Customer Testimonials 🏁

#DevExpress, #devexpress_xaf #devexpress_maui #devexpress_mobile #aspnetcore #MAUI #aspnet #webapi #blazor #rbac #api #efcore #entityframework #mobiledevelopment
Рекомендации по теме
Комментарии
Автор

Thanks for these nice videos, but please do not add music to the videos

Salafi
Автор

After paying that much of money to MAUI 3rd party, will I write this caotic code ? (Pehhh)

orhancanoguz