Download presentation
Presentation is loading. Please wait.
Published by儒沣 邬 Modified over 7 years ago
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 Azure
11/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 Architecture
botomatic.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 the
Fabric 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 Key
Development Offline cloud simulation Visual Studio integration Maintenance Local debugging APIs for logging Management APIs for configuration management Web portal
18
What about Full Trust? <WebRole name="WebRole" enableNativeCodeExecution="true">
19
What about PHP? <fastCgi>
<application fullPath = "%RoleRoot%\php\php-cgi.exe" /> </fastCgi>
20
What about PHP? <add name="PHP FastCGI Handler"
verb="*" path="*.php" scriptProcessor = "%RoleRoot%\php\php-cgi.exe" modules="FastCgiModule" resourceType="Unspecified" />
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 application
Stateless 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 REST
demo 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.UserRatingTable
where 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 Together
Web role Worker role Storage LB
31
Tweval.com Architecture
botomatic.com Web Role Worker Role ASP.NET web service .NET twitter.com PHP UI Storage
32
Summary of the New Stuff
Full 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.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.