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.

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.

Creating custom tag helpers in ASP.NET Core

In this post, we’ll see how to create a custom tag helper in ASP.NET Core project.

Custom tag helpers can be created by implementing TagHelper class. The Tag helper class has two methods that can be overridden.

Tag Helpers in ASP.NET Core

In this post, we’ll see how to use the tag helpers inside razor files in ASP.NET Core application.

Streaming data in ASP.NET Core SignalR

In this post, we’ll see how to stream the data in ASP.NET Core SignalR. With ASP.NET Core 2.1 released, SignalR now supports streaming content.

Getting started with ASP.NET Core 2.1

This post is just an introductory post on the ASP.NET Core application. In this post, we’ll create an ASP.NET Core application and we’ll examine the folders and code.

If you miss my previous post on ASP.NET Core and Benefits. Take a look.

ASP.NET Core and Benefits

ASP.NET Core is the new web framework for the Microsoft technologies. We’ll see the benefits of using the framework.

Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×