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)