Basic steps for migrating a simple ASP.NET application to Azure

2,517 views

Published on

This slideshow shows you the basic steps to migrate a simple ASP.NET application to an Azure webrole.

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
2,517
On SlideShare
0
From Embeds
0
Number of Embeds
9
Actions
Shares
0
Downloads
0
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Basic steps for migrating a simple ASP.NET application to Azure

  1. 1. SietoHulst<br />20-04-2010<br />Migrating an ASP.Net application to the Microsoft Azure platform<br />
  2. 2. The ASP.Net application<br />
  3. 3. No. 3<br />The ASP.Net application– Starting point<br />Standard ASP.Net application<br />On er more web application projects<br />Data access and busseniss object projects<br />Ajax and javascript components<br />SQL Server 2005 or 2008 database<br />Several tables already filled with data<br />Primary keys and foreign keys<br />Other Constraints and indexes<br />
  4. 4. Migration<br />
  5. 5. Add a cloud project to the existing solution<br />Add the startup web project as web role to the cloud project<br />Migrate the database to the SQL Azure database<br />Change all the connectionstrings in the project<br />Deploy the cloud application using the Azure control panel<br />No. 5<br />Migration- Steps<br />
  6. 6. Login mechanisme isn’t working<br />Logging<br />Can’t migrate the database to SQL Azure<br />Can’t see the database tables using SQL Server Management Studio<br />No. 6<br />Migration- Problems<br />
  7. 7. Login mechanisme isn’t working<br />Check the mechanisms supported by Azure (f.e. Windows Live Services and Active directory) and change the current login mechanisme.<br />Logging<br />Azure supports almost all conventional logging methods. Choose one to fit your needs.<br />Can’t migrate the database to SQL Azure<br />SQL Azure supports less features then SQL Server 2005 and 2008. Use SQL Azure Migration Wizard (http://sqlazuremw.codeplex.com/) to migrate your database.<br />Can’t see the database tables using SQL Server Management Studio<br />There is no solution for this problem at the moment. You can use SQL Server Management Studio to execute scripts on the SQL Azure database.<br />No. 7<br />Migration- Solutions<br />
  8. 8. Best practices & tools<br />
  9. 9. Check if the current application has functionality that isn’t supported by Azure and solve this before converting the application.<br />Use SQL Azure Migration Wizard to migrate your current database to a SQL Azure database.<br />Incorporate logging in your application (if not already present).<br />If you wan’t to scale your Azure application determine wich parts should be scaled and seperate them from the current application.<br />Write a scaling algorithm to fit your needs.<br />No. 9<br />Best practices & tools<br />

×