configurationmanager
Moles to mock an indexed property
I am looking for a way to \'detour\' a single item in a configuration file with Moles. I can do this:[详细]
2023-03-16 17:05 分类:问答ConfigurationManager Reading Wrong File
I have a solution divided into two projects, one for a Class Library and another one for Unit Tests (using NUnit 2.5). Now, on the App.config file of the Class Library project I added several lines li[详细]
2023-03-15 08:15 分类:问答Deserializing web.config custom sections using the classes generated by XSD
I Have a custom section in Web.Con开发者_如何学JAVAfig file and referring another .config file through configSource. I have generated .cs file using the XSD for my schema. How to use my generated clas[详细]
2023-03-14 08:58 分类:问答How to set a project output platform to x86 in Visual Studio 2010
In my solution with several projects I am trying to change the Platform from Any CPU to x86.But x86 is not in the drop down.What do I need to do to be able to choose x86?[详细]
2023-03-14 02:05 分类:问答ConfigurationManager.Appsettings[""] Sharing config file
Currently, I have 2 windows services that i would like them to be sh开发者_C百科aring from a single app.config file.[详细]
2023-03-13 15:44 分类:问答Do you need to "close" .net Configuration
When you create a co开发者_Python百科nfiguration object to manage .net configuration files, do you need to close the files.[详细]
2023-03-09 14:37 分类:问答ConfigurationSection ConfigurationManager.GetSection() always returns null
I am trying to learn how to use the ConfigurationSection class.I used to use the IConfigurationSectionHandler but released that it has been depreciated.So being a good lad I am trying the \"correct\"[详细]
2023-03-07 01:41 分类:问答ReadOnlyNameValueCollection (reading from ConfigurationManager.GetSection)
Ok, so..... <section name=\"test\" type=\"System.Configuration.NameValueFileSectionHandler\" />[详细]
2023-03-06 01:19 分类:问答Reference to configuration manager via httpcontext
How can i get r开发者_如何学Goeference to the configuration manager via httpcontext? ThanksAs pointed out by Adam, use:[详细]
2023-03-01 14:07 分类:问答Is there a way to use the Visual Studio Configuration Manager to pull configuration files out of an env folder?
I use a project structure t开发者_C百科hat has an env folder with various folders under it for different environments.For example, under a web project that has a log4net configuration, the following p[详细]
2023-02-28 03:44 分类:问答
加载中,请稍侯......