tagged [configuration]
Having NLog loggers with different configuration
Having NLog loggers with different configuration In NLog is possible to create multiple loggers with different configuration? I have a component that every time that is instanced must log all events t...
- Modified
- 18 Jul at 21:17
ConfigurationManager.AppSettings use another config file
ConfigurationManager.AppSettings use another config file I have about 10 methods in my class. In every method I use `ConfigurationManager.AppSettings` to get value form App.config file like My problem...
- Modified
- 20 Jan at 15:0
How to disable creation of empty log file on app start?
How to disable creation of empty log file on app start? I have configured log4net in my app successfully but one thing is a little bit annoying for me. The log file is created (empty) after my app sta...
- Modified
- 29 Feb at 04:30
Use XML includes or config references in app.config to include other config files' settings
Use XML includes or config references in app.config to include other config files' settings I have standard logging, NHibernate, etc. configuration blocks in my `app.config` and I'd like to extract th...
- Modified
- 29 Apr at 00:9
Autofac IComponentContext vs ILifetimeScope
Autofac IComponentContext vs ILifetimeScope I was passing the IContainer in a service so I read that it is not good to pass this around but instead use it only to the root of the app and pass either I...
- Modified
- 29 May at 10:38
Accessing another projects app.config properties?
Accessing another projects app.config properties? I have two projects within my solution, for this example I will call them project A and B. Project B references A. Can Project B access the app.config...
- Modified
- 1 Apr at 12:12
How to read "List Separator" settings from Regional configuration of control panel?
How to read "List Separator" settings from Regional configuration of control panel? I'm making multi culture plugin for MS Word,Excel where I need to identify setting value provided in Regional Settin...
- Modified
- 26 Jul at 18:11
custom ConfigurationSection
custom ConfigurationSection I use IConfigurationSectionHandler interface to get information about my custom config section. But it's deprecated and I want to use ConfigurationSection instead. How to c...
- Modified
- 2 Nov at 16:14
Encrypt password in configuration files
Encrypt password in configuration files I have a program that reads server information from a configuration file and would like to encrypt the password in that configuration that can be read by my pro...
- Modified
- 26 Jan at 23:44
How to read ruby on rails config values from within the application controller
How to read ruby on rails config values from within the application controller If i have a configuration file like this How do I get the value from within my application controller, e.g: ``` # app/con...
- Modified
- 3 Sep at 16:20
services.Configure<>() or services.AddSingleton().Get()?
services.Configure() or services.AddSingleton().Get()? As known there are two ways to get option classes in ASP.NET Core 2: 1. Using services.Configure() like this: services.AddOption(); services.Conf...
- Modified
- 22 Nov at 13:13
Visual Web Developer (Express): Setting Document Root for Dev Environment
Visual Web Developer (Express): Setting Document Root for Dev Environment I'm developing a site in Visual Web Dev Express, and when I run/debug, I'd like to be able to set my application's document ro...
- Modified
- 14 Aug at 19:48
App.config vs. .ini files
App.config vs. .ini files I'm reviewing a .NET project, and I came across some pretty heavy usage of .ini files for configuration. I would much prefer to use app.config files instead, but before I jum...
- Modified
- 19 Mar at 08:15
ASP.NET Core configuration for .NET Core console application
ASP.NET Core configuration for .NET Core console application ASP.NET Core support a new configuration system as seen here: [https://docs.asp.net/en/latest/fundamentals/configuration.html](https://docs...
- Modified
- 8 Jun at 11:56
Load parts of App.Config from another file
Load parts of App.Config from another file I like to split my `app.config` into a user specific part and an application specific part. Is it possible to store a part of the `app.config` in another fil...
- Modified
- 20 Apr at 11:37
How to configure postgresql for the first time?
How to configure postgresql for the first time? I have just installed postgresql and I specified password x during installation. When I try to do `createdb` and specify any password I get the message:...
- Modified
- 10 Jul at 12:59
Where is ConfigurationManager's namespace?
Where is ConfigurationManager's namespace? I've got a reference to `System.Configuration` - and `ConfigurationSettings` is found no problem - but the type or namespace '`ConfigurationManager`' could n...
- Modified
- 5 Oct at 07:54
How to programmatically modify WCF app.config endpoint address setting?
How to programmatically modify WCF app.config endpoint address setting? I'd like to programmatically modify my app.config file to set which service file endpoint should be used. What is the best way t...
- Modified
- 12 Apr at 04:44
I can not find my.cnf on my windows computer
I can not find my.cnf on my windows computer My computer is Windows XP. I need to find `my.cnf` to get all privileges back to the root user. I accidentally removed some privileges of the root user. I ...
- Modified
- 12 Aug at 04:16
How can I add a filter class in Spring Boot?
How can I add a filter class in Spring Boot? Is there any annotation for a `Filter` class (for web applications) in Spring Boot? Perhaps `@Filter`? I want to add a custom filter in my project. [The Sp...
- Modified
- 12 May at 08:2
How to get config parameters in Symfony2 Twig Templates
How to get config parameters in Symfony2 Twig Templates I have a Symfony2 Twig template. I want to output the value of a config parameter in this twig template (a version number). Therefore I defined ...
- Modified
- 22 Nov at 04:36
How can I get current config of the web application without using HttpContext?
How can I get current config of the web application without using HttpContext? I need to get the instance of current configuration in my web application. I found that I can get it in the following way...
- Modified
- 8 Nov at 15:17
Change connection string & reload app.config at run time
Change connection string & reload app.config at run time When I change the connection string using this code, it does not reload `app.config` at runtime. I expected it to reload similarly to how we re...
- Modified
- 23 Aug at 22:33
Environment variable to control java.io.tmpdir?
Environment variable to control java.io.tmpdir? I've used the `TMP` environment variable to control things like where gcc writes it's temporary files, but I can't seem to find an equivalent for java's...
- Modified
- 23 Feb at 16:34
The only supported ciphers are AES-128-CBC and AES-256-CBC with the correct key lengths. laravel 5.3
The only supported ciphers are AES-128-CBC and AES-256-CBC with the correct key lengths. laravel 5.3 I installed a new fresh copy of Laravel 5.3 using composer but I'm getting this error: > The only s...
- Modified
- 23 Apr at 08:29