Relative Content

Tag Archive for c#.netautofacautofac-configurationautofac-module

How to load configuration from a custom Json file?

I have a C# library and in that there is one AutoFacModule which currently have 2 methhods Load and ConfigureServices. And I have one model class which represents a configuration. Now I have created a custom json files which are environment specific. How to load the configuration from these json files ? This library is ued in other we project. The other project used .net8