Posts

Showing posts from October, 2013

Service bus management – here's a way

Image
UPDATE : this post contains a lot of additional great suggestions http://blogs.msdn.com/b/thecolorofazure/archive/2014/05/13/azure-implementation-guidelines.aspx   How to create a consistent DTAP environment, which standards to adhere to, what naming conventions to apply, how to document these….all questions….the answers….a little cloudy. In this post I show how I use the tool Service Bus Explorer to my advantage for some of these questions. ·          Goal: create a consistent environment for DTAP ·          Challenges 1.        Naming conventions on Windows Azure (sb / queues / topics etc) 2.        Isolation of environment and thus billing 3.        Repeatable steps / Configurable using a tool / xml configuration   #1: Naming conventions Are they out there for Azure? This is a future subject for a WindowsAzure live chat session. ·          My #1 rule: make sure that the naming convention you think of are consistent ·          An example convention: <Cu

Exposing an REST Endpoint (POST) which processes Xml

Image
For my project I needed to expose an Endpoint, which accepts an HTTP Post with Xml as input/output. As I like to start small I’ve tried to start with a small test project. In this project, I wanted to learn how to expose an endpoint, how to set everything up and what options are there. This, because there are a lot of resources on all sort of specific issues, but the ones I faced were scattered in several blogposts. So for my project I developed a WCF Service, which was created using a WCF Webrole so that I can also publish it in Azure. ·          Create a new WCF Webrole o    Create a new Cloud service o    Create a new web role o    Which should result in a similar structure ·          Configure the endpoint to use WCF-WebHTTP and allow a help page At this point, you have a WCF Service, which is not yet exposed a WCF-WebHTTP endpoint. We can do this by: o    simply changing the Web.Config   o    Add a method which accepts Xml and decorate it with the ‘WebInvoke’ attri