Category Archives for ASP.NET Core

ASP.NET Core MVC – Tag Helper Components

This entry is part 5 of 5 in the ASP.NET Core Tag Helpers series

Tag Helper Components – Introduction We already talked about Tag Helpers in several posts before. This time we will be talking about something related. ASP.NET Core 2 is here and it brings us a new feature – Tag Helper Components. Tag Helper Components are responsible for generating or modifying a specific piece of HTML. They […]



Continue reading

EntityFramework Core – Add an implementation of IDesignTimeDbContextFactory

Problem Your DbContext in a separate project – class library project. You are trying to add new migration and update database, and you are running into this error: Unable to create an object of type ‘CodingBlastDbContext’. Add an implementation of ‘IDesignTimeDbContextFactory’ to the project, or see https://go.microsoft.com/fwlink/?linkid=851728 for additional patterns supported at design time.   […]

Continue reading

ASP.NET Core – ConfigureServices vs Configure

Introduction We already talked about Configuration method inside of Startup when we talked about requests and middleware. In this post, we will see what exactly ConfigureServices and Configure methods are for and how they differ. In ASP.NET Core we have a Startup class where all the configuration is done and processed once the application is […]

Continue reading