Sample of Service Bus for Windows hosted in IIS, Client and Server bindings are good for reference.