system.configuration
Type cant be resolve in UnitTest after migrating Project from vs2005 to vs2010 (MSTest)
We are actually analyzing what we have to do if we migrate our application from VS2005 up to VS2010. What i have done:[详细]
2023-04-06 23:42 分类:问答Simple custom config section with collection in .NET4
I\'m trying to write a very simple custom configuration section for a .NET4 application. My goal is this:[详细]
2023-03-28 00:05 分类:问答How can I use TypeConverters with a ConfigurationSection?
So I\'ve got a ConfigurationSection/ConfigurationElementCollection that has a configuration like this:[详细]
2023-03-05 02:26 分类:问答How do I change configsource value in remote configuration file
I\'m using ConfigurationManager.OpenMappedExeConfiguration to read and modify web.config files of remote web services. This works well for the most part.[详细]
2023-03-03 22:00 分类:问答Getting connection string from App.config and using it in a Linq dataContext
How should I extract the following connection string and apply it to my Linq context?I know the Linq portion, but am weak with the System.Configuration section.[详细]
2023-02-04 07:02 分类:问答The best way to get a path to machine.config of a different .NET version
Whats the best way to get a path to .net开发者_StackOverflow 2.0 machine.config file, if the application is running on .net 4.0?[详细]
2023-01-31 17:30 分类:问答How to send a System.Configuration.Configuration object trough WCF
Well I think the title explains for itself. I\'m trying to export a configuration object trough the wire, but it look开发者_StackOverflows quite difficult, the class is not serializable and... it\'s[详细]
2023-01-20 14:44 分类:问答Why does ConfigurationValidator validate the default value of a ConfigurationProperty even if IsRequired is true?
Let\'s say I have a configuration property that looks like this. Note that there is no default value.[详细]
2023-01-16 14:03 分类:问答Benefits of .Net's AppSettingsReader vs ConfigurationManager for reading application configuration settings
Is there a substantial difference between the AppSettingsReader开发者_C百科 class and the AppSettings member of the ConfigurationManager class in .Net 3.5?[详细]
2023-01-11 16:03 分类:问答Getting config element from ConfigurationElementCollection
I have (hopefully) setup ConfigurationElementCollection of my own design with emails as keys. Now what? Hard to find actually on the web. How do I:[详细]
2022-12-29 23:21 分类:问答