A Lap AroundWindows Azure AppFabricWely LauMicrosoft MVP, Windows Azure“Cloud” Architect, NCSEmail : wely@ncs.com.sgBlog: http://wely-lau.net/
AgendaWindows Azure Platform In One SlideWhat is Windows Azure AppFabric?Identity and Access ControlService BusCaching
“Windows Azure Platform” In One Slide ComputeWeb Role
Worker Role
VM RoleStorageTables
Blobs
QueuesVirtual NetworkConnect
Traffic ManagerReportingDatabaseData SyncAccess ControlService BusCaching
AgendaWindows Azure Platform In One SlideWhat is Windows Azure AppFabric?Identity and Access ControlService BusCaching
Motivating ChallengesHow do you expose your software to users outside of your organization?Can they use their existing identities? Social identities?How do you integrate with components outside your corporate network?What about smaller, non-enterprise customers?How do you reduce latency and increase performance?Access ControlService BusCaching
What is Windows Azure AppFabric?Comprehensive building block services / middleware for developing, deploying, and managing appGoalsExtend .NET technologies to the cloudIncrease developer productivityBridge existing applications to the cloudOpen and accessible service APIREST, SOAP, RSS, AtomPub, …Class libraries for .NET, Java, PHP, Ruby,
AgendaWindows Azure Platform In One SlideWhat is Windows Azure AppFabric?Identity and Access ControlService BusCaching
Identity – Stuff to think aboutLogin / Federated LoginAuthenticationAuthorizationUsername & PasswordMembership DatabaseIdentity ProvidersSingle Sign OnTokens & Its FormatSecurity & CertificateAnd the list goes on…
Single Identity ApproachThe site is the Identity ProviderI have 100s of these identities“island of identity”It’s annoying
Using a 3rd partyPick a 3rd party, rely on itSomewhat limiting, but a step in the right directionTypically “claim-based”
Claim-based Identity Term DefinitionsRelying PartyYour application that rely on IdP for authentication and authorizationIdentity Provider (IdP)Third party service that will authenticate your usersEx: GoogleID, WindowsLiveID, Yahoo!, or even your appClaimsA statement that one subject makes about itself or another subject.E.g. : name, email, groups, privilege, etc…Security TokenA piece of token representation of claims that is cryptographically signed by the issuer Security Token Service (STS)A service that issues claims and packages them in encrypted security tokens
Typical Claims-based App SequenceBrowserIdentity Provider / STSApplication (Relying Party)1. Request Resource2. Redirect to Identity Provider4. Authenticate &   Issue Token3. Login5. Redirect to Relying Party7. Validate     Token6. Send Token to Relying Party8. Return resource representation
But… I want more IdP…I want my user, can log-in withChallenges:Deal directly with different IdPDeal directly with different Security Token Format?Deal directly with different ProtocolDeal directly with different …EnterpriseActive Directory
Access Control ServiceIntegration SSO and centralized auth into your web Hides one layer of abstractionJust to deal with ACS, not with many IdPAccess Control ServiceYour App….ADFS 2.0
Access Control Website SequenceBrowserIdentity Provider / STSAccess ControlApplication (Relying Party)1. Request Resource2. Redirect to Identity Provider4. Authenticate &   Issue Token3. Login5. Redirect to AC service7. Validate Token, Run Rules Engine,   Issue Token     6. Send Token to ACS8. Redirect to RP with ACS Token10. Validate     Token9. Send ACS Token to Relying Party11. Return resource representation
Access Control FeaturesIntegrates with Windows Identity Foundation and toolingClaims-based access controlSupport for OAuth WRAP, WS-Trust, and WS-Federation protocolsSupport for the SAML 1.1, SAML 2.0, and Simple Web Token token formatsIntegrated and customizable Home Realm DiscoveryOData-based Management Service to ACS configuration
demoAccess Control Service- Preparing simple app- Setting up ACS account- Add STS Ref- Security Token Visualizer- Simple Authorization
AgendaWindows Azure Platform In One SlideWhat is Windows Azure AppFabric?Identity and Access ControlService BusCaching
Service BusProvides secure messaging and connectivity across different network topologiesEnables hybrid applications that span on-premises and the cloudEnables various communication protocols and patterns for developers to engage in reliable messaging
… and here’s why this is interesting … Existing code, not designed for the cloud Things you can’t run in the cloud Things you might not want to run in the cloud
Enabling hybrid applicationsDatacenterPartnerLOB appMobile DeviceLOB web service
Enabling hybrid applicationsPartnerDatacenterACSLOB appSBMobile DeviceLOB web service
Enabling hybrid applicationsDatacenterPartnerACSLOB appSBMobile DeviceLOB web service
Enabling hybrid applicationsDatacenterPartnerACSLOB appSBMobile DeviceLOB web service
RelayRelay Connectionshttp://{account}.servicebus.windows.net/a/bOutbound SSL TCP connection to relay rendezvous endpointReceiver can also listen overHTTP to overcome port restrictionson the receiving side (“Web sockets”)One-Way Messagesthrough TCP TunnelSenderReceiver
RelayDirect Connectionshttp://{account}.servicebus.windows.net/a/b- Outbound SSL TCP connection to relay - Out-of-band protocol to negotiate Direct ConnectionSenderReceiverUpgrade to direct connection when possible
RelayEventing: Publish/Subscribehttp://{account}.servicebus.windows.net/a/bOutbound SSL TCPconnection to relay rendezvous endpointOne-way messagesthrough TCP TunnelSenderReceiverReceiverReceiverReceiver
Have a Service Listen on the SBListen on SB addressEnable ACS Auth behaviorUse a ‘relay’ binding
Connect to a Service as a ClientAgain, just use a SB address and bindingUse a behavior to handle ACS authorization
demoService Bus- Local Svc Hosted on IIS- Exposing WCF to Service Bus- Establishing Direct Connection- Eventing
AgendaWindows Azure Platform In One SlideWhat is Windows Azure AppFabric?Identity and Access ControlService BusCaching
Latency PyramidMemoryWindows Azure AppFabric Caching (local cache)Lowest latencyNetworkWindows Azure AppFabric Caching (distributed cache)Lower latencyDiskHighest latencyStorage
What is the Caching service?A distributed, in-memory cache for applications running in Windows Azure:In-memory cache located near your Windows Azure applicationsSimple administrationBased on Windows Server AppFabricCachingBenefits:Highly scalable 64-bit caching solution with low latency and high throughputCan dynamically increase and decrease as needed, without redeploying or modifying your applicationDoesn’t have to bother with configuration, deployment, or management of their cache infrastructure
Windows Azure AppFabric Caching DifferentiatorsBuilt-in ASP.NET providers for session state & page outputExtreme low latency with the local cache Caches any managed object (CLR objects, rows, XML, Binary Data…)Only requirement is that the object should be serializableEasily integrates into existing applicationsSecured by the Access Control Service
Anatomy of A Distributed CacheCache footprint or bandwidth requirement may grow beyond a single VMDistributed caches scale outMultiple role instances may be cache clientsClients access the cache as if it was a single large namespaceUnified Cache ViewCache layer distributes data across the various cache instances

