Giter Site home page Giter Site logo

masstransit-azureservicebus-sample's Introduction

Overview

This is a MassTransit sample with AzureServiceBus transport that demonstrates sending and receiving messages without having to use Uri addresses.

It currently uses StructureMap IoC framework as part of the configuration, but it can be swapped for pretty much anything.

Setup

Create an Azure Service Bus namespace

  • login to portal.azure.com
  • create a messaging instance
  • get the SaS key name and value (default is

Local

Clone or download to your local machine, then open in Visual Studio 2015. Locate the MessageHost/App.Config file. Update it with your SB base URI, and the shared access signature key info.

Next, compile the solution to restore all the nuget packages automatically.

Sample

The sample code contains two commands so far that get sent directly to their corresponding queue. MassTransit is setup so that every message type being sent (Messages and Commands) will get their own queue.

Pub/Sub is currently not shown, but may be added.

License

Feel free to take and do what you like with the code (MIT).

masstransit-azureservicebus-sample's People

Contributors

kevinhillinger avatar

Stargazers

BJ Pate avatar

Watchers

James Cloos avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.