https://github.com/aimenux/configurationdemo
Using options pattern in web apis and console apps
https://github.com/aimenux/configurationdemo
configuration console-app net80 options-pattern webapi
Last synced: 5 months ago
JSON representation
Using options pattern in web apis and console apps
- Host: GitHub
- URL: https://github.com/aimenux/configurationdemo
- Owner: aimenux
- License: mit
- Created: 2020-01-12T16:49:41.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2025-06-03T21:28:40.000Z (10 months ago)
- Last Synced: 2025-06-04T06:00:51.581Z (10 months ago)
- Topics: configuration, console-app, net80, options-pattern, webapi
- Language: C#
- Homepage:
- Size: 26.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](https://github.com/aimenux/ConfigurationDemo/actions/workflows/ci.yml)
# ConfigurationDemo
```
Using options pattern in web apis and console apps
```
In this demo, i'm using [`IOptions`, `IOptionsMonitor` and `IOptionsSnapshot`](https://docs.microsoft.com/en-us/aspnet/core/fundamentals/configuration/options) in 2 projects (web api & console app).
Solution structure :
- Api : web api
- App : console app
- Lib : shared code between web api and console app
**`Tools`** : net8.0