SlideShare ist ein Scribd-Unternehmen logo
1 von 23
Windows Azure for Developers

       Building Block Services


     Wednesday, March 7th 2012
About Me

Michael S. Collier
National Architect,
Windows Azure



michael.collier@neudesic.com
@MichaelCollier
www.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 Manager
Windows 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 Service

DEMO
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 Relay

sb://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 & Topics

SHOW 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 management
Access 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/
Windows Azure for Developers - Building Block Services
Windows Azure for Developers - Building Block Services

Weitere ähnliche Inhalte

Was ist angesagt?

Windows Azure Mobile Services - The Perfect Partner
Windows Azure Mobile Services - The Perfect PartnerWindows Azure Mobile Services - The Perfect Partner
Windows Azure Mobile Services - The Perfect Partner
Michael Collier
 
Integrating sps 2010 and windows azure
Integrating sps 2010 and windows azureIntegrating sps 2010 and windows azure
Integrating sps 2010 and windows azure
Manish Corriea
 
Developing and deploying windows azure applications
Developing and deploying windows azure applicationsDeveloping and deploying windows azure applications
Developing and deploying windows azure applications
Manish Corriea
 
Lap around windows azure
Lap around windows azureLap around windows azure
Lap around windows azure
Manish Corriea
 
MS TechDays 2011 - Cloud Computing with the Windows Azure Platform
MS TechDays 2011 - Cloud Computing with the Windows Azure PlatformMS TechDays 2011 - Cloud Computing with the Windows Azure Platform
MS TechDays 2011 - Cloud Computing with the Windows Azure Platform
Spiffy
 
Build the foundation for Private Cloud
Build the foundation for Private CloudBuild the foundation for Private Cloud
Build the foundation for Private Cloud
AppZero
 

Was ist angesagt? (20)

More Cache for Less Cash
More Cache for Less CashMore Cache for Less Cash
More Cache for Less Cash
 
