windowsforms-405146-data-access-security-connect-to-secure-o-data-service.md
This help topic explains the fundamentals of designing a distributed application with a separate backend and frontend, focusing on a WinForms UI client and ASP.NET Core Web API based on OData v4, Entity Framework Core (EF Core), and the DevExpress Web API Service as the backend.
In distributed systems, separating the backend and frontend is extremely important for several reasons:
Security-First Design
Cross-Platform Support and Reusability
API Flexibility with OData
ASP.NET Core Web API
Entity Framework Core (EF Core) and OData v4
DevExpress Web API Service
WinForms UI Client
Our sample Windows Forms application demonstrates the following:
Play the following animation to see the result:
Implements a Login form.
Implements a responsive desktop UI.
Uses the ODataInstantFeedbackSource to bind the WinForms Data Grid to the OData service in Instant Feedback Mode.
Displays data fetched from the backend securely without a direct database connection.
Important
These deployment recommendations do not apply to all possible configurations and should not be considered comprehensive. We offer these instructions as a getting-started reference. Steps may vary depending on your operating system, installed software, and DevExpress versions. You, the developer, are responsible for the application, database, network, and other configurations based on your client, security, environment, and other requirements. We recommend that you review these settings with your database, network, and IT infrastructure administrators and consider their recommendations tailored to your case.
See Also
Connect a .NET Desktop Client to an ASP.NET Core WebAPI Service Powered by EF Core