Quantcast
Channel: Developer Express Inc.
Viewing all articles
Browse latest Browse all 2370

Authorize EF Core CRUD Operations and Download Reports in .NET MAUI with OData Web API

$
0
0

As you probably know, we published a series of video tutorials demonstrating how you can develop a powerful .NET MAUI mobile app with our Web API Service alongside Entity Framework Core (EF Core) for the backend. If you have not heard of our powerful backend API, we ship a 1-Click solution to build CRUD REST API for many popular usage scenarios (powered by the EF Core and XPO ORM).

Introduction to the DevExpress Web API Service

As you’ll discover in this blog post (and our GitHub example), you can go from zero to a running Swagger UI with built-in authentication, role-based access control, audit trail, validation, file attachments, reports, etc within minutes. For more information, please review the following posts: Common Questions about the New DevExpress Web API Service (powered by Entity Framework and XPO ORM) | Introduction blog post.

You can get your free copy of .NET App Security Library & Web API Service here: https://www.devexpress.com/security-api-free. To learn about the advanced/paid features of our Web API Service, please refer to the following help topic: Obtain a Report from a Web API Controller Endpoint | eXpressApp Framework | DevExpress Documentation.

.NET MAUI Example Overview

To help you leverage the potential of our OData Web API service, we published an updated GitHub example: How to Create a Web API Service Backend for a .NET MAUI Application. We added iOS mobile client information (in addition to Android), upgraded packages to support the latest version of DevExpress products, and simplified backend/data model code.

This example makes use of our free Web API Service and documents numerous features including custom auto-generated OData endpoints/custom endpoints, authentication, and access permissions. We also demonstrated how to integrate DevExpress Reports with our Web API Service (this API endpoint and our reporting platform are not free – you will need to purchase the appropriate DevExpress Subscription to use these features).  

To help replicate the following solution in your next .NET MAUI project, please follow our step-by-step GitHub readme file and remember to:

  1. First ensure that you development environment is configured as described in the Prerequisites section of the readme file…
  2. Run the WebApi project and once it starts, launch the MAUI application in an Android or iOS emulator:

Your Feedback Matters!

Please take a moment to reply to the following questions – your feedback will help us shape/define future development strategies.


Viewing all articles
Browse latest Browse all 2370

Trending Articles