configurationmanager
How to Write to a User.Config file through ConfigurationManager?
I\'m trying to persist user settings to a configuration file using ConfigurationManager. I want to scope these settings to the user only, because application changes can\'t be saved on Vista/Win 7 wi[详细]
2022-12-26 23:34 分类:问答Cannot access app.config or settings.settings data
I have a .Net 3.5 application that needs to load a string from settings.settings or app.config. I made sure I have a reference to ConfigurationManager but a very simple call from form load value retur[详细]
2022-12-26 01:24 分类:问答Calling Save on a Configuration obj with a custom sectiongroup of type NameValueSectionHandler
I\'ve got aConfiguration object that I can easily read and write settings from and call Save(ConfigurationSaveMode.Minimal, true) on and that typically works just fine.[详细]
2022-12-23 18:11 分类:问答The problem with NUnit and app.config
When i run a simple test on connection to DB check i receive an error in NUnit: [Test] public void TestConn()[详细]
2022-12-22 14:34 分类:问答LDAP Query: Administrators on a computer
I want to search every computer known to LDAP and list all accounts on each computer which are Administrators.[详细]
2022-12-17 08:36 分类:问答How to access app.config/web.config for the current Application?
Although in name this question is similar to this and this, it\'s not. I\'m currently developing a library that may require some custom configuration depending on the user\'s desire.[详细]
2022-12-17 02:39 分类:问答How to load application settings to NHibernate.Cfg.Configuration object?
How to load applicati开发者_开发技巧on settings to NHibernate.Cfg.Configuration object by using System.Configuration.ConfigurationManager from App.config?The hibernate configuration can also be moved[详细]
2022-12-15 17:17 分类:问答Why does ConfigurationManager.OpenMappedExeConfiguration have an extra connection string not in the file?
I\'m unit testing my config file for a win forms application. In the LocalTestRun.testrunconfig I set it to copy the app.config. I\'ve checked the Environment.CurrentDirectory while the test was runni[详细]
2022-12-15 17:05 分类:问答C# Reading Configuration settings
I have a C# class library A which has some configuration settings in its App.config I access them with[详细]
2022-12-14 21:11 分类:问答Migrating a WinForms (C#) APP settings to a .config file
I want to migrate the settings file I am currently using to appconfig file. At the moment I am trying to make a copy of it but so far I cannot even get it t开发者_开发问答o write to the file using the[详细]
2022-12-13 11:43 分类:问答