1 MIX 09 11/30/2017 5:54 AM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
2 Building Web Applications with Windows Azure11/30/2017 5:54 AM Building Web Applications with Windows Azure Steve Marx Technical Strategist Microsoft Corporation © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
3 Evaluate This Talk! (right now)Tweet your eval, e.g. talk is awesome! I give #mix09-smarx a 9.9!” See the results, live(ish): (You still have to fill out regular MIX evals.)
4 Tweval.com Architecturebotomatic.com Web Role Worker Role ASP.NET web service .NET twitter.com PHP UI Storage
5 a place to run your applications.Windows Azure is a place to run your applications.
6 a cloud computing platform, so it’s designed to scale.Windows Azure is a cloud computing platform, so it’s designed to scale.
7 a utility computing platform, so you pay for what you use.Windows Azure is a utility computing platform, so you pay for what you use.
8 Inside are many servers.
9 with VMs running Windows.
10 We call this the Fabric,
11 and it’s where your app runs.Your Application
12 Management tasks are automated by theFabric Controller.
13 You tell the Fabric Controller what to do, and it figures out how to do it.
14 For this to work, you need to tell us about your application.
15 Defining Your Service What are the components (roles)?How do they interact? At what scale? Web role Worker role Web role Worker role Web role Worker role LB
16 demo Let’s Gamble 11/30/2017 5:54 AM© 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
17 Developer Experience is KeyDevelopment Offline cloud simulation Visual Studio integration Maintenance Local debugging APIs for logging Management APIs for configuration management Web portal
18 What about Full Trust?
19 What about PHP?
20 What about PHP?
21 demo Gambling in PHP 11/30/2017 5:54 AM© 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
22 Windows Azure does scale out.
23 ----------------------------- = Scalable applicationStateless compute + Durable storage = Scalable application
24 Storage is just another app.Storage Service
25 Durable Storage Three replicas of everything REST API Blobs Tables… Queues
26 Gambling’s Tiring, Let's RESTdemo Gambling’s Tiring, Let's REST © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
27 Tables in .NET from r in context.UserRatingTablewhere r.PartitionKey=="mix09-smarx" select r
28 Quick and Dirty: Tables in PHP
29 Tables in Python from winazurestorage import *t = TableStorage(srvr,accnt,key) for e in t.get_all("TagRatingTable"): print e.Tweet
30 Putting It All TogetherWeb role Worker role Storage LB
31 Tweval.com Architecturebotomatic.com Web Role Worker Role ASP.NET web service .NET twitter.com PHP UI Storage
32 Summary of the New StuffFull Trust Set a flag to get it Can P/Invoke to native code Tool support for native debugging FastCGI Bring your own runtime IIS URL rewriting
33 11/30/2017 5:54 AM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION. © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.