Yan Cui
I help clients go faster for less using serverless technologies.
This article is brought to you by
Step Functions, EventBridge, MSK, DynamoDB…stop hacking together AWS services and get back to building!
There’s a little known attribute which was introduced in the .Net framework 2.0 called configSource, which allows you to externalize sections of the configuration file.
It works just like the optional file attribute found on the appSettings element:
<appSettings file = “relative file name” />
but can be added to any configuration section to specify an external file for that section:
<CustomSection configSource=”relative file name” />
When it comes to WCF though, unfortunately the configSource attribute doesn’t work on the <system.serviceModel> section group, but luckily you can still apply it on the child config sections. See the reference link below for some examples.
Reference:
Whenever you’re ready, here are 3 ways I can help you:
- Production-Ready Serverless: Join 20+ AWS Heroes & Community Builders and 1000+ other students in levelling up your serverless game. This is your one-stop shop for quickly levelling up your serverless skills.
- I help clients launch product ideas, improve their development processes and upskill their teams. If you’d like to work together, then let’s get in touch.
- Join my community on Discord, ask questions, and join the discussion on all things AWS and Serverless.