Questions tagged [configuration]

Configuration is the process of specifying the settings used for a system or application

Configuration is used to customize the behavior of a program. It is commonly done using static configuration files that can be composed in any common text editor, but some applications provide tools (sometimes even with graphical interfaces) to create, modify, and verify the syntax of their configuration files.

Some programs only read their configuration files at startup. Others periodically check the configuration files for changes. Users can instruct some programs to re-read the configuration files and apply the changes to the current process, or indeed to read arbitrary files as a configuration file.

18012 questions
9
votes
4 answers

Authentication a WCF Request via Client Certificate over HTTPS

I've been struggling with the configuration for this blasted WCF service for the past week, and I'm slowing beginning to suspect that what I'm trying to do is just not possible, despite the documentation. Quite simply, I want to have a WCF service…
Chris B. Behrens
  • 6,255
  • 8
  • 45
  • 71
9
votes
3 answers

Unresolved Placeholder Validation for Spring Boot Configuration Properties

Given some application configuration with an unresolvable placeholder, like the following application.yml my: thing: ${missing-placeholder}/whatever When I use @Value annotations, the placeholders in the configuration file are validated, so in…
9
votes
1 answer

How do i prevent a .js file being bundled by webpack

Hi I am currently using webpack to bundle my project files into a single file. However, I do not want webpack to bundle my config.js file where all my config is set. I would like to this remain separate in the output folder but not sure out to…
Dev
  • 115
  • 1
  • 7
9
votes
3 answers

Encryption / Decryption of app.config sections using RsaProtectedConfigurationProvider

During the installation of our program we run this method to encrpyt sections of the app.config: // Get the application configuration file. Configuration config = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None); //…
Jan
  • 295
  • 2
  • 4
  • 11
9
votes
1 answer

Config-Class in Python

what is the pythonic way to use a config in object oriented programming? I thought of the following 2 setups: class Main(): def __init__(self): self.config = ConfigClass("config_file.cfg") self.worker =…
F.M.F.
  • 1,929
  • 3
  • 23
  • 42
9
votes
1 answer

Create XmlRpcUrl Interface at runtime

Currently I'm creating my XML-RPC using (xml-rpc.net) interfaces statically with the following statement: [XmlRpcUrl("http://dillieodigital.wordpress.com/xmlrpc.php")] public interface ICSBlog : IMetaWeblog { } However, I'd like to be able to…
Dillie-O
  • 29,277
  • 14
  • 101
  • 140
9
votes
4 answers

C# - ConfigurationSection isRequired attribute

I'm having this wierd problem... in my code whether I set the value of IsRequired to false or true then it stays false.. However if I put in a DefaultValue it works? The non-working code is: public class FtpSettingsSection : ConfigurationSection { …
ebb
  • 9,297
  • 18
  • 72
  • 123
9
votes
0 answers

Yarn behind corporate proxy ignores npmrc settings

Is there a possibility that Yarn does use the configuration from npm? All the necessary settings are existing in the .npmrc file and yarn should use them too. One of the standard errors behind corporate proxy: Yarn is unable to verify the first…
user3025289
9
votes
4 answers

Do you have to mess with Rails's "routes.rb" file?

I never touch routes.rb beyond calling map.root to set a default route. I've always been content to use URLs of the form... /controller/action/perhaps_an_id and it works fine. Does this make me a bad person? Am I missing out on something totally…
Ethan
  • 57,819
  • 63
  • 187
  • 237
9
votes
1 answer

Ansible-playbook: directly run handler

Is there a way to directly run handler by ansible-playbook? For example, i have handler restart service in my role and sometimes i want just trigger it directly without deploying whole app.
rootatdarkstar
  • 1,486
  • 2
  • 15
  • 26
9
votes
1 answer

How can I set Spring property from the XML configuration file?

I have some spring config that uses a property, like so: Obviously I know I can resolve this property by having a properties file (say…
tonicsoft
  • 1,736
  • 9
  • 22
9
votes
4 answers

Is it possible to configure VS2010 to always run as Administrator?

Does anyone know if you can do this by default rather than having to use context menu?
abarr
  • 1,140
  • 3
  • 13
  • 28
9
votes
2 answers

Limit access to an URL with query parameters

I need that an URL is accessible only for some defined users. In the URL there is a query parameter and that is the discriminator. The URL could be something like this: https://my.my.com/my-app/view/myView.xhtml?myQueryParam=allUsers My experience…
Francesco
  • 2,350
  • 11
  • 36
  • 59
9
votes
1 answer

Log4j2 Custom appender: ERROR Attempted to append to non-started appender

I have created a custom appender in log4j2. While using the custom appender, I am getting the following error: "ERROR Attempted to append to non-started appender". Any help is appreciated.
janeshs
  • 793
  • 2
  • 12
  • 26
9
votes
1 answer

.Net Core / Console Application / Configuration / XML

My first little venture into the .Net Core libraries using the new ConfigurationBuilder, and Options pattern. Lot's of good examples here: https://docs.asp.net/en/latest/fundamentals/configuration.html and a good copy of the example here Item 1. it…
codeputer
  • 1,987
  • 3
  • 19
  • 45