.NET Schema governance in Solace Schema Registry

If you’re running C# services and you’ve been waiting to enforce schemas the way your Java teams already do, that wait is over. Solace Schema Registry now ships a JSON Schema SERDES for .NET (v1.1.0), giving your .NET applications the same validation and governance that Avro and JSON Schema users on Java have had since GA of the Solace Schema Registry.

Why a schema registry matters in the first place

Real-time data streaming architectures live or die on one assumption: that the producer and consumer agree on what a message actually looks like. Without something enforcing that, teams end up finding out about a broken field, a renamed property, or a type mismatch when a consumer throws an exception in production, not before.

A schema registry fixes this by centralizing the contract. Producers register a schema, consumers pull it at runtime, and both sides validate against the same definition. That gets you a few things that matter well beyond any one team’s codebase:

  • Fewer runtime surprises. Bad data gets caught at serialization time, not three services downstream.
  • Safe schema evolution. Compatibility rules mean a field addition or type change can’t silently break an existing consumer.
  • Less tribal knowledge. New developers and new services can look up what a topic’s payload should look like instead of asking around or reading old code.
  • Actual governance. Architects and platform teams get a real audit trail of what schemas exist, who owns them, and how they’ve changed.

The .NET SERDES, and what makes the Solace approach different

The new .NET library supports JSON Schema serialization and deserialization, validates messages against resolved schemas automatically, and caches schema lookups so you’re not hitting the registry on every message. It targets .NET Standard 2.0, so it works whether you’re still on Framework or fully on modern .NET.
The detail that matters most for architects planning a rollout is schema resolution. Rather than only supporting artifact-ID lookups, the schema registry can resolve a schema directly from the topic a message is published on, using topic profiles. That means a consumer doesn’t need to know or hardcode an artifact ID ahead of time; it can derive the right schema from where the message came from.

Solace’s registry is built to replicate across an event mesh, so schemas stay consistent for services connected through different brokers, different regions, or different clouds, not just services talking to the same broker. If your architecture already spans multiple event brokers, that’s the piece to pay attention to.

Use case: a claims platform going multi-region

Picture an insurance company running claims processing across two regions for resiliency, with a mix of Java services in one region and a growing set of .NET services in the other, built by a team that inherited a modernization project. A claim submitted in one region can be picked up and processed by a service in the other.
Before schema governance, that meant informal coordination: a spec doc, a Slack thread, and hope that both teams’ serialization logic stayed in sync. A field rename on the Java side broke .NET consumers twice in one quarter, both times discovered in production.

With Solace Schema Registry, the claims schema is registered once and resolved by topic on both sides. The Java publisher and the .NET consumer validate against the same schema without either team maintaining a shared library or manually keeping definitions aligned. When the schema evolves, compatibility rules catch a breaking change before it ships, and because the registry replicates across the event mesh, both regions see the update at the same time.

Getting started

The JSON Schema SERDES for .NET is available now. If you’re already using Solace Schema Registry on the Java side, extending governance to your .NET services is as simple as pulling in the new package and pointing it at your existing registry, no separate registry instance required. Check the links at the left.