-
Notifications
You must be signed in to change notification settings - Fork 1
ScaleOut Azure Service Bus
###Template
There is a template included for ScaleOut over Azure Service Bus. Choose add new item
and then navigate to XSockets.NET 5
and choose AzureServiceBusScaleOut
###Connection String Login to Azure and get your connection string from the service bus tab. Create a new service bus namespace if needed.
<appSettings>
<add key="Microsoft.ServiceBus.ConnectionString"
value="Endpoint=sb://[namespace].servicebus.windows.net; SharedSecretIssuer=owner;SharedSecretValue=someSecret"/>
</appSettings>
###ServerId for Azure Service Bus To only get messages form other servers we have to add a unique id for the server. Below we use a GUID, but it can be any unique string.
<add key="XSockets.ScaleOut.ServerId" value="BBD891F7-DD8D-4FBE-B2F5-57C29D55AEAA" />
Home
##Pre-Req
Software
Hardware
##Protocols
XMPP
AMQP
MQTT
WebSockets
Custom
##Raspberry Pi
Connecting
Configuration
WiFi
Update
###BLE
About
Support
GAP
Broadcast Topology
Connected Topology
GATT
Install
Configure
Connect
Read/Write
###NODEJS
Install
Install
Test
##XSockets
###Hosting
Self-hosted
Configuration
Azure worker role
###Let's build a location based chat
Chat controller
Add name & location
Target specific clients
Install
Test
###Sensor Controller
Basic
Adding state
Broadcast to all
Target specific clients
Confirm enable/disable
Complete
###Monitor Controller
Basic
OnOpened
Adding state
Turn sensor on/off
Complete
###Testing With Putty
Custom protocol
Connecting
Impersonate sensor
Impersonate monitor
###Scale Out
Azure Service Bus
##Suggested Clients
Overview
Web JavaScript
Putty
C-Sharp
TCP-IP
###MQTT
client
publish
##Azure
Hosting & scaling
##Links/Resources
Adafruit
Wikipedia