Continuous Delivery ASP .NET MVC Application

This is a continuation of my previous post Continuous Delivery ASP .NET MVC Application I will explain step by step how to put in place the Continuous Delivery process explained in my previous post in a Continuous Integration & Delivery tool. In this case Microsoft Team Foundation Server. You can download or clone the code of the project included in the examples from GitHub. Create a build plan Our first step is to create a Build Plan. This plan is responsible to generate the artifacts, a deployable version of our application. ...

April 21, 2018 · 4 min · Mario Moreno

Continuous Delivery ASP .NET MVC Application

In this post I will explain the steps I follow to put in place a Continuous Delivery process for a .NET MVC Application. The proposed solution is based on WebDeploy and parameter files to generate one deployment package and deploy it to N environments. Something similar to the following picture. Image credits: https://confluence.atlassian.com/bamboo/deployment-projects-338363438.html The same process could be applied to WebForms and WebApi applications. Update: There is a second part of this post in which I explain how to orchestrate this process in MS Team Foundation Server ...

April 15, 2018 · 3 min · Mario Moreno

SonarQube

In this post I will explain all the steps I follow to install SonarQube in a Windows (Windows 10) environment. Windows Server steps should be the same except from resources location. You should surely connect to a remote database server, needs to configure remote access on that server. Also make the SonarQube server available outside (enable TCP port) etc. Most of the steps like configure it as a Windows service are explained in this post. ...

February 24, 2018 · 5 min · Mario Moreno

ASP .NET Core Identity

In this post I will explain all the steps I follow to create a default ASP .NET Core MVC application with Identity using MSSQL Server on Docker. I’m using a Mac but the same steps (maybe with some slightly differences in Windows) should be valid for Linux and Windows. Requirements .NET Core .NET Core installed, you can follow the steps from the official site: https://www.microsoft.com/net/learn/get-started/macos Docker Again you can follow the steps from the official site: https://www.docker.com/docker-mac ...

November 4, 2017 · 3 min · Mario Moreno

Command Line Compression Tools

There are several scenarios where is very useful to know how to compress/decompress files via command line. One example is the configuration of a continuous integration plan. We could need to compress directories to expose them as an artifact. Here is a short list of command line options for Windows and Linux and a third-party option using 7zip. Windows Built In Powershell (Windows 8+, Server 2012+) Compress Add-Type -A System.IO.Compression.FileSystem [IO.Compression.ZipFile]::CreateFromDirectory([folderPath], [zipFilePath]) folderPath: path to the folder to be compressed zipFilePath: destination zip file ...

September 7, 2017 · 2 min · Mario Moreno