How to create a custom configuration provider in ASP.NET Core 6

We use configuration providers in ASP.NET Core to load configuration data into our application from one or more configuration sources. These providers can read configuration data from command line arguments, environment variables, JSON or XML files, databases, Azure Key Vault, and other sources—including your own custom sources. The ASP.NET Core configuration system comprises a set … Read more

Externalize Microservice Configuration With Spring

In a microservices system, we might need or want to externalize configuration so that we can abstract sensitive data or credentials outside the applications. We can do something like this with Docker Compose, but the compose file often contains values ​​for multiple services together. We probably want further separation and limited access. This is where … Read more

AWS Lambda Provisioned Concurrency AutoScaling Configuration With AWS CDK

A couple of weeks ago, I was working on some AWS CDK-based code and I was trying to figure out how to configure auto-scaling for the provisioned concurrency configuration of an AWS Lambda function. We wanted to run some performance tests on our service and were wondering how scaling provisioned concurrency would impact our overall … Read more

Extract Build Configuration From Unreadable Xcodeproj Files Into Readable Xcconfigs | by Anurag Ajwani | Jul, 2022

Working with Xcode Build Configurations files (XCConfigs) Photo by Jimmy Nilsson Masth on Unsplash Have you changed or tweaked your build settings in Xcode? Have you ever pushed Xcode build settings changes to git? Tweaking Xcode build settings can be a messy business. Let’s say you’re working with multiple devs in the same Xcode project. … Read more

Six Useful T-SQL Configuration Functions

SQL Server offers several types of system functions to meet our business requirements. One such type is configuration functions using which we can get the information about current configuration option settings. These functions operate in a non-deterministic way, which means they may return different values ​​by running these functions with the same inputs. Today I … Read more

React Testing Library Configuration for Productive Unit Testing | by Teddy Morin | Jul, 2022

An example with Redux and GraphQL Photo by sharonmccutcheon on Unsplash Too often, I join a new React project where unit tests are lacking, both in amount and quality. There are a few causes, but the one I want to discuss today is the poor test environment. Indeed, testing requires skills, thoroughness, and is definitely … Read more

Setup Microservices on Kubernetes — Write a Configuration File | by Quân Huỳnh | Jul, 2022

Deployed the microservice to Kubernetes Photo by Savannah Wakefield on Unsplash In this tutorial, we will learn how to set up a Microservices System on Kubernetes. In part one we are going to talk about how to write a configuration file for each component of the microservice system. This is part one in the series … Read more

java – Using picoCLI to recursively parse configuration files?

Here’s my solution; maybe it’s useful to someone. The basic approach is to use a new CommandLine instance for each nested config file. All code snippets below are from the annotated class; project-specific housekeeping, error checking, path construction etc. were removed. Problem #1 is solved by the parseConfigFile(…) method: @Option(names = { “configfile”, “cf” } … Read more

Convert Pound 2.8 Configuration file to 3.x YAML

I have this v2.8-2 configuration file that I want to convert to the new YAML format. Documentation is hard to find. User “root” Group “root” LogLevel 5 Alive 10 Control “/var/run/poundctl.socket” # Redirect all http requests on port 80 to https on port 443 ListenHTTP Address 0.0.0.0 Port 80 Err500 “/usr/local/etc/pound_error_500” Err503 “/usr/local/etc/pound_error_500” Service Redirect … Read more