Web API vs MVC MVC and Web API have many things in common. Things like filters, attributes, controllers. Since MVC and Web API share so many things with ASP.NET Core we got these two unified into one framework. ASP.NET Core is the new ASP.NET framework. And you can use it to build web applications. If […]
Continue readingIntroduction A bit of History I have been surprised by the fact that so many people are not aware of Microsoft’s open source shift over last 5 (and maybe few more) years. Lots of people are not aware of current state of .NET, .NET Core and ASP.NET Core. And I do not blame them, they […]
Continue readingIntroduction 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 readingIntroduction Entity Framework Core Generic Repository – Behold! The topic that some people will frown upon. They don’t even wanna talk about it. However, others love it, they feel all excited on the mention of generic repository pattern. As with everything, the generic repository pattern has its pros and cons. You are the one to […]
Continue readingIntroduction In the last post, we talked about ASP.NET Core Configuration in general. We saw how is it set up by default from ASP.NET Core. We also talked about sources and that order matters. This time we will talk about mapping configuration to classes. We will also talk about various ways of injecting configuration settings […]
Continue reading