What I want to achieve is very simple: I have a Windows Forms (.NET 3.5) application that uses a path for reading information. This path can be modified by the user, by using the options form I provide.
Now, I want to save the path value to a file…
Okay, I know that there are many question about it, but they are all from many time ago.
So. I know that it is possible because the Map app does it.
In the Map app if I turn off the localization for this app, it send me a message, and if I press…
I have a windows forms application written in VS2010 with C# and get the following errors in the app.config file:
Message 4 Could not find schema information for the attribute 'name'
Message 8 Could not find schema information for the attribute…
Given a "standard" spring boot application with a @RestController, eg
@RestController
@RequestMapping(value = "foo", produces = "application/json;charset=UTF-8")
public class MyController {
@RequestMapping(value = "bar")
public…
I have added App.config file in my project.
I have created two settings from Project > Properties > Settings panel -
I have noticed that when I am adding a setting, I can define scope as User or Application. -
User
Application
If I define…
I would like to include the application version and internal revision, something like 1.0.1 (r1243), in my application's settings bundle.
The Root.plist file contains a fragment like this...
Type
…
In large and complex software products managing configurable settings becomes a major pain. Two approaches I've seen to the problem are:
have each component in the system load its own configuration from config files or registry settings.
have a…
On my system, %AppData% leads to ApplicationData which is C:\Users\\AppData\Roaming
But there is also C:\Users\\AppData\Local
And for some more confusion D:\Users\\AppData\LocalLow
string local =…
I have to get the current country in the iPhone settings. Can anyone tell me how to get the current country in iPhone application.
I have to use the current country for parsing the RSS feed in which I need to pass the current country.
Please help…
Is there a way to access the settings file from a different project? For example, I have a solution that contains 2 projects (Lets call them Proj1 and Proj2). I want to access the application settings of Proj2 from Program.cs in Proj1. Is this…
I have an application that I am just migrating to Azure. Currently I use web.config transformation to manage changing the database connecting string dev/staging/prod environments. How is it best to manage these multiple connection strings in Azure?
I have a python desktop application that needs to store user data. On Windows, this is usually in %USERPROFILE%\Application Data\AppName\, on OSX it's usually ~/Library/Application Support/AppName/, and on other *nixes it's usually…
How can keep all the configuration file code out of my logic code using Settings (ApplicationSettingsBase) and Dependency Injection?
With configuration I mean a customer specific configuration file.
Do I really have to inject a configuration class…
When debugging an application I always get the following error when break on exception is enabled in Visual Studio. This is really bugging me, since we work with break on exception. The funny thing is, that it still works when I continue (the…