Homework 9 Blog

The Assignment

Be able to write a complex MVC web application and deploy to the cloud.
Below is the process in deploying HW8 to the cloud using Azure.

Step 1 - navigate to Resource Group
nav to resource group

Step 2 - add Resource Group then hit Create
add a resource group

Step 3 - create an SQL Database
create SQL db

Step 4 - further process of adding an SQL db
add SQL db process

Step 5 - setting up pricing and then hit Create
create SQL db

Step 6 - go to App Services
app services

Step 7 - add a web app through app services
add web app

Step 8 - creating web app
create web app

Step 9 - give web app name and select from existing
web app name and existing resource group

Step 10 - grab the connection string that will be placed in VS MVC app webconfig file
connection string

Step 11 - connection string in MVC app - make sure to add user id and password!
connection string MVC app

Step 12 - App Services and setting the application settings with the connection string and connection string name from webconfig.
app settings
app settings
app settings
app settings
app settings

Step 13 - publishing the app (forgot screen shots) -in VS go to “Build”
-select “Publish Hmwk 8”
-select exisiting
-publish
-select the folder
-then select “OK”

a url will then be created for the published web app on Azure.

Final result
published app