Skip to main content
Total Downloads
12.2K
12,223
Published
Apr 17, 2026
7mo ago

Get Started

dotnet add package Zebus.MessageDsl --version 1.6.0
ProductVersions
.NET Standard
netstandard2.0

README

Zebus Message DSL

This is a DSL which simplifies the writing of ProtoBuf contracts for Zebus.

See the GitHub repository for more information.

Example

Input file:

SomeMessage(int foo, string[] bar)

Generated code:

[ProtoContract]
public sealed partial class SomeMessage : IEvent
{
    [ProtoMember(1, IsRequired = true)]
    public int Foo { get; private set; }
        
    [ProtoMember(2, IsRequired = false)]
    public string[] Bar { get; private set; }
        
    private SomeMessage()
    {
        Bar = Array.Empty<string>();
    }
        
    public SomeMessage(int foo, string[] bar)
    {
        Foo = foo;
        Bar = bar;
    }
}

Downloads by Version

Depended On By

Find packages that declare this package as a dependency. NuGet does not provide a reverse-dependency endpoint, so candidates are checked on demand.

Adoption Assessment

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

Compatibility metadata lists 1 target framework; confirm the exact target used by your application.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.