I’m currently working on a project where I’ve implemented a hybrid architecture: using Mendix for the frontend and C# (.NET) for the backend logic. While Mendix offers its own built-in capabilities, integrating it with a custom C# backend allowed for more flexibility in handling specific business requirements and existing database structures.
How it was implemented
The integration focuses on two main communication paths:
Database Synchronization: The Mendix app connects to a MySQL database, where I mapped the backend's primary keys (Id) directly to Mendix attributes using the Database Connector and SQL Aliases.
REST API Communication: For specific actions like status updates or approvals, Mendix sends requests to the C# server via REST APIs, passing the necessary record IDs to trigger backend logic.
Conclusion
It was a great experience bridging the gap between a low-code platform and a traditional C# backend. It proves that Mendix can be a powerful frontend tool even when the core logic resides in an external .NET environment.
If anyone is working on a similar setup or has questions about connecting Mendix to a custom C# backend, feel free to reach out! I’d be happy to chat.