Weather Station
This app uses the service bus and does not need to be deployed to the service bus.
It simply uses the AppFabric as a "relay" for publishers to communicate with consumers in a many to many fashion.
It demonstrates AppFabric’s Service Bus in a cool way, specifically using a binding that supports multicast eventing and allows N event publishers and M event consumers to rendezvous at the same endpoint.
In my example, multiple publishers get weather (based on a zip code) and publish it to multiple listeners. Once the listener gets the weather, it pops up a window with the weather information it received.
This application gets the weather from the a web service at the National Weather Service and simply “relays” the weather to listeners.
Uses WPF. You can run any number of publishers and consumers at the same time.
Demo Video
http://brunoblogfiles.com/videos/azure/WeatherStation.wmv
Downloading and Installing
http://brunoblogfiles.com/zips/weathestation.zip
Instructions to run:
Run MulticastHost.exe first (Weather Station Billboard)
- Click “Connect to Service”
Run MulticastSample.exe (
- Type in a zip code
- Click “Send Weather Report”