More Related Content

PPTX
Windows Azure AppFabric
PPTX
Introduction to Windows Azure AppFabric Applications
PPTX
Windows Azure
PPTX
Azure basics
PPTX
App fabric introduction
PPT
PPT with Flash ry
PPTX
Integration of mule esb with microsoft azure
PPTX
MVC-3 Vs Webform
Windows Azure AppFabric
Introduction to Windows Azure AppFabric Applications
Windows Azure
Azure basics
App fabric introduction
PPT with Flash ry
Integration of mule esb with microsoft azure
MVC-3 Vs Webform

What's hot (20)

PPTX
Microservices and Azure App Services
PPT
WaveMaker Presentation
PPT
WAD - WaveMaker tutorial
PPT
WaveMaker tutorial with Flash
PPTX
Azure servicefabric
PDF
Azure paa s v2 – microservices, microsoft (azure) service fabric, .apps and o...
PPT
Docker Service Broker for Cloud Foundry
PPT
DOSUG Tech Overview of XAware
PPT
Overview Of Xaware
PPTX
Build a SharePoint website in 60 minutes
PPTX
PPTX
Building high scale, highly available websites in SharePoint 2010
PPT
The complete ASP.NET (IIS) Tutorial with code example in power point slide show
PPTX
Microsoft cloud integration patterns - BizTalk/Azure
PPTX
Azure Service Fabric and the Actor Model: when did we forget Object Orientation?
PPTX
Serverless Computing With Azure Functions
PPTX
Windows Server AppFabric Caching - What it is & when you should use it?
PPTX
Sitecore Security Overview
PPTX
Active Directory Single Sign-On with IBM
PPTX
Cloud Foundry Roadmap (Cloud Foundry Summit 2014)
Microservices and Azure App Services
WaveMaker Presentation
WAD - WaveMaker tutorial
WaveMaker tutorial with Flash
Azure servicefabric
Azure paa s v2 – microservices, microsoft (azure) service fabric, .apps and o...
Docker Service Broker for Cloud Foundry
DOSUG Tech Overview of XAware
Overview Of Xaware
Build a SharePoint website in 60 minutes
Building high scale, highly available websites in SharePoint 2010
The complete ASP.NET (IIS) Tutorial with code example in power point slide show
Microsoft cloud integration patterns - BizTalk/Azure
Azure Service Fabric and the Actor Model: when did we forget Object Orientation?
Serverless Computing With Azure Functions
Windows Server AppFabric Caching - What it is & when you should use it?
Sitecore Security Overview
Active Directory Single Sign-On with IBM
Cloud Foundry Roadmap (Cloud Foundry Summit 2014)
Ad

