Should I learn and start doing ASP.NET Core?

Brief overview: Advantages over Node.js Faster than Node.js, modular as Node.js and much better overall! Faster than Node.js Modular as Node.js Shares middleware concept with Node.js Has built-in, simple and easy to use DI container Better Configuration system Built-in and easily configurable Logging system Better support! Types! Interfaces!? Better language (C# vs JavaScript) Introduction I […]

Continue reading

EntityFramework Core – Add an implementation of IDesignTimeDbContextFactory – Multiple DbContext’s

Introduction We already talked about problem when Entity Framework Core tooling requires you to implement IDesignTimeDbContextFactory<DbContext> – check out this post. It gets interesting when you have more than one DbContext in your application and you want to add another implementation of IDesignTimeDbContextFactory, without repeating the code and making sure that EF Core tooling picks […]

Continue reading

ASP.NET Core Configuration

Introduction ASP.NET Core configuration differs greatly from standard ASP.NET. Instead of web.config or any other way to set up the configuration we use built-in Configuration framework that comes with ASP.NET Core. It is still key-value pairs collection at the end, but we can obtain those values from various sources. One of default sources is appsettings.json […]

Continue reading