So, the problem with configuration is that in the past it’s not really been that great to work with. In ASP.NET there are wholesale changes and, in our last video, we looked at how the runtime gives better options for storage and mechanisms for loading data. Here, we’ll look at structured storage and strongly-typed config.

One you have your data loaded wouldn’t it be grand if you could access it through typical objects? The new options pattern in Core MVC gives us the ability; mapping structured configuration into proper objects that we can inject into our classes and use at runtime.

The production code for this video is N0.





Source link