Questions tagged [configuration-files]

Files that configure the initial settings for some computer programs.

2246 questions
0
votes
1 answer

Best practices for creating and reading app configuration file for angular app

I have an angular application that is gona be installed on many sites (owner requeriment) but, for every site, the configuration must be different (colors, some texts, some logos, backend server, etc). I want to write a configuration file that will…
oware
  • 626
  • 9
  • 19
0
votes
2 answers

How to transfer content from config.ini file to csv file in a logical format?

Is there anyway that I can retrieved my config file content and display the necessary content in a logical format using for loop? [_1_ubu] control_name = 1.1 Ensure AppArmor is installed outcome = PASS sys_out = Status: install ok…
Ahsu21
  • 21
  • 4
0
votes
3 answers

How to change default location of struts.xml in Struts 2?

I want to know how to change default location of struts.xml in Struts 2? Thank for your help!
tandaica0612
  • 369
  • 10
  • 23
0
votes
1 answer

dependabot configuration: allow property not allowing updates of dependencies as expected

I am trying to customize which dependencies are updated using the allow property of Dependabot's configuration YAML. Research: allow I see that the allow property is preventing update of the dependencies instead of allowing update. Also, an allow…
SriA
  • 11
  • 3
0
votes
1 answer

How to implement a custom "ConfigurationSection" with a nested "ConfigurationElementCollection" containing a custom "Element"

I am trying to implement a custom configuration section containing a collection of another custom element. The customer element contains some simple strings but also a collection of certificateReference. I have only included one instance of…
Adam
  • 65
  • 1
  • 3
  • 10
0
votes
1 answer

hydra override an interpolated dict value in .yaml config

Let's say I have a config like the following: foo: a : 1 b : 2 c : aa : ??? bb : 2 bar : ${foo.c} baz : ${foo.c} and want to specialise (or override) aa in bar and baz. Is there a clean way to do this? I can't see how to do this with…
0
votes
0 answers

Trying to set my configuration file as a defult configuration file for Visual Studio Code Extension

Is there any way using which we can force Visual Studio Code Marketplace extension to use our own configuration file instead of their own default .config file upon installation? I really want to use my own configuration file for a particular…
0
votes
2 answers

Configuration File For .net(Unable to pass in correct values)

An exert from my config file looks liek this.
sealz
  • 5,348
  • 5
  • 40
  • 70
0
votes
3 answers

Best way to store queries outisde of program in C#

I have some connection strings and queries that I need to store outside my C# program (can't hardcode them). Right now I'm using the application configuration file of Visual Studio. Unfortunately the queries require variables (chosen at run-time by…
Andrew
  • 2,519
  • 6
  • 29
  • 46
0
votes
1 answer

Load section of config file into dictionary in net 5.0

I have to work on an application in net 5.0 not developed by me, that I don't know. I would like to add a section in the config file and load it into a dictionary. this is the section in config file: { "MyApp": { "ServiceExceptions": [ …
FDB
  • 971
  • 16
  • 32
0
votes
2 answers

Spring Boot - get current configuration file path in runtime

I need to get absolute path to current active configuration file in Spring boot that don't locate in classpath or resources It can be located in default place - project folder, subfolder "config", set via spring.config.location and in random place,…
EoinKanro
  • 105
  • 1
  • 7
0
votes
1 answer

How do I share configuration settings between two applications

I have two applications written in C#. Both do the same basic task; one has a UI and is designed to set-up and configure a process and the other is a console application designed to run the process as configured on a schedule. I have them set up in…
glenatron
  • 11,018
  • 13
  • 64
  • 112
0
votes
1 answer

How stop multiple projects in vscode with the launch.json

I have in my launch.JSON a configuration that allows me to start two different API projects at the same time (Web API One and Web API Two), both are components of the same project, everything works fine on start, but if I need to stop the APIs I…
0
votes
1 answer

ASP.Net Core: How to add a custom configuration loaded via FileStream and Deserialization to the IConfiguration

I have a custom configuration XML file came with an SDK. I like to use that file without modifying in order to avoid refactoring all the SDK files dependent on. I tried with .addXMLFile. But, apparently the XML file is not compatible with that. And…
Sener
  • 335
  • 4
  • 17
0
votes
1 answer

How to use complex string command in init.vim

I have this string in init.vim: set background=white " FR! I want to bind this command to a keymap in init.vim (for find and replace text, that's why I use " FR!, to make sure it will not replace another line): :!sed -i 's/set background=white "…
ForteD
  • 41
  • 4
1 2 3
99
100