Entity Framework Core context in separate assembly

Most of example currently available on the internet shows how’s to start using ASP.NET Core and EF Core implemented in the same assembly. In the RC1 there was couple of tricks which we had to implement if we would like to have separate assembly with data model definition. In RC2 release it’s a little bit easier. Bellow I’ll show you how you can achieve that. This is our applica…

By Dawid on (tags: ASP.NET, context, core, ef core, categories: code)

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 method. With that method you was able to find physical path or web root directory. Later on in RC1 there was possibility to use service. That’s not po…

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 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 tool. There is also no problem with extend set of commands. It has simple extensibility model – you can read more …

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. Since I am using my Microsoft account to login to W…

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