How to obtain Content and Web roots paths in ASP.NET Core RC2

There are many situations that developer needs to known what are the content or web roots paths. One of such situations is accessing custom JSON configuration files. In the classics ASP.NET applications you was always able to use Server.MapPath() method. With that method you was able to find physical path or web root directory. Later on in RC1 there was possibility to use IAppl…

By Dawid on (tags: core, .net, path, rc2, root, categories: code)

The dotnet Tool

In recently released .NET Core RC 2 there is possibility to use new dotnet tool. It exposes a set of commands , such us: creating empty projects restoring packages building your project unit testing .NET Core contains much more tooling but most of them are exposed thought dotnet tool. There is also no problem with extend set of commands. It has simple extensibility model – you …

By Dawid on (tags: core, dotnet, .net, rc2, categories: tools, code)

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.

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.

By Mirek on (tags: build, tfs, 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)

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 vNext build step.

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