Azure DevOps to Azure AppServices
Azure DevOps is a complete solution for software development, from planning to building to deployment. It has easy to use interface, with a nice flow from source code to publishing. Here is a nice link that talks about different services within Azure DevOps
Here are quick steps for on demand publishing websites from DevOps to AppService.
In this tutorial, we are going to show how to create a project in DevOps, upload source code to DevOps, build this source code and finally publish it to Azure AppService
1. DevOps Portal
- Log into DevOps Portal at https://dev.azure.com
- Create a new project, by clicking on the New Project button as shown below
![]()
- In the next screen, give a project name and click on the Create button

- Once the project is create, you can clone the repo in Visual Studio as shown below
- If you like to push your existing code to this repo, select 2nd option

2. Visual Studio
- When you click on Clone in Visual Studio, VS will prompt you to select a local path as shown below

- In the Visual Studio, select Team Explorer tab and click on Create a new project as shown below

- In the new project dialog, select Web | ASP.NET Web Application and give a project name as shown below

- In next window, select MVC and click OK button as shown below

- Once the project is created, in the Solution Explorer open View | Shared | _Layout.cshtml page
- Change the application name as shown below

- Now, lets check-in this code
- In the Team Explore, click on the Changes button as shown below

- Enter a comment and commit the changes as shown below

- Browse to the Azure DevOps portal, go to Code tab, you should see the new project files as shown below

3. Setup a Build pipeline in Azure DevOps
- Now we have uploaded our source code to Azure DevOps Repo, lets build our source code
- In the Code, click on the Set up build button

- Select ASP.NET template from the list as shown below

- Change the name and click on Save & Queue as shown below

- In the next window, click Save & Queue

- Once the build is queued, you can click on the build name to get more details as shown below

- Once the build is successfull, it is time to Publish
4. Publish to Azure AppService
- To create a Release Pipeline, click on the Release button as shown below

- In the template window, select Empty Job as shown below

- Next goto Tasks tab and search for Azure AppService
- Select Azure App Service Deploy as shown below

- Click on the Azure App Service Deploy, select Version 4.*(preview)
- Select Azure Subscription and click on the Authorize button

- Now, select Web App on Windows
- Next, select a AppService Website as shown below

- Once the publish settings are done, click on Save as shown below

4. Setup a Release
- Once the publish pipeline is done, you can click on the Create a Release button as shown below

- In the next dialogbox, select Stage 1 and click on Create button

- Now deploy this Release to Azure
- Click on the Release-1as shown below

- Next, click on the Deploy button as shown below

- In the next dialogbox, click on Deploy button as shown below

- This should start the deployment. You can click on the In progress link to get details as shown below

- Here is the screenshot when the deployment is completed

5. Website
- Now browse to your Azure AppService website, you should see the Wabac as shown below

