Tech·Ed North America 2009 11/19/2018 12:44 PM © 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.
Model View Controller on Azure: Getting Development Done Tech·Ed North America 2009 11/19/2018 12:44 PM Model View Controller on Azure: Getting Development Done Steven Smith Principal Consultant NimblePros.com DTL335 © 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.
Complete an evaluation on CommNet and enter to win! Required Slide Complete an evaluation on CommNet and enter to win!
11/19/2018 12:44 PM demo © 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.
The Cloud Is Coming
Microsoft ASP.NET Connections Agenda What Is Azure? Web Applications Worker Roles Storage Other Services Code Updates will be available at http://www.devconnections.com/updates/LasVegas _06/ASP_Connections
What Is Azure? http://azure.com
Azure Services Platform
Why? Scalability Availability As you need it
Web Applications Utilize ASP.NET and Visual Studio Skills Test and Debug Locally Simple Deployment Configurable Scale and Simple Maintenance
ASP.NET MVC Model – View – Controller Pattern Supports Separation of Concerns Testability DRY – Don’t Repeat Yourself Easily Configured to Work with Azure Web Roles
demo Building a Web Role 11/19/2018 12:44 PM © 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.
Worker Roles Similar to an always-running console application Configurable Number of Nodes Cannot directly be referenced by other applications Communicate via Azure Storage
demo Building a Worker Role 11/19/2018 12:44 PM © 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.
Durable Storage Tables Queues Blobs Simple Interface REST ADO.NET Data Services …
Web / Worker Role Communication Default.aspx Worker.cs LB Simple queue interface Storage (Blobs, Tables, Queues)
Important Tools CloudDrive (ps1) DevTableGen (exe) Lets you mount storage as file system drives Requires Powershell DevTableGen (exe) Currently required to configure Table storage locally in SqlExpress
Modeling Storage in MVC Hide data access behind abstraction IFooRepository or similar Inject abstractions into Controller Where it makes sense, map Model classes to ViewModel classes
Communicating Between Web and Worker Roles 11/19/2018 12:44 PM demo Communicating Between Web and Worker Roles © 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.
Debugging Local Debugging What about in the cloud? Breakpoints Step through code Inspect variables What about in the cloud?
Logging Obviously you can’t attach a debugger to the cloud Cloud supports simple logging features Logging works locally, too Richer functionality over time
Debugging a Windows Azure Application 11/19/2018 12:44 PM demo Debugging a Windows Azure Application © 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.
Other Services Live Services Microsoft .NET Services Alerts, Contacts, Feeds, Photos, Search, Virtual Earth, Live ID Microsoft .NET Services Access Control, Service Bus, Workflow SQL Data Services (SDS) Now with full TDS support SharePoint and Dynamics CRM Services
Resources Azure.com AzureFeeds.com Steve Marx (MS Azure Team) http://smarx.com Azure Contrib Project http://azurecontrib.codeplex.com MVC Contrib Project http://mvccontrib.codeplex.com Photo Credits http://flickr.com/photos/jamesjordan/2751393381/
Contact Nimble Software Professionals Steve Smith http://NimblePros.com Steve Smith http://SteveSmithBlog.com @ardalis on Twitter
question & answer
Resources Required Slide Speakers, www.microsoft.com/teched TechEd 2009 is not producing a DVD. Please announce that attendees can access session recordings at TechEd Online. Resources www.microsoft.com/teched Sessions On-Demand & Community www.microsoft.com/learning Microsoft Certification & Training Resources http://microsoft.com/technet Resources for IT Professionals http://microsoft.com/msdn Resources for Developers www.microsoft.com/learning Microsoft Certification and Training Resources
Track Resources Visit the DPR TLC for a chance to win a copy of Visual Studio Team Suite. Daily drawing occurs every day in the TLC at 4:15pm. Stop by for a raffle ticket http://www.microsoft.com/visualstudio http://www.microsoft.com/visualstudio/en-us/products/teamsystem/default.mspx Please visit us in the TLC blue area
Required Slide 11/19/2018 12:44 PM © 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.