Avoid double login in Windows 10 with Bitlocker

I am using Microsoft Windows 10 on my PC and to encrypt my disk I enabled the Bitlocker on it. Bitlocker is awesome. It works seamlessly encrypts and decrypts data on the fly. Unfortunately my PC doesn’t have the TPM module and I was forced to use a password prompt at computer start to decrypt drives. And here comes the issue. Since I am using my Microsoft account to login to W…

By Mirek on (tags: BitLocker, login, Windows 10, categories: tools, security)

TFS 2015 – Setting up build agent on separate machine

Recently we’ve installed and configured the Team Foundation Server on premise infrastructure. This was described here. In this post I would like to show you how to install and configure the build agent to work on a different machine separately from the TFS server, as it turned out to be quite tricky. My way to successfully set up the build agent for TFS 2015 was basically a try…

By Mirek on (tags: build, tfs, categories: tools, infrastructure)

TFS 2015 – Upgrade from TFS 2010 on new hardware

Few weeks ago I wrote a post describing how to set up the Team Foundation Server 2015 on premise. This time I will show you how to upgrade from TFS 2010. This is the current situation: I have TFS 2010 SP1 running on one server. The databases weight about 9GB together. Now the goal is to move the TFS to the new machine and upgrade it to TFS 2015. As it turned out the process of …

By Mirek on (tags: tfs, upgrade, categories: tools, infrastructure)

Interfaces in TypeScript

In TypeScript interfaces are used to descript a type. Classes and functions are used to implement behaviour while interfaces are providing information's about shape of the data. All of the type information’s are removed from TypeScript program during compilation there is no runtime overhead and we can freely add type data. To be honest with you interfaces are like Swiss army kn…

By Dawid on (tags: interface, TypeScript, categories: code)

TFS 2015 – MSBuild in custom step

If you didn’t yet happen to create a custom build step for Team Foundation Server 2015 take a look at my previous posts here and here. Today I will show you the right (IMHO) way of calling MSBuild from the custom build step. I had a task to create a custom build step which took the list of projects names and has to publish a ClickOnce installers for them. It first searches for …

By Mirek on (tags: build, ci, msbuild, Powershell, tfs, categories: tools, infrastructure)

TFS 2015 build vNext – Upload directory to FTP

In previous post I showed you how to create a custom build step, upload and use it in the Team Foundation Server 2015. This time we will try to create more complex build task. This will be FTP uploader. Keep reading. There is already a step which gives you the possibility to upload files to FTP location and it comes out of the box with TFS 2015. This is called cURL and you can …

By Mirek on (tags: build, ftp, Powershell, tfs, categories: tools, infrastructure)

TFS 2015 build vNext - Deploy nuget package

If you have a nuget packages that you deploy from your source code and want to move to the TFS 2015, there are good news. Packing and publishing nuget packages is fully supported in vNext build definition. Let’s see how to achieve that. The goal is to pack the nuget package from a .csproj  project file, create the .nupkg and then publish it to the nuget server. Let’s go to…

By Mirek on (tags: nuget, package, tfs, categories: tools, infrastructure)

Creating custom vNext build task for Team Foundation Server 2015

The new vNext build system in TFS 2015 is simpler and easier to manage than the previous version, Windows Workflow based, build system. It builds up from a collection of build step which you can add and remove. The collection of available build steps is pretty rich and can be extended by a custom build steps. In this post I will show you how to easy create and deploy a custom v…

By Mirek on (tags: build, tfs, vNext, categories: tools, infrastructure)

Setting up a TFS 2015 on premise build system

In this post I will show you a step by step guide to install and set up the on premise Microsoft Team Foundation Server 2015 Update 2. At the end of this tutorial you will have a working source control and build system based on TFS 2015 so you will be able to check-in the project code to it and trigger a build. We are installing a Team Foundation Server on a Windows Server 2012…

By Mirek on (tags: msbuild, TFS 2015, categories: tools, infrastructure)

Start learning Powershell

If you are not yet familiar with the Powershell I can honestly recommend you to start learning it. This is a great tool with almost unlimited capabilities. Powershell scripting can change basically any arduous and burdensome activities into a one click task. Anything you can manually do on the windows system  or windows based software can be automated. And if there isn’t a…

By Mirek on (tags: Powershell, categories: tools)