210 likes | 360 Views
Windows Azure Web Sites and On-Premises Connectivity. Brady Gaster Microsoft Corporation. AZR433. Introductions. It’d help if you had some context on who I am and what I do. Program Manager Windows Azure SDK. @ bradygaster. bradygaster.com. bradyg@microsoft.com.
E N D
Windows Azure Web Sitesand On-Premises Connectivity Brady Gaster Microsoft Corporation AZR433
Introductions It’d help if you had some context on who I am and what I do Program Manager Windows Azure SDK @bradygaster bradygaster.com bradyg@microsoft.com 1 Wife, 2 Sons, 2 Chihuahuas 2 Guitars, 3 Microcontrollers
“Web Sites is a Toy” Let’s clear up a few myths about Web Sites No logging or monitoring It’s for blogs & CMS’s Only for startups Lacks on-premises integration Public cloud only No middle tier
Web Sites is a Tool Perfectly capable of helping you build your enterprise.
Scenario: Enterprise Pizza Web Site Corporate Enterprise Pizza Parlor Location Customer orders pizza from web site Order processed and saved Order sent to store for production Customer sees real-time order status Pizzas created and delivered Corporate notified of ingredient need Parlor updates ingredient inventory Web site reflects out-of-stock ingredients
Service Bus Topics for Publish/Subscribe Web Site Corporate Enterprise Pizza Parlor Location Subscribes to Topic“Give me all new ordersthat haven’t been handled” Subscribes to Topic“Give me all orders that arehandled but not yetproduced” Publishes to Topic“Here’s a new order” Receives OrderSaves to database Publishes to Topic“Handled the order, nowthe store needs to make it” Receives OrderDisplays order on screen
What’s wrong with this scenario? All tiers access the database directly
Service Bus Relay for Ingredients Inventory Web Site Corporate Enterprise Pizza Parlor Location Pull Ingredients ListSite called via HTTP to get the list of ingredients & status. Inventory ServiceThe site hosts a servicein the cloud that clients can call. Pull Ingredients ListSite called via HTTP to get the list of ingredients & status. Site DatabaseThe site’s database holds thelist of ingredients and stock status.
Hosting Services in Web Siteswith Service Bus Relay Endpoints Demo
Relaying to On-premise and Cloud Web Site Corporate Enterprise Pizza Parlor Location Inventory ServiceService hosted with Service Bus endpoint Inventory ServiceService hosted with Service Bus endpoint No Bacon?!?!?Employee flags an ingredient as out-of-stock Site DatabaseSite’s database is updatedwith the new inventory details User NotifiedCorporate app notified ofstore running out of ingredient
Hosting Services in On-Premise Apps with Service Bus Relay Endpoints Demo
Real-time Updates from On-Premise Apps Web Site Pizza Parlor Location Order Status ServiceService hosted with Service Bus endpoint Pizza’s ReadyEmployee updates statusof customer order Real-time UpdateUser sees update in their browser in real-time
Rethinking Identity Windows Azure Active Directory
Identity with Office 365 Authenticating users who are members of your O365 domain Visual Studio authenticates against O365 domain O365 domain configuration added to Web.configof web site project Web site published to Windows Azure Users authenticate using their O365 credentials and are validated against the domain
Multi-tenant Identity with WAAD Federate with O365 or On-Premise Active Directory
Resources • Channel 9 Web Sites Screencastshttp://channel9.msdn.com/Series/Windows-Azure-Web-Sites-Tutorials • Subscribe! (Clemens’ Channel 9 show on Service Bus)http://channel9.msdn.com/Blogs/Subscribe • Brady Gaster’s Blog Post on Web Sites & Service Bushttp://www.bradygaster.com/windowsazurewebsites-onprem-servicebus • Scott Woodgate – Building Modern Business Applications (TechEd NA)http://aka.ms/W5yya8 • Brady Gaster – Connecting Web Sites & On-Prem (TechEd NA)http://aka.ms/WebSitesAndOnPrem • Vittorio and Clemens Discuss Windows Azure Active Directoryhttp://aka.ms/waadonch9subscribe
Resources Learning • Sessions on Demand • Virtual Academy http://channel9.msdn.com/Events/TechEd/Australia/2013 http://www.microsoftvirtualacademy.com/ Developer Network TechNet • Resources for IT Professionals • Resources for Developers http://technet.microsoft.com/en-au/ http://msdn.microsoft.com/en-au/
Track Resources • Sign up for a Free Azure Trial: http://www.windowsazure.com/en-us/pricing/free-trial/ • Activate your Azure MSDN Benefits: http://msdn.microsoft.com/dn369243