Skip to content

March 2019

replace ef code with dapper

Replacing existing entity framework code with Dapper

Developers choose Entity framework ORM (EF) for better productivity when accessing the database. But, when the product is built that went from bare bones to very complex and heavy data access then comes the performance.

Sometimes its the Entity framework that kills the performance so the choice when searching for a better ORM than Entity framework is Dapper.

In this post, I’ll walk you through how we can replace the existing entity framework code with dapper.

Read More »Replacing existing entity framework code with Dapper

custom 400 responses

Customizing automatic HTTP 400 error response in ASP.NET Core Web APIs

Annotating the controllers with ApiController attribute in ASP.NET Core 2.1 or higher will enable the behavioral options for the API’s. These behavioral options include automatic HTTP 400 responses as well.

In this post, we’ll see how we can customize the default error response from the ASP.NET Core Web API.

Read More »Customizing automatic HTTP 400 error response in ASP.NET Core Web APIs

exploring apis

Exploring web api in asp.net core

With the asp.net core modularity, the configuration and setup work for the asp.net core projects is more when compared to building apps with the .net framework.

In this post, we’ll explore how to build a web API and also look at the configuration options that we need to build a web API in asp.net core.

Read More »Exploring web api in asp.net core