appsettings
How can I read/write app.config settings at runtime without using user settings?
I\'m looking for a way to store application or machine level settings that can be written to at runtime using Application Settings. User settings allow read/write but application settings do not. I ha[详细]
2023-01-14 04:08 分类:问答Dynamically reading app.settings in asp.net
开发者_StackOverflow中文版I\'ve moved my appsettings section outside of the web.config using: <appSettings configSource=\"AppSettings.config\"/>[详细]
2023-01-11 06:39 分类:问答ConfigurationSettings.AppSettings is obsolete, warning
var values = new NameValueCollection { { \"key\", ConfigurationSettings.AppSettings[\"API-Key\"].ToString() },[详细]
2023-01-11 03:47 分类:问答Settings variable returning a different value in VB.net!
This is a quite strange problem. I have set a setting variable in Appli开发者_JAVA技巧cation settings with following data:[详细]
2023-01-10 16:17 分类:问答Issue with appSettings using 2 different projects
I\'ll try to do my best to explain my problem. I have 2 separate projects which are par开发者_StackOverflow中文版t of the same application in Visual Studio. One of them is server-sided and the other[详细]
2023-01-10 11:00 分类:问答How to check if an appSettings key exists?
How do I check to see if an Application Setting is available? i.e. app.config <?xml version=\"1.0\" encoding=\"utf-8\" ?>[详细]
2023-01-08 08:09 分类:问答When is using the <appSettings> section preferable to a custom configuration section?
When creating my application\'s or library\'s configuration, I generally prefer using a custom configuration section over the <appSettings> 开发者_如何学运维section for the following reasons.[详细]
2023-01-08 06:32 分类:问答Is it possible?
We are thinking of moving some of the \'hard coded\' settings out of our windows forms application and storing them in the sql database in a table called App_Settings. The reason for this is we have v[详细]
2023-01-08 03:51 分类:问答Weird error message when running my application
开发者_运维问答Guys I created a console application in Visual Studio 2010. It targets the .NET framework 2.0. When I run the application is Visual Studio, it works perfect. I then exited Visual Studio[详细]
2023-01-07 23:18 分类:问答Different application settings depending on configuration mode
Is anyone aware of a way that I can set application (or user) level settings开发者_运维知识库 in a .Net application that are conditional on the applications current development mode? IE: Debug/Release[详细]
2023-01-04 12:24 分类:问答