10 Replies
uh
Did you expect a response? Pretty limited info probably
Manage application settings (.NET) - Visual Studio (Windows)
Learn how to manage application settings that aren't included in the application code but are needed at runtime.
isnt this only for net fw
i usually store a settings json file in appdata
dammit you're right.
Correct link for modern projects: https://learn.microsoft.com/en-us/dotnet/core/extensions/configuration
Configuration - .NET
Learn how to use the Configuration API to configure .NET applications. Explore various inbuilt configuration providers.
Another option since the above isn't intended to be writable: https://learn.microsoft.com/en-us/dotnet/api/system.configuration.configurationmanager?view=dotnet-plat-ext-7.0
ConfigurationManager Class (System.Configuration)
Provides access to configuration files for client applications. This class cannot be inherited.
ConfigurationManager is still static usage isn’t it?
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.alright thanks
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.