Class MyAppSettings is a better approach. How can i register this data (AddSingleton?) and then where ever i need it i just inject IMyAppSettings and then start using it?
↧