The [`UseMvc()` extensions accepts an optional `MvcOptions` object](https://github.com/dotnet/aspnetcore/blob/a450cb69b5e4549f5515cdb057a68771f56cefd7/src/Mvc/Mvc/src/MvcServiceCollectionExtensions.cs#L48) for configuration. We may optionally be able to centralize the most common OnTopic configuration through this ([example](https://andrewlock.net/accessing-services-when-configuring-mvcoptions-in-asp-net-core/#what-does-addmvc-actually-do-)).
The
UseMvc()extensions accepts an optionalMvcOptionsobject for configuration. We may optionally be able to centralize the most common OnTopic configuration through this (example).