when allowing large uploads you can specify this in web.config in a mvc web application
httpRuntime maxRequestLength="xxx"
How do I do the same in appsettings.json
NOTE, this question is regarding .Net Core Web API using a program.cs and not MVC controllers.