Windows Azure for Developers - Building Block Services
Upcoming SlideShare
Loading in...5
×
 

Windows Azure for Developers - Building Block Services

on

  • 3,335 views

Learn about the next generation building block services available in Windows Azure that help to create connected, secure, and reliable services....

Learn about the next generation building block services available in Windows Azure that help to create connected, secure, and reliable services.

​With services such as Caching, Service Bus (relay, queues, and topics), and Access Control Services (ACS) developers can focus more on building great solutions and less on plumbing services necessary to do so. In this webcast, we will take a look at many of the additional services offered as part of Windows Azure. We'll see just how easy it can be to add scalable caching with Windows Azure Caching, create robust connected solutions with the Service Bus, and secure applications with ACS.

Statistics

Views

Total Views
3,335
Views on SlideShare
1,527
Embed Views
1,808

Actions

Likes
0
Downloads
11
Comments
0

8 Embeds 1,808

http://michaelcollier.wordpress.com 1139
http://architects.dzone.com 472
http://java.dzone.com 106
http://www.scoop.it 80
http://css.dzone.com 7
http://www.dzone.com 2
http://cloud.dzone.com 1
http://webcache.googleusercontent.com 1
More...

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • Windows Azure National ArchitectWindows Azure MVPHelp customers nationwide with their Windows Azure projects. This can include architectural design sessions, training, development, evangelism, etc.Reach me via email, Twitter, or my blog.
  • New World – Deployments are in the Cloud, On-Premises, or HybridRoles 101 – Quick Recap of Windows Azure RolesCommunication Patterns – How role instances can communication w/ each other and the rest of the world.DemoSummaryLeave time at the end for a few questions.

