Posts

Showing posts from January, 2020
GitHub Copilot Customization Explained for Beginners: Instructions, Prompt Files, Skills, Agents, and Hooks  Introduction If you've recently started using GitHub Copilot, you've probably come across terms like Instructions , Prompt Files , Skills , Agents , and Hooks . At first glance, they all seem to do the same thing—they tell Copilot what to do. So why does GitHub have five different customization features? The answer is simple: each feature solves a different problem. Think of GitHub Copilot as a new developer joining your team. On their first day, you don't just hand them code. You explain your coding standards, give them reusable templates, teach them specialized knowledge, assign them a role, and automate repetitive tasks. That's exactly how GitHub Copilot customization works. In this article, you'll learn what each feature does, when to use it, and how they all work together. By the end, you'll know which feature to start with and which ones can wait un...

Building a CI pipeline for Containerized Asp.NET Core 3.1 using Docker Registry

Image
This is continuation   of a series of posts on using Docker and containerization with .Net Core. If you are new to this series its recommend to look at Getting started with Docker and Containers In this post will show how to setup a pipeline that continuously builds a repository that contains a Docker file. Every time you change your code, the image is pushed to Docker Hub. Pre requisites 1.      Github account 2.      Azure DevOps Organisation if you don’t have one, you can create for free 3.      Ensure you’re administrator of the Azure DevOps project 4.      Docker hub repository – more details can be found here 5.      Azure Project to be created in Azure DevOps Get the code from GitHub https://tinyurl.com/ydtggef6 Create the Pipeline 1.      Sign in to your Azure DevOps Organisation and navigate to your project 2. ...

Setting up Azure Service Connection in Azure DevOps

Image
You can specify your Azure subscription directly in the release pipeline task, or you can use an organiz ational account or a  Service Principal and configure Service connection in Azure DevOps.  In this post will see how Service Principal can be created. Tools which can be used to create Service Principal in Azure: Using   Azure PowerShell Using   Azure Portal Using   Azure CLI 2.0 Portal Irrespective of the tool choice commands remain same. There are two types of authentication available for service principals: Password-based authentication, and certificate-based authentication.This post we will be looking demonstrating Password-based authentication. Steps 1.       Log into Azure by running the below command. When prompted, open the browser and login with Microsoft credentials. az login 2.       Create a Service Principal by running the following command. The output displayed ...