app-config
configurationmanger not working in vs2010
I am trying to read configuration file using ConfigurationManager.ConnectionStrings but it is not available in vs2010.[详细]
2023-03-25 23:00 分类:问答Understanding .NET configuration file scheme
I have some difficulties with configuration files in .Net: I completely understand its essence and what are they good for, but the part I miss is this: configuration file is xml file that in runtime d[详细]
2023-03-25 20:56 分类:问答.NET Click Once Deployment App.config
I am using VS2008 SP1 ClickOnce Deployment to deploy an application. The application references a web service which stores connection details in the app.config file. For example, the following is stor[详细]
2023-03-25 03:17 分类:问答How can I change the WCF Service used based upon the current Configuration
I have a WPF client application that is connected to WCF Service.How can I set up my project so that in DEBUG configuration it points to the WCF Service in the solution and in RELEASE c开发者_开发知识[详细]
2023-03-25 01:32 分类:问答log4net.Config.XmlConfigurator.Configure() gives - "FileNotFoundException crossed a native/managed boundary"
This is only the 2nd time I\'ve tried to use log4net. This is a Windows form app and I thought things are set up OK but I was not getting any logfile created. I found some advice about needing to expl[详细]
2023-03-24 22:04 分类:问答app.config: how do I make a nested customSection called appSettings be the ConfigurationManager.AppSettings
my desired app.config would be like this: <configSections> <sectionGroup name=\"QA_Environment\">[详细]
2023-03-24 14:11 分类:问答Reading specific config file
I made my custom configuration classes to parse data from my config section. My project is class library which means it creates dll. I found this way to retrieve my config section:[详细]
2023-03-24 12:25 分类:问答WCF .config file - something is plainly wrong
Folks, I\'ve got something wrong with this .config for my WCF.When I send data to it more than 8192 bytes (the default) it fails, telling me my \"maxStringContentLength\" is only 8192.I think I have i[详细]
2023-03-23 15:52 分类:问答How to set a universal path for the files to be read in an App.Config file
I 开发者_如何学编程have some text files to be read that are located in the visual studio project. My app.config file should adapt the path of these files automatically. i.e., suppose I have a file in[详细]
2023-03-22 23:27 分类:问答Configuration Information in DB?
I h开发者_运维知识库ave lots of stuff in an app.config, and when changes are necessary, an app restart is required. Bad for my 24x7 web server system (it really is 24x7, not even 23x7). I would like t[详细]
2023-03-22 20:34 分类:问答