申请微软Azure(云服务) 免费账号和安装Application Insight(网站健康监控)

本文介绍如何通过Microsoft Azure创建免费账号,并在云环境中部署ASP.NET Web应用程序。包括使用Visual Studio 2015安装Application Insights进行健康监控的具体步骤。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

申请微软Azure(云服务) 免费账号和安装Application Insight(网站健康监控)

1. https://imagine.microsoft.com  注册学生账号并激活左下角 Azure 需要手机,邮件校验,无需信用卡。
2. 安装VS2015 和 Azure SDK for .NET v2.9
3. 打开VS2015, File > New > Project > Web > ASP.NET Web Application (under the Visual C#),
     a.  上方选择 .NET Framework 4.5.2  
     b.  右边选择账号,Add Application Insights  选勾
     下一页, 选择MVC, 右侧有Microsoft Azure,    Host in the cloud 选勾

     选择App Service  按 OK
     建立 App Service, 右上方选择Azure账号,
     输入Web App Name (唯一azurewebsites.net), 
     选择建立组和App Service Plan (默认选项)
     按OK 建立完成。

  Cloud Explorer 窗口可看到已经建立的内容
  Solution Explorer 在 project 名下,鼠标右键,选择 Publish.

4. 登录 https://portal.azure.com/ 查看虚拟机已经安装好。

【Application Insight】- VS 命令行窗口下输入
Install-Package Microsoft.ApplicationInsights.Web   //安装软件包

VS2015 ->tools->Extensions and updats->online-> 查找 insight-》安装:
(Microsoft Corporation) Developer Analytics Tools V7080927.1

抬头Project 菜单下和鼠标右手菜单会出现 Application insight

重新启动VS, 

详细可参考: Creating a virtual machine for a web application with Visual Studio
https://azure.microsoft.com/en-us/documentation/articles/virtual-machines-windows-classic-web-app-visual-studio/
https://azure.microsoft.com/en-gb/documentation/articles/web-sites-dotnet-get-started/



评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值