application-settings Questions

3

Solved

By default settings are stored at: C:\Documents and Settings\\Local Settings\Application Data\<Project Name> How can I change this path to application directory. I also don't want to have d...
Copyedit asked 25/3, 2010 at 19:36

1

We have a couple of long running back-end processes that take longer than the default 30 seconds. Our NHibernate version is 2.0.1.4000 and Spring.NET is 1.2.0.20313. NHibernate is configured throu...
Frazzle asked 24/2, 2010 at 22:14

1

Solved

In a asp.net web.config file you can do <appSettings file="local.appSettings.config"> <add key="foo" value="bar" /> </appSettings> and it will look in local.appSettings.config...

6

Solved

.NET allows you to use .settings files to manage application settings. I would like to store Production, Development and Test settings separately in a way that I can do something like this: Enviro...
Digitate asked 11/2, 2010 at 19:38

2

Solved

I have two assemblies in my application. MyApplication.BO and MyApplication.GUI. I have configured property-settings for my BO assembly. Now when I am trying to compile the following code: publi...
Denim asked 27/11, 2009 at 15:16

3

Solved

How can I access ConfigurationManager.AppSettings in my Windows Forms Application? The error message reads: The name 'ConfigurationManager' does not exist in the current context.
Whitewing asked 25/11, 2009 at 13:17

4

Solved

I've written a class that should allow me to easily read and write values in app settings: public static class SettingsManager { public static string ComplexValidationsString { get { return (s...
Jonquil asked 23/7, 2009 at 10:19

5

Solved

I have read a lot of statements like "you shouldn't clog your app.config file with custom settings". However, I was under the impression that this was exactly the purpose of the file? Is it just i...
Elisabeth asked 14/10, 2009 at 12:18

1

web.config allow a globalization tag: This setting will set the globalization for the entire ASP.NET application. Does this tag work in app.config in standard forms applications too? If yes... w...
Azoth asked 12/8, 2009 at 11:20

2

Solved

I've used these two configuration files many times before, but I've never taken the time to fully understand how they really work. As most people do, I understand the basics in how to call WebConfi...

© 2022 - 2024 — McMap. All rights reserved.