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

    1. Log into DevOps Portal at https://dev.azure.com
    2. Create a new project, by clicking on the New Project button as shown below

  1. In the next screen, give a project name and click on the Create button

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

2. Visual Studio

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

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

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

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

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

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

  9. Enter a comment and commit the changes as shown below

  10. 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

  1. Now we have uploaded our source code to Azure DevOps Repo, lets build our source code
  2. In the Code, click on the Set up build button

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

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

  5. In the next window, click Save & Queue

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

  7. Once the build is successfull, it is time to Publish

4. Publish to Azure AppService

  1. To create a Release Pipeline, click on the Release button as shown below

  2. In the template window, select Empty Job as shown below

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

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

  7. Now, select Web App on Windows
  8. Next, select a AppService Website as shown below

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

4. Setup a Release

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

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

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

  5. Next, click on the Deploy button as shown below

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

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

  8. Here is the screenshot when the deployment is completed

5. Website

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

Azure DevOps to Azure AppServices的更多相关文章

  1. [Azure Devops] 使用 Azure Boards 管理工作

    1. 什么是 Azure Boards 通过 Azure Boards 网络服务,团队可以管理其软件项目.它提供了丰富的功能,包括 Scrum 和看板的本地支持.可定制的仪表板和集成报告.这些工具可以 ...

  2. [Azure Devops] 使用 Azure Repos 管理代码

    1. 什么是 Azure Repos Azure Repos 是一组版本控制工具,可用于管理代码.无论您的软件项目是大型项目还是小型项目,都应尽快使用版本控制. 版本控制系统是可帮助您跟踪随时间变化对 ...

  3. [Azure Devops] 使用 Azure Pipelines 实现 CI

    1. 什么是 Azure Pipelines Azure Pipelines 会自动构建和测试代码项目,以将其提供给其他人.它适用于任何语言或项目类型.Azure Pipelines 结合了持续集成 ...

  4. 如何将Azure DevOps中的代码发布到Azure App Service中

    标题:如何将Azure DevOps中的代码发布到Azure App Service中 作者:Lamond Lu 背景 最近做了几个项目一直在用Azure DevOps和Azure App Servi ...

  5. Azure DevOps

    Azure DevOps https://azure.microsoft.com/zh-cn/services/devops/ It looks great!

  6. Azure DevOps Server 2019 第一个补丁包(2019.0.1 RTW)

    在Azure DevOps Server 2019正式发布后的2周左右时间,微软快速发布了第一个补丁包Azure DevOps Server 2019.0.1 RTW.Azure DevOps Ser ...

  7. [Microsoft Teams]使用连接器接收Azure Devops的通知

    1. 什么是连接器 连接器(connector)是Teams中频道的一个接受消息的功能,官方的解释如下: 连接器允许用户订阅来自 web 服务的接收通知和消息. 它们公开服务的 HTTPS 终结点,通 ...

  8. Azure DevOps Pipelines执行RobotFramework自动化代码

    一.Azure DevOps介绍 1.什么是 Azure DevOps? Azure DevOps其实是VSTS(Visual Studio Team Service)更名后的名字.而VSTS是TFS ...

  9. Azure Terraform(八)利用Azure DevOps 实现Infra资源和.NET CORE Web 应用程序的持续集成、持续部署

    一,引言 上一篇讲解到利用 Azure DevOps 将整个 Azure Web App,Azure Traffic Manager profile,Azure Storage Account,Azu ...

随机推荐

  1. Asp.Net Core 轻松学-利用xUnit进行主机级别的网络集成测试

    前言     在开发 Asp.Net Core 应用程序的过程中,我们常常需要对业务代码编写单元测试,这种方法既快速又有效,利用单元测试做代码覆盖测试,也是非常必要的事情:但是,但我们需要对系统进行集 ...

  2. RDIFramework.NET V3.3 Web版新增日程管理功能模块

    功能描述 在RDIFramework.NET V3.3 Web版本我们新增了日程管理.基于月.周.日的日历视图,把安排到每一天的具体时间点,让每一天的时间都充分利用:甚至您也可以把个人非工作事项也安排 ...

  3. 推荐一款好用的任务定时器:Quartz

    前言 官网:https://www.quartz-scheduler.net/ 一款开源的任务定时器. 日常有很多地方需要定时刷新的,比如微信开发中的微信API token,或者定时清理一下缓存数据等 ...

  4. SqlServer注意事项总结,高级程序员必背!

    本篇文章主要介绍SqlServer使用时的注意事项. 想成为一个高级程序员,数据库的使用是必须要会的.而数据库的使用纯熟程度,也侧面反映了一个开发的水平. 下面介绍SqlServer在使用和设计的过程 ...

  5. 【带着canvas去流浪(4)】绘制散点图

    目录 一. 任务说明 二. 重点提示 三. 示例代码 四.散点hover交互效果的实现 4.1 基本算法 4.2 参考代码 4.3 Demo中的小问题 示例代码托管在:http://www.githu ...

  6. AppStore IPv6-only审核被拒原因分析及解决方案-a

    Apple关于IPV6规定 日前,苹果公司向开发者发出提醒,公司将会修改应用商店App Store的相关规定,所有IOS应用必须包含对IPv6-only标准的支持.据悉,该规定在6月1日生效,所有提交 ...

  7. nginx系列10:通过upstream模块选择上游服务器和负载均衡策略round-robin

    upstream模块的使用方法 1,使用upstream和server指令来选择上游服务器 这两个指令的语法如下图: 示例: 2,对上游服务使用keepalive长连接 负载均衡策略round-rob ...

  8. 前端入门24-响应式布局(BootStrap)

    声明 本篇内容摘抄自以下两个来源: BootStrap中文网 感谢大佬们的分享. 正文-响应式布局(BootStrap) 这次想来讲讲一个前端开发框架:BootStrap BootStrap 目前已经 ...

  9. C#标识符与关键字

    标识符是指在程序中用来表示实物的单词,是分配给类型(类.结构.枚举.接口或委托).成员.变量或命名空间的名称.有效标识符必须遵循以下原则: 标识符不能以数字开头也不能包含空格: 标识符可以包含大小写字 ...

  10. Python3 字典 items() 方法

    描述 Python 字典 items() 方法以列表返回可遍历的(键, 值) 元组数组. 语法 items()方法语法: dict.items() 参数 NA. 返回值 返回可遍历的(键, 值) 元组 ...