Step 1 Create Azure Cloud Service Project
- Open Visual Studio 2015
- New Project
- Choose Cloud
- Select Azure Cloud Service
- Re-Name(AzureCloudService)
- Click Ok
- Click OK on Add Role
Step 2
- Right Click on Solution
- Add
- Existing Project
- Open Existing Project
- Select Project From Directory
- Select Online Test Exam Project
- Select Project File
Step 3
- Right Click on Role
- Add
- Select Web Role Project in Solution
Step 4
Add References to the Windows Azure specific assemblies
There are 4 differences and they are,
- Microsoft.WindowsAzure.Diagnostics
- Microsoft.WindowsAzure.ServiceRuntime
- Microsoft.WindowsAzure.StorageClient
- Right Click on Online Test Exam Maker Project
- Select Manage NuGet Package
- Click on Browse Tab
- Type AzureSDK2.2DLLs
- Click Install
Step 5 Database Migration
- Create Database Script
- Open http://portal.azure.com
- Select Database
- Create New SQL Azure Database
- Copy Credentials
Step 6
- Open SQL Server Management Studio in your System
- Connect with SQL Azure Database by Entering Credentials copied from Azure Portal
- Open New Query Run the Script
- Change Connection String in web.config
Step 7
- Build the project
- Run the project
- Out put
- Publish at Azure