Download presentation
Presentation is loading. Please wait.
1
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.
2
Model View Controller on Azure: Getting Development Done
Tech·Ed North America 2009 11/19/ :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.
3
Complete an evaluation on CommNet and enter to win!
Required Slide Complete an evaluation on CommNet and enter to win!
4
11/19/ :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.
5
The Cloud Is Coming
6
Microsoft ASP.NET Connections
Agenda What Is Azure? Web Applications Worker Roles Storage Other Services Code Updates will be available at _06/ASP_Connections
7
What Is Azure?
8
Azure Services Platform
9
Why? Scalability Availability As you need it
10
Web Applications Utilize ASP.NET and Visual Studio Skills
Test and Debug Locally Simple Deployment Configurable Scale and Simple Maintenance
11
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
12
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.
13
Worker Roles Similar to an always-running console application
Configurable Number of Nodes Cannot directly be referenced by other applications Communicate via Azure Storage
14
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.
15
Durable Storage Tables Queues Blobs Simple Interface REST
ADO.NET Data Services …
16
Web / Worker Role Communication
Default.aspx Worker.cs LB Simple queue interface Storage (Blobs, Tables, Queues)
17
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
18
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
19
Communicating Between Web and Worker Roles
11/19/ :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.
20
Debugging Local Debugging What about in the cloud? Breakpoints
Step through code Inspect variables What about in the cloud?
21
Logging Obviously you can’t attach a debugger to the cloud
Cloud supports simple logging features Logging works locally, too Richer functionality over time
22
Debugging a Windows Azure Application
11/19/ :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.
23
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
24
Resources Azure.com AzureFeeds.com Steve Marx (MS Azure Team)
Azure Contrib Project MVC Contrib Project Photo Credits
25
Contact Nimble Software Professionals Steve Smith
Steve Smith @ardalis on Twitter
26
question & answer
27
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 Sessions On-Demand & Community Microsoft Certification & Training Resources Resources for IT Professionals Resources for Developers Microsoft Certification and Training Resources
28
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 Please visit us in the TLC blue area
29
Required Slide 11/19/ :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.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.