Aspnetcore.docs: Update configuring for 3.1

Created on 9 Jan 2020  Â·  1Comment  Â·  Source: dotnet/AspNetCore.Docs

In the "How to configure MVC to use a custom formatter", it sets the formatters in the lambda for services.AddMvc(). This was deprecated in 3.0. How do I configure ASP.NET to use my custom formatters in 3.0?


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Source - Docs.ms

Most helpful comment

Use services.AddControllers();

We'll get this article scheduled for update.

17788 should be obvious in the 3.1 update.

>All comments

Use services.AddControllers();

We'll get this article scheduled for update.

17788 should be obvious in the 3.1 update.

Was this page helpful?
0 / 5 - 0 ratings