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: 3 months ago
JSON representation
Using options pattern in web apis and console apps
- Host: GitHub
- URL: https://github.com/aimenux/configurationdemo
- Owner: aimenux
- Created: 2020-01-12T16:49:41.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-03-07T21:42:14.000Z (about 1 year ago)
- Last Synced: 2025-01-10T00:25:28.158Z (4 months ago)
- Topics: configuration, console-app, net80, options-pattern, webapi
- Language: C#
- Homepage:
- Size: 24.4 KB
- Stars: 0
- Watchers: 2
- 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