Click here to load reader
Upload
michael-stephenson
View
475
Download
5
Tags:
Embed Size (px)
DESCRIPTION
Introduction to a simple framework we developed a while back for helping customers to work with Windows Azure Service Bus.
Citation preview
Introducing AppFx.ServiceBus
Connected Systems Consulting Ltd
Connected Systems Consulting Ltd
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
What is AppFx.ServiceBus
Cloud Hosting
Windows Azure Service Bus
On Premise
Application
AppFx.ServiceBus Windows Service
AppFx.ServiceBus Client Framework
AppFx.ServiceBus Server Framework
Custom Cloud Application
AppFx.ServiceBus Server Framework
AppFx.ServiceBus Client Framework
Framework to simplify hybrid messaging implementation with Windows Azure Service Bus
Connected Systems Consulting Ltd
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?
Framework
Simplified development
experience
Message Exchange Patterns
Focus on functional code not plumbing
Receive side hosting
Consistent approaches
Standards & interoperability
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
FeaturesHosting
On-Premise• Windows Service• Console Application• Custom
Cloud• Azure VM Windows Service• Azure Worker Role• AWS EC2 Windows Service
Message Patterns
RPC
One Way
One Way with Call back
Scatter Gather
ArchitecturePatterns
Cloud to Cloud Integration
Cloud to On-Premise Integration
Dead Letter Processing
Standards around the approach for interop
Client-side Framework
Messaging Clients
Error translation
Logging
Server-side Framework
Message Handlers
Error Handling
Retries
JSON or XML Message Support
Supports many listeners and namespaces
Logging
The Standards
Message ContextProperty 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
DEMOHybrid Integration Solutions
Demo Scenario
Connected Systems Consulting Ltd
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-exposing-your-api-via-windows-azure-service-bus-queues-and-topics.aspx
– Codeplex - http://appfxservicebus.codeplex.com/documentation
Questions?