We are actually analyzing what we have to do if we migrate our application from VS2005 up to VS2010. What i have done:
I\'m trying to write a very simple custom configuration section for a .NET4 application. My goal is this:
So I\'ve got a ConfigurationSection/ConfigurationElementCollection that has a configuration like this:
I\'m using ConfigurationManager.OpenMappedExeConfiguration to read and modify web.config files of remote web services. This works well for the most part.
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.
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?
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
Let\'s say I have a configuration property that looks like this. Note that there is no default value.
Is there a substantial difference between the AppSettingsReader开发者_C百科 class and the AppSettings member of the ConfigurationManager class in .Net 3.5?
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: