diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml index a1e5d7b..ba7c4df 100644 --- a/.github/workflows/ci-build.yml +++ b/.github/workflows/ci-build.yml @@ -21,7 +21,7 @@ jobs: - name: Ensure .NET Installed uses: actions/setup-dotnet@v1 with: - dotnet-version: 5.0.x + dotnet-version: 6.0.x - name: Install GitVersion run: dotnet tool install --global GitVersion.Tool diff --git a/.github/workflows/release-build.yml b/.github/workflows/release-build.yml index 44c1aca..be1ed7e 100644 --- a/.github/workflows/release-build.yml +++ b/.github/workflows/release-build.yml @@ -20,7 +20,7 @@ jobs: - name: Ensure .NET Installed uses: actions/setup-dotnet@v1 with: - dotnet-version: 5.0.x + dotnet-version: 6.0.x - name: Install GitVersion run: dotnet tool install --global GitVersion.Tool diff --git a/README.md b/README.md index be39f9a..bd190ae 100644 --- a/README.md +++ b/README.md @@ -14,22 +14,24 @@ This project provides a number of helpful wrappers around the Microsoft Azure St Install from NuGet -``` +``` powershell Install-Package ICG.AspNetCore.Utilities.CloudStorage ``` ### Register Dependencies Inside of of your project's Startus.cs within the RegisterServices method add this line of code. -``` +``` c# +services.UseIcgNetCoreUtilities(Configuration); services.UseIcgAspNetCoreUtilitiesCloudStorage(); ``` + ## Configure Lastly, before using you will need to configure your storage options. An example configuation is below. -``` +``` json "AzureCloudStorageOptions": { "StorageConnectionString": "", "RootClientPath": "", diff --git a/src/AspNetCore.Utilities.CloudStorage.Tests/AspNetCore.Utilities.CloudStorage.Tests.csproj b/src/AspNetCore.Utilities.CloudStorage.Tests/AspNetCore.Utilities.CloudStorage.Tests.csproj index 8d67423..6682874 100644 --- a/src/AspNetCore.Utilities.CloudStorage.Tests/AspNetCore.Utilities.CloudStorage.Tests.csproj +++ b/src/AspNetCore.Utilities.CloudStorage.Tests/AspNetCore.Utilities.CloudStorage.Tests.csproj @@ -1,7 +1,7 @@  - net5.0 + net6.0 false @@ -15,7 +15,7 @@ - + diff --git a/src/AspNetCore.Utilities.CloudStorage/AspNetCore.Utilities.CloudStorage.csproj b/src/AspNetCore.Utilities.CloudStorage/AspNetCore.Utilities.CloudStorage.csproj index 211aaf6..84b3df4 100644 --- a/src/AspNetCore.Utilities.CloudStorage/AspNetCore.Utilities.CloudStorage.csproj +++ b/src/AspNetCore.Utilities.CloudStorage/AspNetCore.Utilities.CloudStorage.csproj @@ -1,9 +1,5 @@  - - 0.0.0 - - ICG.AspNetCore.Utilities.CloudStorage AspNetCore Utilities CloudStorage @@ -23,7 +19,7 @@ - net5.0 + net6.0 ICG.AspNetCore.Utilities.CloudStorage true true @@ -42,9 +38,9 @@ - - - + + + all runtime; build; native; contentfiles; analyzers; buildtransitive