Skip to content

terrakernel/ODXProxyClient-Net-demo

Repository files navigation

ODXProxy .NET Demo Application

A professional WinForms demonstration of integrating custom .NET applications with Odoo ERP via the ODX Proxy Gateway. This project showcases how to build a modern, high-performance interface for Odoo without the complexity of raw JSON-RPC.

🚀 Features

  • Decoupled Architecture: Build in C# while ODX handles the Odoo heavy lifting.
  • Developer Simplicity: Uses native libraries instead of manual HTTP fetches.
  • Stateless Security: No credentials or API keys are stored on the proxy.
  • Full CRUD Support:
    • Read: Fetch Partners and Products with high-speed throughput.
    • Write: Update records (e.g., Partner Name) with instant feedback.
  • Mock Server Integration: Includes WireMock setup for UI testing without a live database.

🛠️ Tech Stack

  • Framework: .NET 6.0 / .NET 8.0 (Windows Forms)
  • Library: OdxProxy.Client
  • Serialization: System.Text.Json (Source Generated for performance)
  • Mocking: WireMock.Net

📋 Prerequisites

  • Visual Studio 2022 or VS Code with .NET SDK.
  • An active ODX Gateway Key.
  • An Odoo Instance URL and User API Key.

⚙️ Configuration

Open Form1.cs and update the following constants with your specific environment details:

private const string PROXY_GATEWAY_URL = "[https://gateway.odxproxy.io](https://gateway.odxproxy.io)";
private const string MY_ODOO_URL = "[https://your-instance.odoo.com](https://your-instance.odoo.com)";
private const string MY_DATABASE = "your-db-name";
private const string GATEWAY_KEY = "your-odx-gateway-key";

How to Run

  • Clone the repository.
  • Restore NuGet packages.
  • Build and Run the project (F5).
  • Enter your Odoo User ID and API Key in the UI.
  • Click Connect and start exploring your data!

About

ODXProxy Demo for .NET

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages