Build and deploy your .NET core App using Azure Pipelines | Devops Tutorial

Описание к видео Build and deploy your .NET core App using Azure Pipelines | Devops Tutorial

Hi All,
In this Video I show you guys to Build and deploy your asp net core app running in IIS using azure pipelines
Azure Devops: http://dev.azure.com
Steps
1. Create Empty Repository in Github
2. Clone this repository in local machine using visual studio 2017
3. Now Sucessfully cloned the github repository in to your local machine
4. Create ASP Dotnet core project in visual studio
5. Let us run to check whether the project is running without any issues.
6. Now Sync the local project into Github repository
7. Sync completed
8. Now go to Azure devops pipeline and create new pipeline for build and deploy dotnet core project in to IIS web server
9. First create new deployment group, this will create a bridge between azure and IIS web server
10. Tick the checkbox "Use a personal access token in the script for authentication" and then copy the script
11. Open powershell in administrator mode and then run the script
12. Now the machine is pared with azure
13. Let us create a new build process
14. Change the steps section in to following
steps:

task: DotNetCoreCLI@2
inputs:
command: publish
publishWebProjects: True
arguments: '--configuration $(BuildConfiguration) --output $(Build.ArtifactStagingDirectory)'
zipAfterPublish: True
task: PublishBuildArtifacts@1
inputs:
pathtoPublish: '$(Build.ArtifactStagingDirectory)'
artifactName: 'myWebsiteName'

15. Now Build process completed
16. Lets create release pipeline
17. Dont forgot to enable trigger to release the build
18. Now check the build and release process, it will triggered
19 Once build completed, automatically the release process starts and deployed the code into server
20 Now new build released into IIS server, let check this in IIS
21 All ready.... and completed
22. every check in will trigger you build and release pipeline and get deployed into your IIS web server.

Thanks for watching this video
Please subscribe and like this video......

Комментарии

Информация по комментариям в разработке