Skip to content

wortexx/zaz

 
 

Repository files navigation

Zaz Command Bus

IMPORTANT : For now I am assuming that I am the only user of this lib, so contracts are changing without any notice or backward compatibility. If you are intersting in using this lib, let me know.

Simple HTTP Command Bus. Based on simple HTTP protocol. Very opinionated. Provides minimum configuaration, but maximum extensibility points. One of the goals is to have multiple clients like .NET client, PowerShell and JavaScript.

REST protocol is implemented with WCF Web API. JSON serialization provided by JSON.NET.

Features

  1. Send and Recieve commands over HTTP

Example

Client is simple (more details in SampleApp):

var bus = new CommandBus("http://localhost:9302/Commands/");            
bus.Post(new PrintMessage
			{
				Message = "Hello world"
			});

Server side (more details in SampleEasyRemoteApp):

// Global.asax
public class Global : HttpApplication
{
    protected void Application_Start(object sender, EventArgs e)
    {            
        ZazServer.Init("Commands");
    }        
}

Installation

To install Client execute:

Install-Package ZazClient

To install Server execute:

Install-Package ZazServer

If you need other distribution, pls contact me.

License

Licensed under the MIT

About

Super simple HTTP Command Bus

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published