Categories
Azure DevOps

3. Build Pipeline with Azure DevOps – Generate EF Core Migration Script

This is the third article in the series of Build Pipeline with Azure DevOps. First two articles are: 1. Build Pipeline with Azure DevOps – The Basics 2. Build Pipeline with Azure DevOps – AppSettings.json Transformations 3. Build Pipeline with Azure DevOps – Generate EF Core Migration Script 4. Build Pipeline with Azure DevOps – […]

Categories
Azure DevOps

2. Build Pipeline with Azure DevOps – AppSettings.json Transformations

The next step in this series is to look at appsettings transformations. It is bad practice to commit sensitive information such as production database connection strings and other secret keys to source control. We can have placeholders in our appsettings.json file and then replace them with the actual values during the build process. This is […]

Categories
Azure DevOps

1. Build Pipeline with Azure DevOps – The Basics

Today we are going to look at creating a build pipeline for Azure DevOps to build and deploy an ASP.NET Core 3.1.x web application. For this exercise you need to have access to Azure DevOps portal and already have an organisation and project setup. It is free and we get 1,800 minutes per month of […]

Categories
C#

record type in c#9

C# 9 is supported only on .NET 5 and newer versions and you will need to update your Visual Studio 2019 to 16.8 or later. To use C# 9 in existing .net core 3.x projects you can simply right click on Project > select Edit Project File and change target framework to net5.0 Why would […]

Categories
Cheat Sheets Tips

dotnet cli cheat sheet

The .NET command-line interface (CLI) is a cross-platform toolchain for developing, building, running, and publishing .NET applications. The .NET CLI is included with the .NET SDK. To learn how to install the .NET SDK, see Install .NET Core. Full documentation is available at Microsoft’s Docs, this blog post is an overview of the most commonly […]

Categories
Tips

Chocolatey Script Dev. Machine Setup

What is Chocolatey? How it makes developers lives easier? Chocolatey is a package manager for Windows OS. much like Nuget Package Manager or Note Package Manager. You can use it to create scripts for un-attended software installations. We will walk through how to create such a script. Run Powershell in Administrative mode. Create a file […]

Categories
Tips Xamarin

Truly clean bin/obj folders in Xamarin

First step of Holy Grail of Clean, Build and Redeploy in Xamarin In this article we will discuss how to truly delete bin, obj and packages folders in your projects while working on Xamarin. Visual Studio’s micky mouse clean leaves compiled files behind and does not delete them completely. Using this tip folders are deleted […]

Categories
Git

Introduction to Git

A quick hands-on introduction to Git What is Git? Git is a distributed source control system. Now what it means is that every Git directory on every computer is a complete repository with full history and version-tracking abilities, not dependent on the network/internet or central server. Why should we use Git? Git is simpler, faster […]