Viewers also liked (8)

PDF
1210138149
PDF
Algoritma Gost ( Computer Scurity )
PPTX
Agile in Action - Act 2: Development
PDF
Active Directory Upgrade
PDF
01 server manager spiffy
PDF
Checking the health of your active directory enviornment
1210138149
Algoritma Gost ( Computer Scurity )
Agile in Action - Act 2: Development
Active Directory Upgrade
01 server manager spiffy
Checking the health of your active directory enviornment
Ad

Similar to CTU June 2011 - Windows Azure App Fabric (20)

PPTX
Windows Azure
PPTX
Microsoft Windows Azure Platform Appfabric for Technical Decision Makers
PPTX
Developing and deploying Identity-enabled applications for the cloud
PPT
ArcReady - Architecting For The Cloud
PPTX
Build intelligent solutions using ms azure
PPTX
Azure Active Directory - An Introduction for Developers
PPTX
Azure Mobile Services Workshop
PPTX
Clouds clouds everywhere
PPTX
Put Your Existing Application On Windows Azure
PPT
Arc Ready Cloud Computing
PPTX
Build intelligent solutions using Azure
PPTX
Cloud application architecture with sql azure and windows azure
PPTX
Sky High With Azure
PPTX
Análisis de riesgos en Azure y protección de la información
PPTX
Build and Deploy LightSwitch Application on Windows Azure
DOCX
Asp interview Question and Answer
PPTX
TDC2017 | Florianopolis - Trilha DevOps How we figured out we had a SRE team ...
PPTX
Introduction To Cloud Computing
PPTX
Windows azure pack overview
Windows Azure
Microsoft Windows Azure Platform Appfabric for Technical Decision Makers
Developing and deploying Identity-enabled applications for the cloud
ArcReady - Architecting For The Cloud
Build intelligent solutions using ms azure
Azure Active Directory - An Introduction for Developers
Azure Mobile Services Workshop
Clouds clouds everywhere
Put Your Existing Application On Windows Azure
Arc Ready Cloud Computing
Build intelligent solutions using Azure
Cloud application architecture with sql azure and windows azure
Sky High With Azure
Análisis de riesgos en Azure y protección de la información
Build and Deploy LightSwitch Application on Windows Azure
Asp interview Question and Answer
TDC2017 | Florianopolis - Trilha DevOps How we figured out we had a SRE team ...
Introduction To Cloud Computing
Windows azure pack overview

