Morphir .NET

Your business logic, liberated.
.NET bindings, libraries, and tooling for the Morphir ecosystem—bringing portable, technology-agnostic domain models to .NET developers.

Get Started GitHub

A FINOS hosted project | Apache 2.0 License

## What is Morphir? **Morphir** is a multi-language system that captures your application's domain model and business logic in a technology-agnostic format. Write once, deploy anywhere—from databases to APIs to documentation. **Morphir .NET** brings this power to the .NET ecosystem with native C# and F# libraries, CLI tools, and seamless integration with your existing workflows.

Eliminate Technical Debt

Standardized IR (Intermediate Representation) enables safe, automated refactoring. Your business logic stays clean and maintainable as technology evolves.

Increase Agility

Adapt quickly to changing requirements. Generate code for multiple targets from a single source of truth—databases, APIs, documentation, and more.

Ensure Correctness

Immutability-first design with algebraic data types that make illegal states unrepresentable. Catch errors at compile time, not runtime.

Pure Domain Models

Design with immutable records and discriminated unions. Express complex business rules clearly while keeping side effects at the edges.

Learn more

IR Compatibility

Full compatibility with Morphir IR and JSON formats. Interoperate seamlessly with morphir-elm, morphir-jvm, and the broader Morphir ecosystem.

Explore the spec

Powerful CLI

The dotnet-morphir CLI validates, transforms, and generates code from Morphir IR. Integrate into your build pipelines with ease.

CLI reference

Quick Start

```bash # Install the Morphir CLI dotnet tool install -g Morphir # Get information about your workspace morphir info # Validate Morphir IR morphir verify model.json # Run a Morphir plugin morphir run ```

Contributions Welcome!

We welcome contributions from the community! Check out our good first issues to get started.

Contribute on GitHub

Join the Community

Ask questions, share ideas, and connect with other Morphir users and contributors in our GitHub Discussions.

Join discussions

Learn More

Explore the full Morphir ecosystem including morphir-elm, morphir-jvm, and comprehensive documentation.

Visit morphir.finos.org

Part of the FINOS Ecosystem

Morphir is a project of the Fintech Open Source Foundation (FINOS), dedicated to building open source solutions for financial services.

FINOS