-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #31 from Aguafrommars/main
fix preview
- Loading branch information
Showing
27 changed files
with
220 additions
and
89 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# Update all depencies each days if needed | ||
name: Check Dependencies | ||
|
||
# Controls when the action will run. | ||
on: | ||
# Triggers the workflow at 02:00 each days | ||
schedule: | ||
- cron: '0 2 * * *' | ||
# allow to launch the job manually | ||
workflow_dispatch: | ||
|
||
jobs: | ||
# This workflow contains a single job called "build" | ||
build: | ||
# The type of runner that the job will run on | ||
runs-on: windows-latest | ||
|
||
# Steps represent a sequence of tasks that will be executed as part of the job | ||
steps: | ||
# Checkout the branch fix/dependencies with the PAT | ||
- uses: actions/checkout@v2 | ||
with: | ||
ref: fix/dependencies | ||
token: ${{ secrets.PAT }} | ||
fetch-depth: 0 | ||
- name: Merge main | ||
run: | | ||
git config user.name github-actions | ||
git config user.email [email protected] | ||
git merge origin/main --allow-unrelated-histories | ||
# Setup .NET Core SDK | ||
- name: Setup .NET Core SDK | ||
uses: actions/[email protected] | ||
with: | ||
dotnet-version: 7.0.x | ||
# Run update depencies script | ||
- name: Update dependencies | ||
run: ./update-dependencies.ps1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.PAT }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -350,3 +350,4 @@ MigrationBackup/ | |
.ionide/ | ||
/ReportGenerator | ||
/coverage | ||
.dccache |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,81 @@ | ||
# DynamicConfiguration | ||
|
||
Manage your .NET application configuration dynamically | ||
Manage your .NET application configuration dynamically. | ||
|
||
[![Quality gate](https://sonarcloud.io/api/project_badges/quality_gate?project=Aguafrommars_DynamicConfiguration)](https://sonarcloud.io/dashboard?id=Aguafrommars_DynamicConfiguration) | ||
|
||
[![Build status](https://ci.appveyor.com/api/projects/status/ufot0jcsr2bw6dg4/branch/main?svg=true)](https://ci.appveyor.com/project/aguacongas/dynamicconfiguration/branch/main) | ||
|
||
Nuget packages | ||
-------------- | ||
|Services|Redis Configuration Provider|Web API|Razor components| | ||
|:------:|:------:|:------:|:------:| | ||
|[![][Services-badge]][Services-nuget]|[![][Redis-badge]][Redis-nuget]|[![][WepAPI-badge]][WepAPI-nuget]|[![][Razor-badge]][Razor-nuget]| | ||
|[![][Services-downloadbadge]][Services-nuget]|[![][Redis-downloadbadge]][Redis-nuget]|[![][WepAPI-downloadbadge]][WepAPI-nuget]|[![][Razor-downloadbadge]][Razor-nuget]| | ||
|
||
[Services-badge]: https://img.shields.io/nuget/v/Aguacongas.DynamicConfiguration.svg | ||
[Services-downloadbadge]: https://img.shields.io/nuget/dt/Aguacongas.DynamicConfiguration.svg | ||
[Services-nuget]: https://www.nuget.org/packages/Aguacongas.DynamicConfiguration/ | ||
|
||
[Redis-badge]: https://img.shields.io/nuget/v/Aguacongas.DynamicConfiguration.Redis.svg | ||
[Redis-downloadbadge]: https://img.shields.io/nuget/dt/Aguacongas.DynamicConfiguration.Redis.svg | ||
[Redis-nuget]: https://www.nuget.org/packages/Aguacongas.DynamicConfiguration.Redis/ | ||
|
||
[WepAPI-badge]: https://img.shields.io/nuget/v/Aguacongas.DynamicConfiguration.WebApi.svg | ||
[WepAPI-downloadbadge]: https://img.shields.io/nuget/dt/Aguacongas.DynamicConfiguration.WebApi.svg | ||
[WepAPI-nuget]: https://www.nuget.org/packages/Aguacongas.DynamicConfiguration.WebApi/ | ||
|
||
[Razor-badge]: https://img.shields.io/nuget/v/Aguacongas.DynamicConfiguration.Razor.svg | ||
[Razor-downloadbadge]: https://img.shields.io/nuget/dt/Aguacongas.DynamicConfiguration.Razor.svg | ||
[Razor-nuget]: https://www.nuget.org/packages/Aguacongas.DynamicConfiguration.Razor/ | ||
|
||
|
||
## Description | ||
|
||
This repository contains the source code of .NET library to dynamicaly configure your .NET applications. | ||
|
||
``` bash | ||
├─ sample | ||
| ├─ RedisConfigurationSample | ||
| ├─ YarpSample | ||
├─ src | ||
| ├─ Aguacongas.DynamicConfiguration | ||
| ├─ Aguacongas.DynamicConfiguration.Redis | ||
| ├─ Aguacongas.DynamicConfiguration.WebApi | ||
| └─ Blazor | ||
| └── Aguacongas.DynamicConfiguration.Razor | ||
└─ test | ||
``` | ||
|
||
### Services | ||
|
||
[Aguacongas.DynamicConfiguration](src/Aguacongas.DynamicConfiguration/README.md) contains interfaces and services to dynamically configure .NET programs. | ||
|
||
### Providers | ||
|
||
[Aguacongas.DynamicConfiguration.Redis](src/Aguacongas.DynamicConfiguration.Redis/README.md) contains a [Configuration provider](https://docs.microsoft.com/en-us/dotnet/core/extensions/configuration-providers) implementation for [Redis](https://redis.io/). | ||
|
||
### Web API | ||
[Aguacongas.DynamicConfiguration.WebApi](src/Aguacongas.DynamicConfiguration.WebApi/README.md) contains a Web API to read and store the configuration. | ||
|
||
![configuration-API-get.jpeg](doc/assets/configuration-API.jpeg) | ||
|
||
### Components | ||
|
||
[Aguacongas.DynamicConfiguration.Razor](src/Blazor/Aguacongas.DynamicConfiguration.Razor/Readme.md) contains Razor components to manage the configuration. | ||
|
||
![configuration-API-get.jpeg](doc/assets/settings-component.jpeg) | ||
|
||
## Setup | ||
|
||
Each project contains a *Readme.md* containing information to use the library. | ||
|
||
## Build from source | ||
|
||
You can build the solution with Visual Studio or use the `dotnet build` command. | ||
|
||
## Contribute | ||
|
||
We warmly welcome contributions. You can contribute by opening an issue, suggest new a feature, or submit a pull request. | ||
|
||
Read [How to contribute](CONTRIBUTING.md) and [Contributor Covenant Code of Conduct](CODE_OF_CONDUCT.md) for more information. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 6 additions & 8 deletions
14
sample/RedisConfigurationSample/RedisConfigurationSample.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 8 additions & 9 deletions
17
src/Aguacongas.DynamicConfiguration.WebApi/Aguacongas.DynamicConfiguration.WebApi.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.