More from Spiffy (20)

PDF
Agile in Action - Act 3: Testing
PPTX
Agile in Action - Keynote: Becoming and Being Agile - What Does This Mean?
PPTX
Agile in Action - Act 1 (Set Up, Planning, Requirements and Architecture)
PDF
MS TechDays 2011 - WCF Web APis There's a URI for That
PDF
MS TechDays 2011 - NUI, Gooey and Louie
PDF
MS TechDays 2011 - Mango, Mango! Developing for Windows Phone 7
PDF
MS TechDays 2011 - Generate Revenue on Azure
PDF
MS TechDays 2011 - HTML 5 All the Awesome Bits
PDF
MS TechDays 2011 - Cloud Computing with the Windows Azure Platform
PDF
MS TechDays 2011 - Simplified Converged Infrastructure Solutions
PDF
MS TechDays 2011 - SCDPM 2012 The New Feature of Data Protection
PDF
MS TechDays 2011 - Microsoft Exchange Server and Office 365 Hybrid Deployment
PDF
MS TechDays 2011 - How to Run Middleware in the Cloud Story of Windows Azure ...
PDF
MS TechDays 2011 - Cloud Management with System Center Application Controller
PDF
MS TechDays 2011 - Virtualization Solutions to Optimize Performance
PDF
MS TechDays 2011 - Automating Your Infrastructure System Center Orchestrator ...
PDF
MS TechDays 2011 - Self-Service Private Cloud Management through Integrated P...
PDF
MS TechDays 2011 - SCVMM 2012 Building of Private Clouds and Federation to th...
PDF
MS TechDays 2011 - Operation Manager 2012 - New features to Enhance Enterpris...
PDF
MS TechDays 2011 - Configuration Manager 2012 Technical Overview
Agile in Action - Act 3: Testing
Agile in Action - Keynote: Becoming and Being Agile - What Does This Mean?
Agile in Action - Act 1 (Set Up, Planning, Requirements and Architecture)
MS TechDays 2011 - WCF Web APis There's a URI for That
MS TechDays 2011 - NUI, Gooey and Louie
MS TechDays 2011 - Mango, Mango! Developing for Windows Phone 7
MS TechDays 2011 - Generate Revenue on Azure
MS TechDays 2011 - HTML 5 All the Awesome Bits
MS TechDays 2011 - Cloud Computing with the Windows Azure Platform
MS TechDays 2011 - Simplified Converged Infrastructure Solutions
MS TechDays 2011 - SCDPM 2012 The New Feature of Data Protection
MS TechDays 2011 - Microsoft Exchange Server and Office 365 Hybrid Deployment
MS TechDays 2011 - How to Run Middleware in the Cloud Story of Windows Azure ...
MS TechDays 2011 - Cloud Management with System Center Application Controller
MS TechDays 2011 - Virtualization Solutions to Optimize Performance
MS TechDays 2011 - Automating Your Infrastructure System Center Orchestrator ...
MS TechDays 2011 - Self-Service Private Cloud Management through Integrated P...
MS TechDays 2011 - SCVMM 2012 Building of Private Clouds and Federation to th...
MS TechDays 2011 - Operation Manager 2012 - New features to Enhance Enterpris...
MS TechDays 2011 - Configuration Manager 2012 Technical Overview

Recently uploaded (20)

