diff --git a/Directory.Build.props b/Directory.Build.props
new file mode 100644
index 0000000..db4eaf8
--- /dev/null
+++ b/Directory.Build.props
@@ -0,0 +1,19 @@
+
+
+
+
+ 3.7.500.8
+
+ 3.7.500.8
+
+ 8.0.0
+
+ 8.0.19
+
+ 17.11.1
+
+ 2.9.3
+
+ 2.8.2
+
+
\ No newline at end of file
diff --git a/parameterstore-configuration-provider.sln b/parameterstore-configuration-provider.sln
index ef3abbd..6fcd87a 100644
--- a/parameterstore-configuration-provider.sln
+++ b/parameterstore-configuration-provider.sln
@@ -1,6 +1,6 @@
Microsoft Visual Studio Solution File, Format Version 12.00
-# Visual Studio 15
-VisualStudioVersion = 15.0.26730.16
+# Visual Studio Version 17
+VisualStudioVersion = 17.14.36310.24 d17.14
MinimumVisualStudioVersion = 15.0.26124.0
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{6E4B3BAB-D0C7-454B-B816-C8C8A5F1E052}"
EndProject
@@ -12,6 +12,11 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "example-api-test", "test\ex
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ParameterStoreConfigurationProvider", "src\ParameterStoreConfigurationProvider\ParameterStoreConfigurationProvider.csproj", "{054E604B-5DD1-48B1-89A5-3C56A340C7E5}"
EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "SolutionItems", "SolutionItems", "{02EA681E-C7D8-13C7-8484-4AC65E1B71E8}"
+ ProjectSection(SolutionItems) = preProject
+ Directory.Build.props = Directory.Build.props
+ EndProjectSection
+EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
diff --git a/src/ParameterStoreConfigurationProvider/ParameterStoreConfigurationProvider.csproj b/src/ParameterStoreConfigurationProvider/ParameterStoreConfigurationProvider.csproj
index 53d3975..c80d570 100644
--- a/src/ParameterStoreConfigurationProvider/ParameterStoreConfigurationProvider.csproj
+++ b/src/ParameterStoreConfigurationProvider/ParameterStoreConfigurationProvider.csproj
@@ -1,21 +1,22 @@
- netcoreapp2.0
+ netstandard2.0
true
- Use AWS ParameterStore to configure your .net core project
+ Use AWS ParameterStore to configure your .net project
https://github.com/schwamster/ParameterStoreConfigurationProvider
https://github.com/schwamster/ParameterStoreConfigurationProvider/blob/master/LICENSE
Bastian Töpfer
AWS ParameterStore Configuration
- 1.1.0
+
+
+ 2.0.3.7
-
-
-
-
+
+
+
diff --git a/src/example-api/Controllers/ValuesController.cs b/src/example-api/Controllers/ValuesController.cs
index f2bf7a0..3d9bf3d 100644
--- a/src/example-api/Controllers/ValuesController.cs
+++ b/src/example-api/Controllers/ValuesController.cs
@@ -1,9 +1,6 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Threading.Tasks;
-using Microsoft.AspNetCore.Mvc;
+using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Configuration;
+using System;
namespace example_api.Controllers
{
diff --git a/src/example-api/Program.cs b/src/example-api/Program.cs
index f9c77ee..f050082 100644
--- a/src/example-api/Program.cs
+++ b/src/example-api/Program.cs
@@ -1,13 +1,9 @@
-using System;
-using System.Collections.Generic;
-using System.IO;
-using System.Linq;
-using System.Threading.Tasks;
-using Microsoft.AspNetCore;
+using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
-using Microsoft.Extensions.Logging;
using ParameterStoreConfigurationProvider;
+using System.Collections.Generic;
+using System.IO;
namespace example_api
{
@@ -20,9 +16,9 @@ public static void Main(string[] args)
public static IWebHost BuildWebHost(string[] args)
{
-
+
return WebHost.CreateDefaultBuilder(args)
- .ConfigureAppConfiguration((hostContext, config)=>
+ .ConfigureAppConfiguration((hostContext, config) =>
{
config.SetBasePath(Directory.GetCurrentDirectory())
.AddJsonFile("appsettings.json", optional: false, reloadOnChange: true)
@@ -36,7 +32,7 @@ public static IWebHost BuildWebHost(string[] args)
};
parameterStoreConfig.Region = "eu-west-1";
parameterStoreConfig.UseDefaultCredentials = true;
- // parameterStoreConfig.AwsCredential = new Amazon.Runtime.StoredProfileAWSCredentials();
+ // parameterStoreConfig.AwsCredential = new Amazon.Runtime.StoredProfileAWSCredentials();
})
.AddParameterStoreConfig(parameterStoreConfig =>
{
@@ -47,7 +43,7 @@ public static IWebHost BuildWebHost(string[] args)
parameterStoreConfig.WithDecryption = true;
parameterStoreConfig.Region = "eu-west-1";
parameterStoreConfig.UseDefaultCredentials = true;
- // parameterStoreConfig.AwsCredential = new Amazon.Runtime.StoredProfileAWSCredentials();
+ // parameterStoreConfig.AwsCredential = new Amazon.Runtime.StoredProfileAWSCredentials();
});
})
.UseStartup()
diff --git a/src/example-api/Startup.cs b/src/example-api/Startup.cs
index 6c1ad62..f3754c7 100644
--- a/src/example-api/Startup.cs
+++ b/src/example-api/Startup.cs
@@ -1,13 +1,7 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Threading.Tasks;
-using Microsoft.AspNetCore.Builder;
+using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
-using Microsoft.Extensions.Logging;
-using Microsoft.Extensions.Options;
namespace example_api
{
@@ -15,7 +9,7 @@ public class Startup
{
public Startup(IConfiguration configuration)
{
- Configuration = configuration;
+ Configuration = configuration;
}
public IConfiguration Configuration { get; }
diff --git a/src/example-api/example-api.csproj b/src/example-api/example-api.csproj
index 67d164d..6f4de11 100644
--- a/src/example-api/example-api.csproj
+++ b/src/example-api/example-api.csproj
@@ -1,23 +1,13 @@
- netcoreapp2.0
+ net8.0
-
-
-
-
-
-
-
-
-
-
diff --git a/test/example-api-test/example-api-test.csproj b/test/example-api-test/example-api-test.csproj
index 80842ab..ad3e76d 100644
--- a/test/example-api-test/example-api-test.csproj
+++ b/test/example-api-test/example-api-test.csproj
@@ -1,8 +1,8 @@
-
+
- netcoreapp2.0
-
+ net8.0
+ true
false
@@ -14,10 +14,13 @@
-
-
-
-
+
+
+
+
+ all
+ runtime; build; native; contentfiles; analyzers
+