.Net Core / Console Application / Configuration / XML
问题 My first little venture into the .Net Core libraries using the new ConfigurationBuilder, and Options pattern. Lot's of good examples here: https://docs.asp.net/en/latest/fundamentals/configuration.html and a good copy of the example here Item 1. it says this can be used with non MVC applications, but no examples on how to use it without MVC - particularly if you are using a custom, strongly-typed class. I would like to see an example of showing the setup of DependencyInjection, Configuration,