Using Windows Azure for Solving Identity Management Challenges (Visual Studio...
Using Windows Azure for Solving Identity Management Challenges (Visual Studio...Using Windows Azure for Solving Identity Management Challenges (Visual Studio...
Using Windows Azure for Solving Identity Management Challenges (Visual Studio...
 
More Cache for Less Cash (DevLink 2014)
More Cache for Less Cash (DevLink 2014)More Cache for Less Cash (DevLink 2014)
More Cache for Less Cash (DevLink 2014)
 
Windows Azure Mobile Services - The Perfect Partner
Windows Azure Mobile Services - The Perfect PartnerWindows Azure Mobile Services - The Perfect Partner
Windows Azure Mobile Services - The Perfect Partner
 
Above the cloud: Big Data and BI
Above the cloud: Big Data and BIAbove the cloud: Big Data and BI
Above the cloud: Big Data and BI
 
Integrating sps 2010 and windows azure
Integrating sps 2010 and windows azureIntegrating sps 2010 and windows azure
Integrating sps 2010 and windows azure
 
Developing and deploying windows azure applications
Developing and deploying windows azure applicationsDeveloping and deploying windows azure applications
Developing and deploying windows azure applications
 
Lap around windows azure
Lap around windows azureLap around windows azure
Lap around windows azure
 
Windows Azure Mobile Services - The Perfect Partner
Windows Azure Mobile Services - The Perfect PartnerWindows Azure Mobile Services - The Perfect Partner
Windows Azure Mobile Services - The Perfect Partner
 
Embrace and Extend - First-Class Activity and 3rd Party Ecosystem for SSIS in...
Embrace and Extend - First-Class Activity and 3rd Party Ecosystem for SSIS in...Embrace and Extend - First-Class Activity and 3rd Party Ecosystem for SSIS in...
Embrace and Extend - First-Class Activity and 3rd Party Ecosystem for SSIS in...
 
What’s New with SSIS in ADF
 What’s New with SSIS in ADF What’s New with SSIS in ADF
What’s New with SSIS in ADF
 
Move to azure
Move to azureMove to azure
Move to azure
 
Hibernate 6.0 - What's new.pdf
Hibernate 6.0 - What's new.pdfHibernate 6.0 - What's new.pdf
Hibernate 6.0 - What's new.pdf
 
MS TechDays 2011 - Cloud Computing with the Windows Azure Platform
MS TechDays 2011 - Cloud Computing with the Windows Azure PlatformMS TechDays 2011 - Cloud Computing with the Windows Azure Platform
MS TechDays 2011 - Cloud Computing with the Windows Azure Platform
 
AWS December 2015 Webinar Series - EC2 Dedicated Hosts
AWS December 2015 Webinar Series - EC2 Dedicated HostsAWS December 2015 Webinar Series - EC2 Dedicated Hosts
AWS December 2015 Webinar Series - EC2 Dedicated Hosts
 
The Essentials of Building Cloud-Based Web Apps with Azure
The Essentials of Building Cloud-Based Web Apps with AzureThe Essentials of Building Cloud-Based Web Apps with Azure
The Essentials of Building Cloud-Based Web Apps with Azure
 
C fowler intro-azure
C fowler intro-azureC fowler intro-azure
C fowler intro-azure
 
Microsoft PaaS Cloud Windows Azure Platform
Microsoft PaaS Cloud Windows Azure PlatformMicrosoft PaaS Cloud Windows Azure Platform
Microsoft PaaS Cloud Windows Azure Platform
 
Migrating Customers to Microsoft Azure: Lessons Learned From the Field
Migrating Customers to Microsoft Azure: Lessons Learned From the FieldMigrating Customers to Microsoft Azure: Lessons Learned From the Field
Migrating Customers to Microsoft Azure: Lessons Learned From the Field
 
Build the foundation for Private Cloud
Build the foundation for Private CloudBuild the foundation for Private Cloud
Build the foundation for Private Cloud
 

Andere mochten auch

Examples of alternative media
Examples of alternative mediaExamples of alternative media
Examples of alternative media
ArtSoup
 
Promotional Plan For BD Market KOPIKO
Promotional Plan For BD Market KOPIKOPromotional Plan For BD Market KOPIKO
Promotional Plan For BD Market KOPIKO
Bishazit Das
 
Promotional Plan flavored bread
Promotional Plan flavored breadPromotional Plan flavored bread
Promotional Plan flavored bread
guest18a1cd
 
Integrated marketing communication campaign
Integrated marketing communication campaignIntegrated marketing communication campaign
Integrated marketing communication campaign
TAPMI School of Business
 

Andere mochten auch (12)

Alternative media in advertising
Alternative media in advertisingAlternative media in advertising
Alternative media in advertising
 
Alternative Media and Personal Publishing
Alternative Media and Personal PublishingAlternative Media and Personal Publishing
Alternative Media and Personal Publishing
 
Examples of alternative media
Examples of alternative mediaExamples of alternative media
Examples of alternative media
 
Alternative media presentation
Alternative media presentationAlternative media presentation
Alternative media presentation
 
Interactive advertising
Interactive advertisingInteractive advertising
Interactive advertising
 
Promotional Plan For BD Market KOPIKO
Promotional Plan For BD Market KOPIKOPromotional Plan For BD Market KOPIKO
Promotional Plan For BD Market KOPIKO
 
Promotional Plan flavored bread
Promotional Plan flavored breadPromotional Plan flavored bread
Promotional Plan flavored bread
 
LG Online Promotional Plan
LG Online Promotional PlanLG Online Promotional Plan
LG Online Promotional Plan
 
Integrated marketing communication campaign
Integrated marketing communication campaignIntegrated marketing communication campaign
Integrated marketing communication campaign
 
Launching a new Product
Launching a new Product Launching a new Product
Launching a new Product
 
MARKETING-CH10
MARKETING-CH10MARKETING-CH10
MARKETING-CH10
 
Marketing and Promotions of Food and Beverage
Marketing and Promotions of Food and BeverageMarketing and Promotions of Food and Beverage
Marketing and Promotions of Food and Beverage
 

Ähnlich wie Windows Azure for Developers - Building Block Services

Building your private cloud the ncs experience harrison lee
Building your private cloud the ncs experience harrison leeBuilding your private cloud the ncs experience harrison lee
Building your private cloud the ncs experience harrison lee
Microsoft Singapore
 
IdM in Smart Applications on Virtual Infrastructure
IdM in Smart Applications on Virtual InfrastructureIdM in Smart Applications on Virtual Infrastructure
IdM in Smart Applications on Virtual Infrastructure
Mohammad Faraji
 
Choosing Your Windows Azure Platform Strategy
Choosing Your Windows Azure Platform StrategyChoosing Your Windows Azure Platform Strategy
Choosing Your Windows Azure Platform Strategy
drmarcustillett
 
Daneyon Hansen - Intro to OpenStack - Feb13 OpenStack Denver Meetup
Daneyon Hansen - Intro to OpenStack - Feb13 OpenStack Denver MeetupDaneyon Hansen - Intro to OpenStack - Feb13 OpenStack Denver Meetup
Daneyon Hansen - Intro to OpenStack - Feb13 OpenStack Denver Meetup
Shannon McFarland
 

Ähnlich wie Windows Azure for Developers - Building Block Services (20)

Net Services
Net ServicesNet Services
Net Services
 
Cisco Study: State of Web Security
Cisco Study: State of Web Security Cisco Study: State of Web Security
Cisco Study: State of Web Security
 
Cognos Technical Super Session 2012
Cognos Technical Super Session 2012Cognos Technical Super Session 2012
Cognos Technical Super Session 2012
 
CloudStack Collaboration Conference 12; Refactoring cloud stack
CloudStack Collaboration Conference 12; Refactoring cloud stackCloudStack Collaboration Conference 12; Refactoring cloud stack
CloudStack Collaboration Conference 12; Refactoring cloud stack
 
Play with cloud foundry
Play with cloud foundryPlay with cloud foundry
Play with cloud foundry
 
(ATS4-APP03) Top 10 things every Notebook administrator should know
(ATS4-APP03) Top 10 things every Notebook administrator should know(ATS4-APP03) Top 10 things every Notebook administrator should know
(ATS4-APP03) Top 10 things every Notebook administrator should know
 
Building your private cloud the ncs experience harrison lee
Building your private cloud the ncs experience harrison leeBuilding your private cloud the ncs experience harrison lee
Building your private cloud the ncs experience harrison lee
 
IdM in Smart Applications on Virtual Infrastructure
IdM in Smart Applications on Virtual InfrastructureIdM in Smart Applications on Virtual Infrastructure
IdM in Smart Applications on Virtual Infrastructure
 
Leveraging the azure cloud for your mobile apps
Leveraging the azure cloud for your mobile appsLeveraging the azure cloud for your mobile apps
Leveraging the azure cloud for your mobile apps
 
Choosing Your Windows Azure Platform Strategy
Choosing Your Windows Azure Platform StrategyChoosing Your Windows Azure Platform Strategy
Choosing Your Windows Azure Platform Strategy
 
Mike Taulty MIX10 Silverlight 4 Patterns Frameworks
Mike Taulty MIX10 Silverlight 4 Patterns FrameworksMike Taulty MIX10 Silverlight 4 Patterns Frameworks
Mike Taulty MIX10 Silverlight 4 Patterns Frameworks
 
Windows Sql Azure Cloud Computing Platform
Windows Sql Azure Cloud Computing PlatformWindows Sql Azure Cloud Computing Platform
Windows Sql Azure Cloud Computing Platform
 
Spring, Java Web Apps to the cloud
Spring, Java Web Apps to the cloudSpring, Java Web Apps to the cloud
Spring, Java Web Apps to the cloud
 
EMEA OpenStack Day Intro, July 13th 2011 in London
EMEA OpenStack Day Intro, July 13th 2011 in LondonEMEA OpenStack Day Intro, July 13th 2011 in London
EMEA OpenStack Day Intro, July 13th 2011 in London
 
eBay From Ground Level to the Clouds
eBay From Ground Level to the CloudseBay From Ground Level to the Clouds
eBay From Ground Level to the Clouds
 
Daneyon Hansen - Intro to OpenStack - Feb13 OpenStack Denver Meetup
Daneyon Hansen - Intro to OpenStack - Feb13 OpenStack Denver MeetupDaneyon Hansen - Intro to OpenStack - Feb13 OpenStack Denver Meetup
Daneyon Hansen - Intro to OpenStack - Feb13 OpenStack Denver Meetup
 
Venus-c: Using open source clouds in eScience
Venus-c: Using open source clouds in eScienceVenus-c: Using open source clouds in eScience
Venus-c: Using open source clouds in eScience
 
EMEA OpenStack Day, July 13th 2011 in London - Jim Curry intro
EMEA OpenStack Day, July 13th 2011 in London - Jim Curry introEMEA OpenStack Day, July 13th 2011 in London - Jim Curry intro
EMEA OpenStack Day, July 13th 2011 in London - Jim Curry intro
 
How to Implement Cloud Security: The Nuts and Bolts of Novell Cloud Security ...
How to Implement Cloud Security: The Nuts and Bolts of Novell Cloud Security ...How to Implement Cloud Security: The Nuts and Bolts of Novell Cloud Security ...
How to Implement Cloud Security: The Nuts and Bolts of Novell Cloud Security ...
 
How to Implement Cloud Security: The Nuts and Bolts of Novell Cloud Security ...
How to Implement Cloud Security: The Nuts and Bolts of Novell Cloud Security ...How to Implement Cloud Security: The Nuts and Bolts of Novell Cloud Security ...
How to Implement Cloud Security: The Nuts and Bolts of Novell Cloud Security ...
 

Mehr von Michael Collier

Mehr von Michael Collier (6)

Inside Azure Resource Manager
Inside Azure Resource ManagerInside Azure Resource Manager
Inside Azure Resource Manager
 
Automating Your Microsoft Azure Environment (DevLink 2014)
Automating Your Microsoft Azure Environment (DevLink 2014)Automating Your Microsoft Azure Environment (DevLink 2014)
Automating Your Microsoft Azure Environment (DevLink 2014)
 
Inside Azure Diagnostics (DevLink 2014)
Inside Azure Diagnostics (DevLink 2014)Inside Azure Diagnostics (DevLink 2014)
Inside Azure Diagnostics (DevLink 2014)
 
Programming Azure Active Directory (DevLink 2014)
Programming Azure Active Directory (DevLink 2014)Programming Azure Active Directory (DevLink 2014)
Programming Azure Active Directory (DevLink 2014)
 
Inside Azure Diagnostics
Inside Azure DiagnosticsInside Azure Diagnostics
Inside Azure Diagnostics
 
10 Ways to Gaurantee Your Azure Project will Fail
10 Ways to Gaurantee Your Azure Project will Fail10 Ways to Gaurantee Your Azure Project will Fail
10 Ways to Gaurantee Your Azure Project will Fail
 

Kürzlich hochgeladen

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 

Kürzlich hochgeladen (20)

Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 

Windows Azure for Developers - Building Block Services

  • 1. Windows Azure for Developers Building Block Services Wednesday, March 7th 2012
  • 2. About Me Michael S. Collier National Architect, Windows Azure michael.collier@neudesic.com @MichaelCollier www.MichaelSCollier.com
  • 3. Today’s Agenda • Windows Azure Overview • Building Block Services – Access Control Services – Caching – Service Bus • Q&A
  • 4. 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 Manager Windows Azure graphics courtesy of David Pallmann (http://davidpallmann.blogspot.com/)
  • 5. 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
  • 6. 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)
  • 7. 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
  • 8. 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
  • 9. Windows Azure Access Control Service DEMO
  • 10. 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
  • 11. 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
  • 12. Caching • Easy to plug in as provider for ASP.NET session state and page output • Sample client configuration XML provided in portal
  • 13. 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
  • 14. 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
  • 15. Message Relay sb://namespace.servicebus.windows.net/service Service Bus Upgrade connection – NAT traversal connection Sender Receiver
  • 16. 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! 
  • 17. 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
  • 18. 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
  • 19. Windows Azure Service Bus Queues & Topics SHOW ME THE CODE!
  • 20. 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 management Access Control Service (authentication and authorization)
  • 21. 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/

Hinweis der Redaktion

  1. 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.
  2. 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.