PDF
A Late Bloomer's Guide to GenAI: Ethics, Bias, and Effective Prompting - Boha...
PPTX
Configure Apache Mutual Authentication
PPTX
Chapter 5: Probability Theory and Statistics
PDF
Hybrid horned lizard optimization algorithm-aquila optimizer for DC motor
PPTX
AI IN MARKETING- PRESENTED BY ANWAR KABIR 1st June 2025.pptx
PDF
Taming the Chaos: How to Turn Unstructured Data into Decisions
PPT
Galois Field Theory of Risk: A Perspective, Protocol, and Mathematical Backgr...
PPTX
Modernising the Digital Integration Hub
PDF
sustainability-14-14877-v2.pddhzftheheeeee
PDF
Abstractive summarization using multilingual text-to-text transfer transforme...
PDF
Zenith AI: Advanced Artificial Intelligence
PDF
A proposed approach for plagiarism detection in Myanmar Unicode text
PDF
Convolutional neural network based encoder-decoder for efficient real-time ob...
PDF
sbt 2.0: go big (Scala Days 2025 edition)
PDF
A contest of sentiment analysis: k-nearest neighbor versus neural network
PDF
Consumable AI The What, Why & How for Small Teams.pdf
PPTX
The various Industrial Revolutions .pptx
PDF
NewMind AI Weekly Chronicles – August ’25 Week III
PDF
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
PPT
Geologic Time for studying geology for geologist
A Late Bloomer's Guide to GenAI: Ethics, Bias, and Effective Prompting - Boha...
Configure Apache Mutual Authentication
Chapter 5: Probability Theory and Statistics
Hybrid horned lizard optimization algorithm-aquila optimizer for DC motor
AI IN MARKETING- PRESENTED BY ANWAR KABIR 1st June 2025.pptx
Taming the Chaos: How to Turn Unstructured Data into Decisions
Galois Field Theory of Risk: A Perspective, Protocol, and Mathematical Backgr...
Modernising the Digital Integration Hub
sustainability-14-14877-v2.pddhzftheheeeee
Abstractive summarization using multilingual text-to-text transfer transforme...
Zenith AI: Advanced Artificial Intelligence
A proposed approach for plagiarism detection in Myanmar Unicode text
Convolutional neural network based encoder-decoder for efficient real-time ob...
sbt 2.0: go big (Scala Days 2025 edition)
A contest of sentiment analysis: k-nearest neighbor versus neural network
Consumable AI The What, Why & How for Small Teams.pdf
The various Industrial Revolutions .pptx
NewMind AI Weekly Chronicles – August ’25 Week III
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
Geologic Time for studying geology for geologist

