Deploying ASP.NET MVC App On Azure

17 篇文章 0 订阅
14 篇文章 0 订阅


Prerequisite & Precondition:

Windows 7 Pro

Visual Studio 2015 Enterprise (Update 3)

SQL Server 2014 Express

The web app is based on ASP. NET MVC 5, Entity Framework, and it has data stored in SQL Server.

The app is not originally created for Azure deployment.

An Azure account has been created with free subscription.


Step1: Creating Web App + SQL Services On Azure


Click the big green cross button, and follow the highlights in the snapshot



Click the Create button


Create Web App:



Select a free plan of course:



Create SQL Service:



And once you get back here, click the Create button



After that, you would see:



Step2: Changing SQL Service Firewall Setting


You need to operate the SQL Service through your local SQL Server Management Studio, and by default, all the ip address are blocked add you need to add your ip address to the white list.



Step3: Publishing your app from Visual Studio 2015


Generate the publishing profile, you will receive a .PublishSettings file



Publish Your App In Visual Studio






Select the .PublishSettings file you just downloaded, and in the following steps, leave the settings as default




Hit on 'Publish', to publish it straight away. Or preview the changes:



There you go, all done.



Another way to publish apps






Afterward Maintenance


Browsing the files under the web app directory through console:








评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值