Azure DevOps to Azure AppServices的更多相关文章
- [Azure Devops] 使用 Azure Boards 管理工作
1. 什么是 Azure Boards 通过 Azure Boards 网络服务,团队可以管理其软件项目.它提供了丰富的功能,包括 Scrum 和看板的本地支持.可定制的仪表板和集成报告.这些工具可以 ...
- [Azure Devops] 使用 Azure Repos 管理代码
1. 什么是 Azure Repos Azure Repos 是一组版本控制工具,可用于管理代码.无论您的软件项目是大型项目还是小型项目,都应尽快使用版本控制. 版本控制系统是可帮助您跟踪随时间变化对 ...
- [Azure Devops] 使用 Azure Pipelines 实现 CI
1. 什么是 Azure Pipelines Azure Pipelines 会自动构建和测试代码项目,以将其提供给其他人.它适用于任何语言或项目类型.Azure Pipelines 结合了持续集成 ...
- 如何将Azure DevOps中的代码发布到Azure App Service中
标题:如何将Azure DevOps中的代码发布到Azure App Service中 作者:Lamond Lu 背景 最近做了几个项目一直在用Azure DevOps和Azure App Servi ...
- Azure DevOps
Azure DevOps https://azure.microsoft.com/zh-cn/services/devops/ It looks great!
- Azure DevOps Server 2019 第一个补丁包(2019.0.1 RTW)
在Azure DevOps Server 2019正式发布后的2周左右时间,微软快速发布了第一个补丁包Azure DevOps Server 2019.0.1 RTW.Azure DevOps Ser ...
- [Microsoft Teams]使用连接器接收Azure Devops的通知
1. 什么是连接器 连接器(connector)是Teams中频道的一个接受消息的功能,官方的解释如下: 连接器允许用户订阅来自 web 服务的接收通知和消息. 它们公开服务的 HTTPS 终结点,通 ...
- Azure DevOps Pipelines执行RobotFramework自动化代码
一.Azure DevOps介绍 1.什么是 Azure DevOps? Azure DevOps其实是VSTS(Visual Studio Team Service)更名后的名字.而VSTS是TFS ...
- Azure Terraform(八)利用Azure DevOps 实现Infra资源和.NET CORE Web 应用程序的持续集成、持续部署
一,引言 上一篇讲解到利用 Azure DevOps 将整个 Azure Web App,Azure Traffic Manager profile,Azure Storage Account,Azu ...
随机推荐
- SQL优化 MySQL版 - 避免索引失效原则(一)
避免索引失效原则(一) 精力有限,剩余的失效原则将会在 <避免索引失效原则(二)>中连载出来,请谅解 作者 : Stanley 罗昊 [转载请注明出处和署名,谢谢!] 避免索引失效的一些原 ...
- Python编程从入门到实践笔记——操作列表
Python编程从入门到实践笔记——操作列表 #coding=utf-8 magicians = ['alice','david','carolina'] #遍历整个列表 for magician i ...
- 记一次按需加载和npm模块发布实践
按需加载 在使用 lodash 的时候我们可以使用这样的代码 //一 import {omit} from "lodash"; //二 import l from "lo ...
- Dapper的基本 理论 知识
简述 Dapper是一个轻量级的ORM工具:ORM框架的核心思想是对象关系映射,ORM是将表与表之间的操作,映射成对象和对象之间的操作,就是通过操作实体类来达到操作表的目的.从数据库提取的数据会自动按 ...
- Django学习之九: auth 认证组件
目录 Django auth 认证组件 配置使用auth组件及其中间件 request.user 可以直接在template模版中使用 auth组件常用api 获取认证model类 认证检测装饰器@l ...
- Fundebug支持浏览器报警
摘要: 除了邮件报警和第三方报警,我们新增了浏览器报警功能. 邮件报警与第三方报警 Fundebug是专业的应用BUG监控服务,当您的线上应用,比如网页.小程序.Java等发生BUG时,我们会第一时间 ...
- Uncaught ReferenceError: jQuery is not defined
页面调试时,明明引入了JQ文件,却一直提示Uncaught ReferenceError: jQuery is not defined错误. 转自:http://blog.csdn.net/baicp ...
- 基于Html5 Plus + Vue + Mui 移动App开发(三)-文件操作(读取、保存、更新数据)
随着手机的发展,现在越来越多的人选择在手机上看书.无论是专业书籍.文学.英语还是网络小说,在手机上看新闻成了人们处理零碎时间的办法.在智能手机里安装一个资讯APP,可以随时.随地查看自己想看的资讯 ...
- MyDAL - 组件适用范围说明
索引: 目录索引 一.组件特性简介: 1.MSIL 底层代码采用 System.Reflection.Emit.Lightweight 类库使用 IL 的方式处理 Model 组装,性能刚刚的~ 2. ...
- DataPipeline | 享物说产品负责人夏凯:数据驱动的用户增长实战
夏凯 卡内基梅隆大学计算机系毕业,曾供职于Evernote数据团队和微软Bing.com搜索引擎广告部门.回国后作为早期成员加入小红书,先后从事大数据,用户增长,项目和团队管理等工作. 我最初是在美国 ...