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?
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
Use services.AddControllers();
We'll get this article scheduled for update.
Most helpful comment
Use
services.AddControllers();We'll get this article scheduled for update.
17788 should be obvious in the 3.1 update.