CTU June 2011 - Windows Azure App Fabric

  • 1. A Lap AroundWindows Azure AppFabricWely LauMicrosoft MVP, Windows Azure“Cloud” Architect, NCSEmail : wely@ncs.com.sgBlog: http://wely-lau.net/
  • 2. AgendaWindows Azure Platform In One SlideWhat is Windows Azure AppFabric?Identity and Access ControlService BusCaching
  • 3. “Windows Azure Platform” In One Slide ComputeWeb Role
  • 9. AgendaWindows Azure Platform In One SlideWhat is Windows Azure AppFabric?Identity and Access ControlService BusCaching
  • 10. Motivating ChallengesHow do you expose your software to users outside of your organization?Can they use their existing identities? Social identities?How do you integrate with components outside your corporate network?What about smaller, non-enterprise customers?How do you reduce latency and increase performance?Access ControlService BusCaching
  • 11. What is Windows Azure AppFabric?Comprehensive building block services / middleware for developing, deploying, and managing appGoalsExtend .NET technologies to the cloudIncrease developer productivityBridge existing applications to the cloudOpen and accessible service APIREST, SOAP, RSS, AtomPub, …Class libraries for .NET, Java, PHP, Ruby,
  • 12. AgendaWindows Azure Platform In One SlideWhat is Windows Azure AppFabric?Identity and Access ControlService BusCaching
  • 13. Identity – Stuff to think aboutLogin / Federated LoginAuthenticationAuthorizationUsername & PasswordMembership DatabaseIdentity ProvidersSingle Sign OnTokens & Its FormatSecurity & CertificateAnd the list goes on…
  • 14. Single Identity ApproachThe site is the Identity ProviderI have 100s of these identities“island of identity”It’s annoying
  • 15. Using a 3rd partyPick a 3rd party, rely on itSomewhat limiting, but a step in the right directionTypically “claim-based”
  • 16. Claim-based Identity Term DefinitionsRelying PartyYour application that rely on IdP for authentication and authorizationIdentity Provider (IdP)Third party service that will authenticate your usersEx: GoogleID, WindowsLiveID, Yahoo!, or even your appClaimsA statement that one subject makes about itself or another subject.E.g. : name, email, groups, privilege, etc…Security TokenA piece of token representation of claims that is cryptographically signed by the issuer Security Token Service (STS)A service that issues claims and packages them in encrypted security tokens
  • 17. Typical Claims-based App SequenceBrowserIdentity Provider / STSApplication (Relying Party)1. Request Resource2. Redirect to Identity Provider4. Authenticate & Issue Token3. Login5. Redirect to Relying Party7. Validate Token6. Send Token to Relying Party8. Return resource representation
  • 18. But… I want more IdP…I want my user, can log-in withChallenges:Deal directly with different IdPDeal directly with different Security Token Format?Deal directly with different ProtocolDeal directly with different …EnterpriseActive Directory
  • 19. Access Control ServiceIntegration SSO and centralized auth into your web Hides one layer of abstractionJust to deal with ACS, not with many IdPAccess Control ServiceYour App….ADFS 2.0
  • 20. Access Control Website SequenceBrowserIdentity Provider / STSAccess ControlApplication (Relying Party)1. Request Resource2. Redirect to Identity Provider4. Authenticate & Issue Token3. Login5. Redirect to AC service7. Validate Token, Run Rules Engine, Issue Token 6. Send Token to ACS8. Redirect to RP with ACS Token10. Validate Token9. Send ACS Token to Relying Party11. Return resource representation
  • 21. Access Control FeaturesIntegrates with Windows Identity Foundation and toolingClaims-based access controlSupport for OAuth WRAP, WS-Trust, and WS-Federation protocolsSupport for the SAML 1.1, SAML 2.0, and Simple Web Token token formatsIntegrated and customizable Home Realm DiscoveryOData-based Management Service to ACS configuration
  • 22. demoAccess Control Service- Preparing simple app- Setting up ACS account- Add STS Ref- Security Token Visualizer- Simple Authorization
  • 23. AgendaWindows Azure Platform In One SlideWhat is Windows Azure AppFabric?Identity and Access ControlService BusCaching
  • 24. Service BusProvides secure messaging and connectivity across different network topologiesEnables hybrid applications that span on-premises and the cloudEnables various communication protocols and patterns for developers to engage in reliable messaging
  • 25. … and here’s why this is interesting … Existing code, not designed for the cloud Things you can’t run in the cloud Things you might not want to run in the cloud
  • 26. Enabling hybrid applicationsDatacenterPartnerLOB appMobile DeviceLOB web service
  • 27. Enabling hybrid applicationsPartnerDatacenterACSLOB appSBMobile DeviceLOB web service
  • 28. Enabling hybrid applicationsDatacenterPartnerACSLOB appSBMobile DeviceLOB web service
  • 29. Enabling hybrid applicationsDatacenterPartnerACSLOB appSBMobile DeviceLOB web service
  • 30. RelayRelay Connectionshttp://{account}.servicebus.windows.net/a/bOutbound SSL TCP connection to relay rendezvous endpointReceiver can also listen overHTTP to overcome port restrictionson the receiving side (“Web sockets”)One-Way Messagesthrough TCP TunnelSenderReceiver
  • 31. RelayDirect Connectionshttp://{account}.servicebus.windows.net/a/b- Outbound SSL TCP connection to relay - Out-of-band protocol to negotiate Direct ConnectionSenderReceiverUpgrade to direct connection when possible
  • 32. RelayEventing: Publish/Subscribehttp://{account}.servicebus.windows.net/a/bOutbound SSL TCPconnection to relay rendezvous endpointOne-way messagesthrough TCP TunnelSenderReceiverReceiverReceiverReceiver
  • 33. Have a Service Listen on the SBListen on SB addressEnable ACS Auth behaviorUse a ‘relay’ binding
  • 34. Connect to a Service as a ClientAgain, just use a SB address and bindingUse a behavior to handle ACS authorization
  • 35. demoService Bus- Local Svc Hosted on IIS- Exposing WCF to Service Bus- Establishing Direct Connection- Eventing
  • 36. AgendaWindows Azure Platform In One SlideWhat is Windows Azure AppFabric?Identity and Access ControlService BusCaching
  • 37. Latency PyramidMemoryWindows Azure AppFabric Caching (local cache)Lowest latencyNetworkWindows Azure AppFabric Caching (distributed cache)Lower latencyDiskHighest latencyStorage
  • 38. What is the Caching service?A distributed, in-memory cache for applications running in Windows Azure:In-memory cache located near your Windows Azure applicationsSimple administrationBased on Windows Server AppFabricCachingBenefits:Highly scalable 64-bit caching solution with low latency and high throughputCan dynamically increase and decrease as needed, without redeploying or modifying your applicationDoesn’t have to bother with configuration, deployment, or management of their cache infrastructure
  • 39. Windows Azure AppFabric Caching DifferentiatorsBuilt-in ASP.NET providers for session state & page outputExtreme low latency with the local cache Caches any managed object (CLR objects, rows, XML, Binary Data…)Only requirement is that the object should be serializableEasily integrates into existing applicationsSecured by the Access Control Service
  • 40. Anatomy of A Distributed CacheCache footprint or bandwidth requirement may grow beyond a single VMDistributed caches scale outMultiple role instances may be cache clientsClients access the cache as if it was a single large namespaceUnified Cache ViewCache layer distributes data across the various cache instances
  • 41. Caching FeaturesASP.NET providers for session state and page output cachingCache any managed objectNo object size limitsNo serialization costs for local cachingEasily integrates into existing applicationsSecured by Access Control
  • 42. Windows Azure Session StateWindows Azure Load Balancer uses round-robin allocation. Session state must persist to client or storage on every requestsession[“foo”] = 1;session[“foo”] = 2;LBWhat is the value of session[“foo”]?
  • 43. AppFabric Caching Session StateSession state stored using Windows Azure AppFabric Caching and an out-of-the-box session state providersession[“foo”] = 1;session[“foo”] = 2;LBWhat is the value of session[“foo”]?AppFabric Caching
  • 44. demoCaching- Standard data cache API- Measuring data throughput- “built-in” Session Cache Provider

