{"id":53079,"date":"2025-01-28T16:03:33","date_gmt":"2025-01-28T06:03:33","guid":{"rendered":"https:\/\/www.cloudproinc.com.au\/?p=53079"},"modified":"2025-01-28T16:03:35","modified_gmt":"2025-01-28T06:03:35","slug":"running-c-net-applications-in-azure-devops-pipelines","status":"publish","type":"post","link":"https:\/\/cloudproinc.com.au\/index.php\/2025\/01\/28\/running-c-net-applications-in-azure-devops-pipelines\/","title":{"rendered":"Running C# .NET Applications in Azure DevOps Pipelines"},"content":{"rendered":"\n<p>In this blog post, I will show you how to build and run a C# application in Azure DevOps Pipelines.<\/p>\n\n\n\n<!--more-->\n\n\n\n<p class=\"wp-block-yoast-seo-estimated-reading-time yoast-reading-time__wrapper\"><span class=\"yoast-reading-time__icon\"><svg aria-hidden=\"true\" focusable=\"false\" data-icon=\"clock\" width=\"20\" height=\"20\" fill=\"none\" stroke=\"currentColor\" style=\"display:inline-block;vertical-align:-0.1em\" role=\"img\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 24 24\"><path stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z\"><\/path><\/svg><\/span><span class=\"yoast-reading-time__spacer\" style=\"display:inline-block;width:1em\"><\/span><span class=\"yoast-reading-time__descriptive-text\">Estimated reading time: <\/span><span class=\"yoast-reading-time__reading-time\">3<\/span><span class=\"yoast-reading-time__time-unit\"> minutes<\/span><\/p>\n\n\n\n<div class=\"wp-block-yoast-seo-table-of-contents yoast-table-of-contents\"><h2>Table of contents<\/h2><ul><li><a href=\"#h-what-are-azure-pipelines\" data-level=\"2\">What Are Azure Pipelines?<\/a><\/li><li><a href=\"#h-step-1-build-the-console-application\" data-level=\"2\">Step 1: Build the Console Application<\/a><\/li><li><a href=\"#h-step-2-create-a-yaml-pipeline\" data-level=\"2\">Step 2: Create a YAML Pipeline<\/a><\/li><li><a href=\"#h-step-3-create-a-new-pipeline\" data-level=\"2\">Step 3: Create a New Pipeline<\/a><\/li><li><a href=\"#h-pipeline-execution-overview\" data-level=\"2\">Pipeline Execution Overview<\/a><\/li><li><a href=\"#h-summary\" data-level=\"2\">Summary<\/a><\/li><li><a href=\"#h-related-articles\" data-level=\"2\">Related Articles<\/a><\/li><\/ul><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-what-are-azure-pipelines\"><strong>What Are Azure Pipelines?<\/strong><\/h2>\n\n\n\n<p>Azure Pipelines is a cloud service from Microsoft Azure that automates the process of building, testing, and deploying code for applications and infrastructure. It supports a wide variety of programming languages such as .NET, Python, Node.js, PowerShell, Terraform, and more.<\/p>\n\n\n\n<p>Some key features of Azure Pipelines include:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Continuous Integration (CI):<\/strong> Automatically build and test your code on every commit or trigger a manual build.<\/li>\n\n\n\n<li><strong>Continuous Deployment (CD):<\/strong> Deploy applications and infrastructure to public or private clouds.<\/li>\n\n\n\n<li><strong>Multi-platform support:<\/strong> Azure Pipelines supports the building and deployment of applications on Windows, Linux, and macOS.<\/li>\n<\/ul>\n\n\n\n<p>In this post, we&#8217;ll focus on how to use Azure Pipelines to build a C# .NET application.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-step-1-build-the-console-application\"><strong>Step 1: Build the Console Application<\/strong><\/h2>\n\n\n\n<p>To deploy a .NET application to Azure Pipelines, you can use an existing application or create a new console application using the following .NET CLI command:<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-black-background-color has-text-color has-background has-link-color wp-elements-385973bb9f6beb4d3071ad40378bd630\"><code>dotnet new console<\/code><\/pre>\n\n\n\n<p>Once the application is created, push the code to a repository that\u2019s connected to your Azure DevOps project. In this case, I am using Azure Repos.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-step-2-create-a-yaml-pipeline\"><strong>Step 2: Create a YAML Pipeline<\/strong><\/h2>\n\n\n\n<p>Azure Pipelines uses YAML (Yet Another Markup Language) pipelines to define the workflow for building and deploying applications. Below is a sample pipeline that builds a .NET application using the built-in .NET integration.<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-black-background-color has-text-color has-background has-link-color wp-elements-942697e4255fec84a5996cea432b0055\"><code>trigger:\n- master\n\npool:\n  vmImage: 'ubuntu-latest'\n\nvariables:\n  buildConfiguration: 'Release'\n\nsteps:\n- task: UseDotNet@2\n  displayName: 'Install .NET SDK'\n  inputs:\n    packageType: 'sdk'\n    version: '8.x'\n\n- task: DotNetCoreCLI@2\n  displayName: 'Restore dependencies'\n  inputs:\n    command: 'restore'\n    projects: '$(Build.SourcesDirectory)\/AzurePipelines.csproj'\n\n- task: DotNetCoreCLI@2\n  displayName: 'Build'\n  inputs:\n    command: 'build'\n    projects: '$(Build.SourcesDirectory)\/AzurePipelines.csproj'\n    arguments: '--configuration $(buildConfiguration)'\n\n- task: DotNetCoreCLI@2\n  displayName: 'Run the program'\n  inputs:\n    command: 'run'\n    projects: '$(Build.SourcesDirectory)\/AzurePipelines.csproj'\n    arguments: '--configuration $(buildConfiguration)'\n    workingDirectory: '$(Build.SourcesDirectory)'<\/code><\/pre>\n\n\n\n<p>Make sure to replace the .NET SDK version and project name according to your application. If your application uses a solution, change the project path to your solution name (with <code>.sln<\/code> extension).<\/p>\n\n\n\n<p>Once done, push the code changes to your repository.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-step-3-create-a-new-pipeline\"><strong>Step 3: Create a New Pipeline<\/strong><\/h2>\n\n\n\n<p>From the Azure DevOps console, follow these steps to create a new pipeline:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Go to the <strong>Pipelines<\/strong> section.<\/li>\n\n\n\n<li>Click on <strong>New pipeline<\/strong>.<\/li>\n\n\n\n<li>Select your repository from the list.<\/li>\n\n\n\n<li>Choose the <strong>Existing Azure Pipelines YAML file<\/strong> option.<\/li>\n\n\n\n<li>Select the branch and path to the YAML pipeline file.<\/li>\n<\/ol>\n\n\n\n<p>After that, click <strong>Save and Run<\/strong> to build and run the application.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-pipeline-execution-overview\"><strong>Pipeline Execution Overview<\/strong><\/h2>\n\n\n\n<p>Once the pipeline runs, it will go through several steps to build and run your .NET application:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Install the latest .NET SDK on the agent (in this case, Ubuntu Linux).<\/li>\n\n\n\n<li>Restore all required dependencies for the application.<\/li>\n\n\n\n<li>Build the project and get it ready for execution.<\/li>\n\n\n\n<li>Run the program.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-summary\"><strong>Summary<\/strong><\/h2>\n\n\n\n<p>In this post, we covered how to create and run a C# .NET console application using Azure Pipelines on a Linux agent. By utilizing YAML pipelines, you can easily set up the automated building, testing, and deployment of your .NET application.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-related-articles\"><strong>Related Articles<\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-yoast-seo-related-links yoast-seo-related-links\">\n<li><a href=\"https:\/\/cloudproinc.com.au\/index.php\/2024\/08\/01\/automating-access-to-microsoft-graph-api-using-azure-pipelines\/\">Automating Access to Microsoft Graph API Using Azure Pipelines<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.cloudproinc.com.au\/index.php\/2024\/10\/07\/generate-dall-e-images-with-net-c-console-application\/\">Generate DALL-E Images with .NET C# Console Application<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.cloudproinc.com.au\/index.php\/2024\/09\/08\/build-a-conversational-language-bot-with-azure-ai-language\/\">Build a Conversational Language Bot with Azure AI Language<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.cloudproinc.com.au\/index.php\/2024\/10\/07\/use-azure-ai-vision-with-c-to-analyze-images\/\">Use Azure AI Vision With C# to Analyze\u00a0Images<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.cloudproinc.com.au\/index.php\/2024\/09\/13\/effortless-web-app-deployment-with-azure-cli\/\">Effortless Web App Deployment with Azure CLI<\/a><\/li>\n<\/ul>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this blog post, I will show you how to build and run a C# application in Azure DevOps Pipelines.<\/p>\n","protected":false},"author":1,"featured_media":53080,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_yoast_wpseo_focuskw":"Running C# .NET Applications in Azure DevOps Pipelines","_yoast_wpseo_title":"","_yoast_wpseo_metadesc":"Learn how to build and run C# .NET applications in Azure DevOps Pipelines. Automate your code deployment with this powerful cloud service.","_yoast_wpseo_opengraph-title":"","_yoast_wpseo_opengraph-description":"","_yoast_wpseo_twitter-title":"","_yoast_wpseo_twitter-description":"","_et_pb_use_builder":"off","_et_pb_old_content":"","_et_gb_content_width":"","_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[27,13,28],"tags":[],"class_list":["post-53079","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-net","category-blog","category-c"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.3 (Yoast SEO v27.4) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Running C# .NET Applications in Azure DevOps Pipelines - CPI Consulting<\/title>\n<meta name=\"description\" content=\"Learn how to build and run C# .NET applications in Azure DevOps Pipelines. Automate your code deployment with this powerful cloud service.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/cloudproinc.com.au\/index.php\/2025\/01\/28\/running-c-net-applications-in-azure-devops-pipelines\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Running C# .NET Applications in Azure DevOps Pipelines\" \/>\n<meta property=\"og:description\" content=\"Learn how to build and run C# .NET applications in Azure DevOps Pipelines. Automate your code deployment with this powerful cloud service.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/cloudproinc.com.au\/index.php\/2025\/01\/28\/running-c-net-applications-in-azure-devops-pipelines\/\" \/>\n<meta property=\"og:site_name\" content=\"CPI Consulting\" \/>\n<meta property=\"article:published_time\" content=\"2025-01-28T06:03:33+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-01-28T06:03:35+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cloudproinc.com.au\/wp-content\/uploads\/2025\/01\/Running-C-.NET-Applications-in-Azure-DevOps-Pipelines.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"1024\" \/>\n\t<meta property=\"og:image:height\" content=\"1024\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"author\" content=\"CPI Staff\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"CPI Staff\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/cloudproinc.com.au\\\/index.php\\\/2025\\\/01\\\/28\\\/running-c-net-applications-in-azure-devops-pipelines\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/cloudproinc.com.au\\\/index.php\\\/2025\\\/01\\\/28\\\/running-c-net-applications-in-azure-devops-pipelines\\\/\"},\"author\":{\"name\":\"CPI Staff\",\"@id\":\"https:\\\/\\\/cloudproinc.com.au\\\/#\\\/schema\\\/person\\\/192eeeb0ce91062126ce3822ae88fe6e\"},\"headline\":\"Running C# .NET Applications in Azure DevOps Pipelines\",\"datePublished\":\"2025-01-28T06:03:33+00:00\",\"dateModified\":\"2025-01-28T06:03:35+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/cloudproinc.com.au\\\/index.php\\\/2025\\\/01\\\/28\\\/running-c-net-applications-in-azure-devops-pipelines\\\/\"},\"wordCount\":512,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/cloudproinc.com.au\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/cloudproinc.com.au\\\/index.php\\\/2025\\\/01\\\/28\\\/running-c-net-applications-in-azure-devops-pipelines\\\/#primaryimage\"},\"thumbnailUrl\":\"\\\/wp-content\\\/uploads\\\/2025\\\/01\\\/Running-C-.NET-Applications-in-Azure-DevOps-Pipelines.webp\",\"articleSection\":[\".NET\",\"Blog\",\"C#\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/cloudproinc.com.au\\\/index.php\\\/2025\\\/01\\\/28\\\/running-c-net-applications-in-azure-devops-pipelines\\\/#respond\"]}],\"accessibilityFeature\":[\"tableOfContents\"]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/cloudproinc.com.au\\\/index.php\\\/2025\\\/01\\\/28\\\/running-c-net-applications-in-azure-devops-pipelines\\\/\",\"url\":\"https:\\\/\\\/cloudproinc.com.au\\\/index.php\\\/2025\\\/01\\\/28\\\/running-c-net-applications-in-azure-devops-pipelines\\\/\",\"name\":\"Running C# .NET Applications in Azure DevOps Pipelines - CPI Consulting\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/cloudproinc.com.au\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/cloudproinc.com.au\\\/index.php\\\/2025\\\/01\\\/28\\\/running-c-net-applications-in-azure-devops-pipelines\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/cloudproinc.com.au\\\/index.php\\\/2025\\\/01\\\/28\\\/running-c-net-applications-in-azure-devops-pipelines\\\/#primaryimage\"},\"thumbnailUrl\":\"\\\/wp-content\\\/uploads\\\/2025\\\/01\\\/Running-C-.NET-Applications-in-Azure-DevOps-Pipelines.webp\",\"datePublished\":\"2025-01-28T06:03:33+00:00\",\"dateModified\":\"2025-01-28T06:03:35+00:00\",\"description\":\"Learn how to build and run C# .NET applications in Azure DevOps Pipelines. Automate your code deployment with this powerful cloud service.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/cloudproinc.com.au\\\/index.php\\\/2025\\\/01\\\/28\\\/running-c-net-applications-in-azure-devops-pipelines\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/cloudproinc.com.au\\\/index.php\\\/2025\\\/01\\\/28\\\/running-c-net-applications-in-azure-devops-pipelines\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/cloudproinc.com.au\\\/index.php\\\/2025\\\/01\\\/28\\\/running-c-net-applications-in-azure-devops-pipelines\\\/#primaryimage\",\"url\":\"\\\/wp-content\\\/uploads\\\/2025\\\/01\\\/Running-C-.NET-Applications-in-Azure-DevOps-Pipelines.webp\",\"contentUrl\":\"\\\/wp-content\\\/uploads\\\/2025\\\/01\\\/Running-C-.NET-Applications-in-Azure-DevOps-Pipelines.webp\",\"width\":1024,\"height\":1024},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/cloudproinc.com.au\\\/index.php\\\/2025\\\/01\\\/28\\\/running-c-net-applications-in-azure-devops-pipelines\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.cloudproinc.com.au\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Running C# .NET Applications in Azure DevOps Pipelines\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/cloudproinc.com.au\\\/#website\",\"url\":\"https:\\\/\\\/cloudproinc.com.au\\\/\",\"name\":\"Cloud Pro Inc - CPI Consulting Pty Ltd\",\"description\":\"Cloud, AI &amp; Cybersecurity Consulting | Melbourne\",\"publisher\":{\"@id\":\"https:\\\/\\\/cloudproinc.com.au\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/cloudproinc.com.au\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/cloudproinc.com.au\\\/#organization\",\"name\":\"Cloud Pro Inc - Cloud Pro Inc - CPI Consulting Pty Ltd\",\"url\":\"https:\\\/\\\/cloudproinc.com.au\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/cloudproinc.com.au\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"\\\/wp-content\\\/uploads\\\/2022\\\/01\\\/favfinalfile.png\",\"contentUrl\":\"\\\/wp-content\\\/uploads\\\/2022\\\/01\\\/favfinalfile.png\",\"width\":500,\"height\":500,\"caption\":\"Cloud Pro Inc - Cloud Pro Inc - CPI Consulting Pty Ltd\"},\"image\":{\"@id\":\"https:\\\/\\\/cloudproinc.com.au\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/cloudproinc.com.au\\\/#\\\/schema\\\/person\\\/192eeeb0ce91062126ce3822ae88fe6e\",\"name\":\"CPI Staff\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2d96eeb53b791d92c8c50dd667e3beec92c93253bb6ff21c02cfa8ca73665c70?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2d96eeb53b791d92c8c50dd667e3beec92c93253bb6ff21c02cfa8ca73665c70?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2d96eeb53b791d92c8c50dd667e3beec92c93253bb6ff21c02cfa8ca73665c70?s=96&d=mm&r=g\",\"caption\":\"CPI Staff\"},\"sameAs\":[\"http:\\\/\\\/www.cloudproinc.com.au\"],\"url\":\"https:\\\/\\\/cloudproinc.com.au\\\/index.php\\\/author\\\/cpiadmin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Running C# .NET Applications in Azure DevOps Pipelines - CPI Consulting","description":"Learn how to build and run C# .NET applications in Azure DevOps Pipelines. Automate your code deployment with this powerful cloud service.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/cloudproinc.com.au\/index.php\/2025\/01\/28\/running-c-net-applications-in-azure-devops-pipelines\/","og_locale":"en_US","og_type":"article","og_title":"Running C# .NET Applications in Azure DevOps Pipelines","og_description":"Learn how to build and run C# .NET applications in Azure DevOps Pipelines. Automate your code deployment with this powerful cloud service.","og_url":"https:\/\/cloudproinc.com.au\/index.php\/2025\/01\/28\/running-c-net-applications-in-azure-devops-pipelines\/","og_site_name":"CPI Consulting","article_published_time":"2025-01-28T06:03:33+00:00","article_modified_time":"2025-01-28T06:03:35+00:00","og_image":[{"width":1024,"height":1024,"url":"https:\/\/cloudproinc.com.au\/wp-content\/uploads\/2025\/01\/Running-C-.NET-Applications-in-Azure-DevOps-Pipelines.webp","type":"image\/webp"}],"author":"CPI Staff","twitter_card":"summary_large_image","twitter_misc":{"Written by":"CPI Staff","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/cloudproinc.com.au\/index.php\/2025\/01\/28\/running-c-net-applications-in-azure-devops-pipelines\/#article","isPartOf":{"@id":"https:\/\/cloudproinc.com.au\/index.php\/2025\/01\/28\/running-c-net-applications-in-azure-devops-pipelines\/"},"author":{"name":"CPI Staff","@id":"https:\/\/cloudproinc.com.au\/#\/schema\/person\/192eeeb0ce91062126ce3822ae88fe6e"},"headline":"Running C# .NET Applications in Azure DevOps Pipelines","datePublished":"2025-01-28T06:03:33+00:00","dateModified":"2025-01-28T06:03:35+00:00","mainEntityOfPage":{"@id":"https:\/\/cloudproinc.com.au\/index.php\/2025\/01\/28\/running-c-net-applications-in-azure-devops-pipelines\/"},"wordCount":512,"commentCount":0,"publisher":{"@id":"https:\/\/cloudproinc.com.au\/#organization"},"image":{"@id":"https:\/\/cloudproinc.com.au\/index.php\/2025\/01\/28\/running-c-net-applications-in-azure-devops-pipelines\/#primaryimage"},"thumbnailUrl":"\/wp-content\/uploads\/2025\/01\/Running-C-.NET-Applications-in-Azure-DevOps-Pipelines.webp","articleSection":[".NET","Blog","C#"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/cloudproinc.com.au\/index.php\/2025\/01\/28\/running-c-net-applications-in-azure-devops-pipelines\/#respond"]}],"accessibilityFeature":["tableOfContents"]},{"@type":"WebPage","@id":"https:\/\/cloudproinc.com.au\/index.php\/2025\/01\/28\/running-c-net-applications-in-azure-devops-pipelines\/","url":"https:\/\/cloudproinc.com.au\/index.php\/2025\/01\/28\/running-c-net-applications-in-azure-devops-pipelines\/","name":"Running C# .NET Applications in Azure DevOps Pipelines - CPI Consulting","isPartOf":{"@id":"https:\/\/cloudproinc.com.au\/#website"},"primaryImageOfPage":{"@id":"https:\/\/cloudproinc.com.au\/index.php\/2025\/01\/28\/running-c-net-applications-in-azure-devops-pipelines\/#primaryimage"},"image":{"@id":"https:\/\/cloudproinc.com.au\/index.php\/2025\/01\/28\/running-c-net-applications-in-azure-devops-pipelines\/#primaryimage"},"thumbnailUrl":"\/wp-content\/uploads\/2025\/01\/Running-C-.NET-Applications-in-Azure-DevOps-Pipelines.webp","datePublished":"2025-01-28T06:03:33+00:00","dateModified":"2025-01-28T06:03:35+00:00","description":"Learn how to build and run C# .NET applications in Azure DevOps Pipelines. Automate your code deployment with this powerful cloud service.","breadcrumb":{"@id":"https:\/\/cloudproinc.com.au\/index.php\/2025\/01\/28\/running-c-net-applications-in-azure-devops-pipelines\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/cloudproinc.com.au\/index.php\/2025\/01\/28\/running-c-net-applications-in-azure-devops-pipelines\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/cloudproinc.com.au\/index.php\/2025\/01\/28\/running-c-net-applications-in-azure-devops-pipelines\/#primaryimage","url":"\/wp-content\/uploads\/2025\/01\/Running-C-.NET-Applications-in-Azure-DevOps-Pipelines.webp","contentUrl":"\/wp-content\/uploads\/2025\/01\/Running-C-.NET-Applications-in-Azure-DevOps-Pipelines.webp","width":1024,"height":1024},{"@type":"BreadcrumbList","@id":"https:\/\/cloudproinc.com.au\/index.php\/2025\/01\/28\/running-c-net-applications-in-azure-devops-pipelines\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.cloudproinc.com.au\/"},{"@type":"ListItem","position":2,"name":"Running C# .NET Applications in Azure DevOps Pipelines"}]},{"@type":"WebSite","@id":"https:\/\/cloudproinc.com.au\/#website","url":"https:\/\/cloudproinc.com.au\/","name":"Cloud Pro Inc - CPI Consulting Pty Ltd","description":"Cloud, AI &amp; Cybersecurity Consulting | Melbourne","publisher":{"@id":"https:\/\/cloudproinc.com.au\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/cloudproinc.com.au\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/cloudproinc.com.au\/#organization","name":"Cloud Pro Inc - Cloud Pro Inc - CPI Consulting Pty Ltd","url":"https:\/\/cloudproinc.com.au\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/cloudproinc.com.au\/#\/schema\/logo\/image\/","url":"\/wp-content\/uploads\/2022\/01\/favfinalfile.png","contentUrl":"\/wp-content\/uploads\/2022\/01\/favfinalfile.png","width":500,"height":500,"caption":"Cloud Pro Inc - Cloud Pro Inc - CPI Consulting Pty Ltd"},"image":{"@id":"https:\/\/cloudproinc.com.au\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/cloudproinc.com.au\/#\/schema\/person\/192eeeb0ce91062126ce3822ae88fe6e","name":"CPI Staff","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/2d96eeb53b791d92c8c50dd667e3beec92c93253bb6ff21c02cfa8ca73665c70?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/2d96eeb53b791d92c8c50dd667e3beec92c93253bb6ff21c02cfa8ca73665c70?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/2d96eeb53b791d92c8c50dd667e3beec92c93253bb6ff21c02cfa8ca73665c70?s=96&d=mm&r=g","caption":"CPI Staff"},"sameAs":["http:\/\/www.cloudproinc.com.au"],"url":"https:\/\/cloudproinc.com.au\/index.php\/author\/cpiadmin\/"}]}},"jetpack_featured_media_url":"\/wp-content\/uploads\/2025\/01\/Running-C-.NET-Applications-in-Azure-DevOps-Pipelines.webp","jetpack-related-posts":[{"id":492,"url":"https:\/\/cloudproinc.com.au\/index.php\/2024\/08\/01\/automating-access-to-microsoft-graph-api-using-azure-pipelines\/","url_meta":{"origin":53079,"position":0},"title":"Automating Access to Microsoft Graph API Using Azure Pipelines","author":"CPI Staff","date":"August 1, 2024","format":false,"excerpt":"This Azure DevOps pipelines article will show how we automate access to Microsoft Graph API using Azure DevOps pipelines. Azure pipelines is an Azure DevOps service that allows us to automate the deployment of applications, services and changes to cloud environments. Microsoft Graph API is the underlining API service that\u2026","rel":"","context":"In &quot;Azure devOps&quot;","block_context":{"text":"Azure devOps","link":"https:\/\/cloudproinc.com.au\/index.php\/category\/azure-devops\/"},"img":{"alt_text":"","src":"\/wp-content\/uploads\/2024\/08\/Automating-Access-to-Microsoft-Graph-Using-Azure-DevOps-Pipelines.webp","width":350,"height":200,"srcset":"\/wp-content\/uploads\/2024\/08\/Automating-Access-to-Microsoft-Graph-Using-Azure-DevOps-Pipelines.webp 1x, \/wp-content\/uploads\/2024\/08\/Automating-Access-to-Microsoft-Graph-Using-Azure-DevOps-Pipelines.webp 1.5x, \/wp-content\/uploads\/2024\/08\/Automating-Access-to-Microsoft-Graph-Using-Azure-DevOps-Pipelines.webp 2x, \/wp-content\/uploads\/2024\/08\/Automating-Access-to-Microsoft-Graph-Using-Azure-DevOps-Pipelines.webp 3x, \/wp-content\/uploads\/2024\/08\/Automating-Access-to-Microsoft-Graph-Using-Azure-DevOps-Pipelines.webp 4x"},"classes":[]},{"id":53428,"url":"https:\/\/cloudproinc.com.au\/index.php\/2025\/06\/30\/run-azure-powershell-cmdlets-using-docker-containers\/","url_meta":{"origin":53079,"position":1},"title":"Run Azure PowerShell cmdlets using Docker Containers","author":"CPI Staff","date":"June 30, 2025","format":false,"excerpt":"In this blog post, we\u2019ll show you how to run Azure PowerShell cmdlets using Docker containers. Table of contentsPrerequisitesPull the Azure PowerShell Docker ImageRun the Container and Connect to AzureRunning Scripts from Your Local Machine Azure PowerShell provides a familiar PowerShell interface to manage Azure resources and infrastructure. It enables\u2026","rel":"","context":"In &quot;Azure&quot;","block_context":{"text":"Azure","link":"https:\/\/cloudproinc.com.au\/index.php\/category\/microsoft-azure\/"},"img":{"alt_text":"","src":"\/wp-content\/uploads\/2025\/06\/run-auzre-powershell-using-docker.png","width":350,"height":200,"srcset":"\/wp-content\/uploads\/2025\/06\/run-auzre-powershell-using-docker.png 1x, \/wp-content\/uploads\/2025\/06\/run-auzre-powershell-using-docker.png 1.5x, \/wp-content\/uploads\/2025\/06\/run-auzre-powershell-using-docker.png 2x, \/wp-content\/uploads\/2025\/06\/run-auzre-powershell-using-docker.png 3x, \/wp-content\/uploads\/2025\/06\/run-auzre-powershell-using-docker.png 4x"},"classes":[]},{"id":53466,"url":"https:\/\/cloudproinc.com.au\/index.php\/2025\/07\/09\/top-vs-code-extensions-for-developers-and-devops-engineers\/","url_meta":{"origin":53079,"position":2},"title":"Top VS Code Extensions for Developers and DevOps Engineers","author":"CPI Staff","date":"July 9, 2025","format":false,"excerpt":"If you're searching for the Top VS Code Extensions for Developers and DevOps Engineers, you've come to the right place. Visual Studio Code (VS Code) has become one of the most popular editors for modern software development due to its speed, flexibility, and the massive ecosystem of extensions. In this\u2026","rel":"","context":"In &quot;Blog&quot;","block_context":{"text":"Blog","link":"https:\/\/cloudproinc.com.au\/index.php\/category\/blog\/"},"img":{"alt_text":"","src":"\/wp-content\/uploads\/2025\/07\/image-13.png","width":350,"height":200,"srcset":"\/wp-content\/uploads\/2025\/07\/image-13.png 1x, \/wp-content\/uploads\/2025\/07\/image-13.png 1.5x, \/wp-content\/uploads\/2025\/07\/image-13.png 2x"},"classes":[]},{"id":53420,"url":"https:\/\/cloudproinc.com.au\/index.php\/2025\/06\/25\/containerize-a-blazor-net-application\/","url_meta":{"origin":53079,"position":3},"title":"Containerize a Blazor .NET Application","author":"CPI Staff","date":"June 25, 2025","format":false,"excerpt":"In this blog post, we will show you how to containerize a Blazor .NET application using native tools\u2014without relying on third-party scripts or complex setups. Microsoft .NET is one of the most popular development frameworks today, offering a wide range of deployment options. Running applications in containers and adopting microservices\u2026","rel":"","context":"In &quot;.NET&quot;","block_context":{"text":".NET","link":"https:\/\/cloudproinc.com.au\/index.php\/category\/net\/"},"img":{"alt_text":"","src":"\/wp-content\/uploads\/2025\/02\/How-to-Add-Bootstrap-to-a-.NET-Blazor-9-Web-Application.webp","width":350,"height":200,"srcset":"\/wp-content\/uploads\/2025\/02\/How-to-Add-Bootstrap-to-a-.NET-Blazor-9-Web-Application.webp 1x, \/wp-content\/uploads\/2025\/02\/How-to-Add-Bootstrap-to-a-.NET-Blazor-9-Web-Application.webp 1.5x, \/wp-content\/uploads\/2025\/02\/How-to-Add-Bootstrap-to-a-.NET-Blazor-9-Web-Application.webp 2x, \/wp-content\/uploads\/2025\/02\/How-to-Add-Bootstrap-to-a-.NET-Blazor-9-Web-Application.webp 3x, \/wp-content\/uploads\/2025\/02\/How-to-Add-Bootstrap-to-a-.NET-Blazor-9-Web-Application.webp 4x"},"classes":[]},{"id":53341,"url":"https:\/\/cloudproinc.com.au\/index.php\/2025\/05\/01\/building-a-blazor-net-app-that-recognizes-images-with-openai\/","url_meta":{"origin":53079,"position":4},"title":"Building a Blazor .NET App that Recognizes Images with OpenAI","author":"CPI Staff","date":"May 1, 2025","format":false,"excerpt":"In this blog post, we\u2019ll show you how to Build a Blazor .NET App that Recognizes Images with OpenAI. You\u2019ll see how we securely upload image files, send them to OpenAI\u2019s API, and return a natural-language response\u2014seamlessly integrated into a modern web interface. This example highlights how CPI Consulting applies\u2026","rel":"","context":"In &quot;.NET&quot;","block_context":{"text":".NET","link":"https:\/\/cloudproinc.com.au\/index.php\/category\/net\/"},"img":{"alt_text":"","src":"\/wp-content\/uploads\/2025\/05\/Building-a-Blazor-NET-App-that-Recognizes-Images-with-OpenAI-e1746073555343.png","width":350,"height":200,"srcset":"\/wp-content\/uploads\/2025\/05\/Building-a-Blazor-NET-App-that-Recognizes-Images-with-OpenAI-e1746073555343.png 1x, \/wp-content\/uploads\/2025\/05\/Building-a-Blazor-NET-App-that-Recognizes-Images-with-OpenAI-e1746073555343.png 1.5x, \/wp-content\/uploads\/2025\/05\/Building-a-Blazor-NET-App-that-Recognizes-Images-with-OpenAI-e1746073555343.png 2x"},"classes":[]},{"id":53207,"url":"https:\/\/cloudproinc.com.au\/index.php\/2025\/04\/18\/automatically-color-code-outlook-events-using-azure-and-net\/","url_meta":{"origin":53079,"position":5},"title":"Smart Calendar Management: Automatically Color Code Outlook Events","author":"CPI Staff","date":"April 18, 2025","format":false,"excerpt":"Managing a busy calendar is essential for productivity, but when your schedule fills up with overlapping meetings and events, it quickly becomes overwhelming. That\u2019s why we built CalSync Colors a smart Outlook Calendar color-coding solution \u2014 designed to automatically analyze and categorize your meetings based on their content and purpose,\u2026","rel":"","context":"In &quot;Blog&quot;","block_context":{"text":"Blog","link":"https:\/\/cloudproinc.com.au\/index.php\/category\/blog\/"},"img":{"alt_text":"","src":"\/wp-content\/uploads\/2025\/04\/Outlookv2.png","width":350,"height":200,"srcset":"\/wp-content\/uploads\/2025\/04\/Outlookv2.png 1x, \/wp-content\/uploads\/2025\/04\/Outlookv2.png 1.5x, \/wp-content\/uploads\/2025\/04\/Outlookv2.png 2x, \/wp-content\/uploads\/2025\/04\/Outlookv2.png 3x, \/wp-content\/uploads\/2025\/04\/Outlookv2.png 4x"},"classes":[]}],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/cloudproinc.com.au\/index.php\/wp-json\/wp\/v2\/posts\/53079","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cloudproinc.com.au\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cloudproinc.com.au\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cloudproinc.com.au\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cloudproinc.com.au\/index.php\/wp-json\/wp\/v2\/comments?post=53079"}],"version-history":[{"count":2,"href":"https:\/\/cloudproinc.com.au\/index.php\/wp-json\/wp\/v2\/posts\/53079\/revisions"}],"predecessor-version":[{"id":53082,"href":"https:\/\/cloudproinc.com.au\/index.php\/wp-json\/wp\/v2\/posts\/53079\/revisions\/53082"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cloudproinc.com.au\/index.php\/wp-json\/wp\/v2\/media\/53080"}],"wp:attachment":[{"href":"https:\/\/cloudproinc.com.au\/index.php\/wp-json\/wp\/v2\/media?parent=53079"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cloudproinc.com.au\/index.php\/wp-json\/wp\/v2\/categories?post=53079"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cloudproinc.com.au\/index.php\/wp-json\/wp\/v2\/tags?post=53079"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}