Published on March 10, 2014
Connected Systems Consulting Ltd Introducing AppFx.ServiceBus
Who am I? Michael Stephenson – UK-Based Freelance Consultant specializing in: • • • BizTalk Windows Azure Integration – Was BizTalk MVP now a Microsoft Integration MVP for 5+ years – One of organizers of UK Connected Systems User Group – Blog: www.geekswithblogs.net/michaelstephenson – Twitter: @michael_Stephen – Linked In: http://www.linkedin.com/in/michaelstephensonuk1 Connected Systems Consulting Ltd
Agenda • • • What have we been up to? Example Architectures So what’s so hard about Service Bus Connected Systems Consulting Ltd
What is AppFx.ServiceBus AppFx.ServiceBus Server Framework AppFx.ServiceBus Client Framework Windows Azure Service Bus AppFx.ServiceBus Windows Service AppFx.ServiceBus Server Framework AppFx.ServiceBus Client Framework Application Custom Cloud Application Cloud Hosting On Premise Framework to simplify hybrid messaging implementation with Windows Azure Service Bus
Why do we need this? We love Windows Azure Service Bus but in real world projects there are still challenges: • • • • • • • • IIS hosted WCF didn’t work that great Handle different types of message Different message formats eg. XML or JSON There’s lots of plumbing code to write Where do you host receive code? What about Message Factory refreshing Need some standards to ensure interoperability Lots of different message exchange patterns – – – Scatter Gather RPC One way Connected Systems Consulting Ltd
What did we want to do? Simplified development experience Message Exchange Patterns Standards & interoperability Framework Focus on functional code not plumbing Consistent approaches Receive side hosting Connected Systems Consulting Ltd
Key use cases • You should look at AppFx.ServiceBus if: – – – – Trying your first hybrid integration project Want to get up and running really quickly (e.g. Proof of Concept) You don’t have BizTalk 2013 You want to connect old versions of BizTalk to Azure Service Bus (can act as a bridge) – You want to do light-weight queued messaging Connected Systems Consulting Ltd
Features Hosting Message Patterns Architecture Patterns Client-side Framework Server-side Framework On-Premise • Windows Service • Console Application • Custom RPC Cloud to Cloud Integration Messaging Clients Message Handlers One Way Cloud to On-Premise Integration Error translation Error Handling One Way with Call back Dead Letter Processing Logging Retries Scatter Gather Standards around the approach for interop Cloud • Azure VM Windows Service • Azure Worker Role • AWS EC2 Windows Service JSON or XML Message Support Supports many listeners and namespaces Logging Connected Systems Consulting Ltd
The Standards Message Context Property Use Label Indicates what type of message the body contains Content Type Used to indicate the format of the message (eg: JSON or XML) Is Error Used to indicate if the message is an error message Message Body Can be any JSON or XML
DEMO Hybrid Integration Solutions
Demo Contents • Existing on-premise WCF Service • Message Definition • Queue Bridge – Message Handler – Configuration • Client + REST call Connected Systems Consulting Ltd
Summary • • • • Challenges behind AppFx.ServiceBus Features and overview Simple demo More Info – MSDN Guest Blog http://blogs.msdn.com/b/ukmsdn/archive/2013/03/11/guest-post-exposingyour-api-via-windows-azure-service-bus-queues-and-topics.aspx – Codeplex - http://appfxservicebus.codeplex.com/documentation Connected Systems Consulting Ltd
... applications with Windows Azure Service Bus. AppFx.ServiceBus has been ... on developing a messaging client ... to implement a simple ...
Discover the Capabilities of Windows Azure Service Bus to Power Agile Business Models
Setup Windows Azure Service Bus to support ... To start the receive side host simple double click the AppFx.ServiceBus.Hosts.Console.exe application in the ...
Exposing your API via Windows Azure ... the Windows Azure Service Bus Brokered Messaging ... access to the AppFx.ServiceBus or Windows Azure Service Bus ...
Share Windows Azure Service Bus Overview.
Use Windows Azure Service Bus, BizTalk Services, Mobile Services, and BizTalk Server to create hybrid solutions
... Azure based integration platform we ... for Azure Service Bus is the AppFx.ServiceBus ... Windows Service to host the .net messaging ...
In this article we will introduce a very simple messaging scenario which we will implement using the AppFx.ServiceBus framework to show how easy it can be ...