Editor's Notes

  • #35: There’s a number of things that I’d like to point out to you before we break into a demo.First, the caching service comes with out-of-the-box ASP.NET providers for both session state and page output caching. This makes it extremely easy to quickly speed up your existing applications by leveraging these providers and updating your web.config files. You can also leverage the local cache, which stores data on the client to speed up access to data retrieved from the Caching service.You can cache any managed object, with no object size limits. Also, when you leverage the local caching option, you won’t pay any serialization costs, as the data will stay on the client. This can make for some extremely fast solutions.You will leverage the exact same APIs you have used with Windows Server AppFabric Caching, which are .NET assemblies. This makes it very easy to get going.The Caching service is secured by the Access Control Service. Through config or at runtime, you simply specific an ACS token that is used for authentication.Finally, as we move towards commercial launch, we’ll add many of the features that make Windows Server AppFabric Caching extremely popular, such as High Availability, which minimizes data loss by persisting the cache, regions for partitioning and co-locating data, the ability to emit notifications to clients when then need to refresh their local cache, and more.
  • #38: Slide ObjectiveExplains the operation of Session state in Windows Azure multi instance rolesSpeaking NotesMust move session state off the Web Role instances In this animationFirst request hits one instanceSubsequent request hits another instanceAt the end of the animation the value of Foo is hard to determine.Is it 1, 2 or null?Will depend on which server the LB routes our request toNotes