Windows Azure for Developers - Building Block Services Windows Azure for Developers - Building Block Services Presentation Transcript

  • Windows Azure for Developers Building Block Services Wednesday, March 7th 2012
  • About MeMichael S. CollierNational Architect,Windows Azuremichael.collier@neudesic.com@MichaelCollierwww.MichaelSCollier.com
  • Today’s Agenda• Windows Azure Overview• Building Block Services – Access Control Services – Caching – Service Bus• Q&A
  • Windows Azure Core Components VM DataMarket Service WEB Service Bus Cache Service WORKER VM ROLE ROLE ROLE Access Control Service DATABASE DATA SYNC IMPORT REPORTING BLOB QUEUE TABLE SERVICE SERVICE EXPORT SERVICE SERVICE SERVICE SERVICE SERVICE Windows Azure Connect Windows Azure Traffic ManagerWindows Azure graphics courtesy of David Pallmann (http://davidpallmann.blogspot.com/)
  • Building Block Services• Additional platform services for advanced functionality• Use with “core” services or own their own• Enhance developer productivity• Consume cloud services – initial move to the cloud• Services – Access Control Services – federated identity management service – Caching – distributed caching service – Service Bus – messaging and routing service
  • Access Control Services• No need to build your own identity management – Another component to maintain – Likely not a distinguishable part of your application – Deal with user management • User support • Password management (including resets)
  • Federated Identity Management• Authenticate – Windows Identity Foundation (WIF) – OAuth and WS-Federation• Authorize – Claims-based• Identity Providers – Corporate via Active Directory (ADFSv2) – Social • Windows Live, Yahoo!, Google, Facebook – Build your own using membership (identityserver.codeplex.com)• Write to ACS and let Microsoft worry about the rest
  • ACS – How Does It Work? Identity Access Browser Application Provider Control 1. Request Resource 2. Redirect to ACS 3. Auth/N 4. Home-realm Discovery 5. Redirect to IdP 7. Authenticate &Diagram courtesy of Windows Azure Boot Camp 6. Login Issue Token 8. Redirect to AC service 10. Validate 9. Send Token to ACS Token, Run Rules Engine, 11. Redirect to RP with ACS Token Issue Token 13. Send ACS Token to Relying Party 12. Validate 14. Return resource representation Token
  • Windows Azure Access Control ServiceDEMO
  • ACS – Final Tips• Update session cooking handling – WIF uses Data Protection API (DPAPI) by default. – DPAPI not support in Windows Azure. – Encrypt cookies with RSA using a certificate (SSL or self-signed (dev)) – Windows Azure Training Kit has full example – http://davidpallmann.blogspot.com/2011/12/mobile-global-with- html5-mvc-windows_27.html• Put WIF configuration params in ServiceConfiguration – WIF uses web.config – Read in params from ServiceConfiguration.cscfg on role start and rewrite web.config – http://blogs.msdn.com/b/vbertocci/archive/2011/05/31/edit-and- apply-new-wif-s-config-settings-in-your-windows-azure-webrole- without-redeploying.aspx
  • Caching• Distributed, in-memory caching for Windows Azure apps• Scalable, low latency, and high throughput• Very similar to Windows Server AppFabric Caching• Ability to enable a local cache• Limits – 8MB per object – No serialization for local caching• Security via ACS
  • Caching• Easy to plug in as provider for ASP.NET session state and page output• Sample client configuration XML provided in portal
  • Caching• Add the following assemblies – Microsoft.ApplicationServer.Caching.Client.dll – Microsoft.ApplicationServer.Caching.Core.dll – Microsoft.WindowsFabric.Common.dll – Microsoft.WindowsFabric.Data.Common.dll – Microsoft.Web.DistributedCache.dll (for ASP.NET web projects)• Write the code
  • Service Bus• Robust messaging and routing services• Ability to connect services across networks – Defeats NATs and firewalls – Great for hybrid application scenarios!• Uses ACS for security
  • Message Relaysb://namespace.servicebus.windows.net/service Service Bus Upgrade connection – NAT traversal connection Sender Receiver
  • Message Relay• Use SB addressing and bindings• Simply use new „relay‟ bindings• Behavior for ACS authorization• Not new . . . Been in Service Bus for a while! 
  • Service Bus Message Queues• Reliable and durable – backed by SQL Azure• Store up to 1GB per queue• No TTL – unlike Windows Azure queues• 256KB maximum message size• Messaging API, WCF, and REST interfaces Publisher Queue Receiver
  • Service Bus Topics (pub/sub)• Takes SB Queues to the next level• 2,000 subscriptions on a single Topic• Subscription is a virtual queue – gets a copy of each message• Filters – Use SQL92 syntax to configure Subscription to receive only messages with matching properties• Actions – Modify message properties as they‟re selected Receiver Subscription Receiver Publisher Topic Subscription Receiver
  • Windows Azure Service Bus Queues & TopicsSHOW ME THE CODE!
  • Summary • Compute roles, storage, and SQL Azure get a lot of attention. • Don‟t forget about the building block services Robust service relay and messaging Service Bus Easy to configure Cache-as-a-Service Cache Service Federated identity managementAccess Control Service (authentication and authorization)
  • Resources• How To Guides for .NET – http://www.windowsazure.com/en-us/develop/net/• Managing Caches in Windows Azure – http://msdn.microsoft.com/en-us/library/windowsazure/gg618005.aspx• Windows Azure Service Bus Best Practices – http://windowsazurecat.com/2011/09/best-practices-leveraging-windows- azure-service-bus-brokered-messaging-api/• Service Bus Explorer – http://code.msdn.microsoft.com/windowsazure/Service-Bus-Explorer- f2abca5a• Rick Garibay – “Azure AppFabric Service Bus Brokered Messaging GA & Rude CTP Diffs” – http://www.rickgaribay.net/archive/2011/09/14/azure-appfabric-service-bus- brokered-messaging-ga-amp-rude-ctp.aspx• Vitorrio Bertocci‟s Blog – http://blogs.msdn.com/b/vbertocci/