activemq-artemis/examples/protocols/amqp/dotnet
Clebert Suconic 781e5e64a4 NO-JIRA: Adding .net example 2017-02-03 23:22:52 -05:00
..
.vscode NO-JIRA: Adding .net example 2017-02-03 23:22:52 -05:00
Program.cs NO-JIRA: Adding .net example 2017-02-03 23:22:52 -05:00
project.json NO-JIRA: Adding .net example 2017-02-03 23:22:52 -05:00
readme.md NO-JIRA: Adding .net example 2017-02-03 23:22:52 -05:00
run-example.sh NO-JIRA: Adding .net example 2017-02-03 23:22:52 -05:00
start-broker.sh NO-JIRA: Adding .net example 2017-02-03 23:22:52 -05:00

readme.md

Running the .NET AMQP example

Pre-requisites:

All of this can be done on Linux, Mac and... Windows

  • Install .NET

https://www.microsoft.com/net/core

  • Visual Studio Code is free and may be useful:

https://code.visualstudio.com

  • Powershell might be also useful:

https://github.com/PowerShell/PowerShell/

running the example

  • Create the broker, by running:
../../../../bin/artemis create ./server1 --user a --password a --role a --allow-anonymous --force
./server1/bin/artemis-service start

Or simply use the start-broker.sh script on this directory

  • Compile the code

You need to restore the package, build and run so .NET may download your packages from NuGET:

dotnet restore
dotnet build
dotnet run

Or simply use the run-example.sh script on this directory

  • Debugging

Visual Studio Code will make it fairly easy to do it