0
votes

I have to migrate asp.net webform & asp.net MVC websites to Microsoft Azure and most of the webform based website have been created as "website project" in visual studio. and all website use MS SQL Server 2008 R2 as database plus all website use either .net Framework 4.0/4.5.

I confused by reading article regarding migrating webform based website to Azure not working and need code changes and if we use Azure database then we cant use stored procedures etc... this has confused me alot.

So i have few question regarding this.

  1. Can i move asp.net webform 4.0 based website directly to Azure without making any code changes assuming we are connecting to external SQL SERVER 2008.

  2. For first step can which MS SQL Server database i need to choose on Azure so that i can easily restore database in Azure and connect to this database from my local machine using MS Management Studio..

  3. I have heard lot about Azure store files as blob and we need to make change to code to point to new path. What is this Azure blob and why do we need to change code for pointing them blob.

  4. What i have to do keep allowing users from uploading images & document without making any changes in the code..

  5. Does Azure website have always 1 instance running or multiple instance running, i am asking this as our website use InProc session state will i lose session if it is ruuning on multiple instance. or should we prefer SQL Session state in Azure enviroment.

What i should take into consideration for migration current website to Azure.

Will copy pasting all the files in Azure work. Please advise

2
create a (free) account, upload one site and test itThe Bearded Llama
that process should take about 10 minutes maxThe Bearded Llama

2 Answers

1
votes

Depending on how old the ASP.NET webforms projects are, you are going to need to bring them up to date with current security, and anti forgery tokens, etc.

Also if the project was previously a "Website" and not a "Web Application", this is also something that you will need to take into consideration!

I am currently working on upgrading a website to a web application.

This might be a useful website to look through http://www.gregthatcher.com/Azure/Ch7_ConvertWebsiteToWebApplication.aspx

-2
votes

Migrating to Azure is easy , create a Azure account and create the web app which you want to host or create. you can deploy using FTP or use the build and deploy feature in TFS account.

Steps

  1. You need to create web app in your account.
  2. create a DB in azure manually or export your DB to azure from Management studio if you have an existing DB
  3. get the Connection string from the Publish profile from Azure.

  4. Setup the storage account if you want to store files ,images etc.