GithubHelp home page GithubHelp logo

brlinton / azure-service-bus-topic-example Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 366 KB

Demonstrating publish / subscribe with Azure Service Bus topics and resource templates

License: MIT License

PowerShell 30.68% C# 66.99% CSS 1.75% ASP 0.59%

azure-service-bus-topic-example's Introduction

azure-service-bus-topic-example

Demonstrating publish / subscribe with Azure Service Bus topics and resource templates

Getting Started

From a fresh clone, you'll need to create a secrets.json file and drop it in the Subscriber project as well as in App_Data underneath the MessageGenerator project. It just needs one value for your service bus connection string:

{
  "ServiceBusConnectionString": "Endpoint=sb://{your full connection string with key}"
}

You'll also need to run the Deploy-AzureResourceGroup.ps1 script to stand up the required resources. Something like this:

Login-AzureRmAccount

Push-Location {your script directory}

.\Deploy-AzureResourceGroup.ps1 -ResourceGroupLocation "East US" -ResourceGroupName "azure-service-bus-topic-example"

Pop-Location

From there, you'll get a sample website that just drops 10 sample messages on a topic. Run the Subscriber console app first, which will register a topic subscription. Then every time you drop the sample messages on the topic, the console app will read them and spit out the contents. Note that once the subscription is created, any messages created with the Subscriber offline will be read when it starts up.

Sources and Links

azure-service-bus-topic-example's People

Contributors

brlinton avatar

Watchers

 avatar James Cloos 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.