Comments (2)
A basic solution could just load in the items you want one by one.
Dotnet comes with methods to access these plainly: https://learn.microsoft.com/en-us/dotnet/api/system.environment.getenvironmentvariable?view=net-7.0
You could also give FsConfig a shot. Just replace the hardcoded libraries with that.
As noted, it supports Environment Variables, AppConfig, Json Files, INI files (similar to the typical .env found in other ecosystems), XML.
Also some notes in this blog post about env vars and .env files.
from saturn.
@Banashek - Thank you. Closing.
from saturn.
Related Issues (20)
- [Security] Workflow benchmark.yml is using vulnerable action actions/checkout HOT 1
- [Security] Workflow build.yml is using vulnerable action actions/checkout HOT 1
- [Security] Workflow publish.yml is using vulnerable action actions/checkout HOT 1
- [Security] Workflow publish.yml is using vulnerable action mindsers/changelog-reader-action
- Endpoint Routing Still Experimental? HOT 1
- Map Standard Controller to Router or Controller?
- Endpoint router does not have concept of NotFoundHandler HOT 1
- Router executes all getf functions regardless of them being called (in debug only), is passing null into the arguments HOT 2
- Considering file-based router ?
- How To Start a Saturn Project HOT 27
- requireHeader Pipeline Helper Returning Http 404
- svg has mimetype text/plain
- [MINOR] spelling error in comments in sample application HOT 1
- Update docs to reflect latest changes and use enpoints routing as default?
- Publish Application.fs independent CE for Aspnetcore builder as a separate nuget package with only aspnet dependencies
- Zookeeper zxid溢出后选举.saturn web会出现重连失败.
- sample/ChannelsSample throws error on join HOT 3
- acceptJson throws MissingMethodException
- Routes at same level with different auth* requirements
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from saturn.