diff --git a/DDD.Core/DDD.Core.csproj b/DDD.Core/DDD.Core.csproj index effc46e..2ceff5d 100644 --- a/DDD.Core/DDD.Core.csproj +++ b/DDD.Core/DDD.Core.csproj @@ -1,7 +1,7 @@ - netcoreapp3.1 + net6.0 diff --git a/DDD.Functions.Extensions/DDD.Functions.Extensions.csproj b/DDD.Functions.Extensions/DDD.Functions.Extensions.csproj index dbf6a0f..14560be 100644 --- a/DDD.Functions.Extensions/DDD.Functions.Extensions.csproj +++ b/DDD.Functions.Extensions/DDD.Functions.Extensions.csproj @@ -1,11 +1,11 @@ - netcoreapp3.1 + net6.0 - + diff --git a/DDD.Functions/DDD.Functions.csproj b/DDD.Functions/DDD.Functions.csproj index 7f2800a..1ec7a62 100644 --- a/DDD.Functions/DDD.Functions.csproj +++ b/DDD.Functions/DDD.Functions.csproj @@ -1,11 +1,11 @@  - netcoreapp3.1 - v3 + net6.0 + v4 - - + + diff --git a/DDD.Functions/SubmitVote.cs b/DDD.Functions/SubmitVote.cs index bcd6aab..026bc91 100644 --- a/DDD.Functions/SubmitVote.cs +++ b/DDD.Functions/SubmitVote.cs @@ -17,6 +17,7 @@ namespace DDD.Functions public static class SubmitVote { [FunctionName("SubmitVote")] + [Obsolete] public static async Task Run( [HttpTrigger(AuthorizationLevel.Anonymous, "post", Route = null)] HttpRequestMessage req, @@ -152,6 +153,7 @@ public class VoteRequest public static class RequestExtensions { + [Obsolete] public static string GetIpAddress(this HttpRequestMessage req) { if (req.Properties.ContainsKey("HttpContext")) diff --git a/DDD.Functions/host.json b/DDD.Functions/host.json index 81e35b7..4112a23 100644 --- a/DDD.Functions/host.json +++ b/DDD.Functions/host.json @@ -1,3 +1,3 @@ { - "version": "2.0" + "version": "4.0" } \ No newline at end of file diff --git a/DDD.Sessionize.Tests/DDD.Sessionize.Tests.csproj b/DDD.Sessionize.Tests/DDD.Sessionize.Tests.csproj index aadc480..892a5eb 100644 --- a/DDD.Sessionize.Tests/DDD.Sessionize.Tests.csproj +++ b/DDD.Sessionize.Tests/DDD.Sessionize.Tests.csproj @@ -1,7 +1,7 @@ - netcoreapp3.1 + net6.0 3.1.1 diff --git a/DDD.Sessionize.Tests/TestHelpers/Shouldly/Shouldly.Core.csproj b/DDD.Sessionize.Tests/TestHelpers/Shouldly/Shouldly.Core.csproj index e7d5168..45ec533 100644 --- a/DDD.Sessionize.Tests/TestHelpers/Shouldly/Shouldly.Core.csproj +++ b/DDD.Sessionize.Tests/TestHelpers/Shouldly/Shouldly.Core.csproj @@ -1,6 +1,6 @@  - netcoreapp3.1 + net6.0 diff --git a/DDD.Sessionize/DDD.Sessionize.csproj b/DDD.Sessionize/DDD.Sessionize.csproj index e0a4cf7..52e84ca 100644 --- a/DDD.Sessionize/DDD.Sessionize.csproj +++ b/DDD.Sessionize/DDD.Sessionize.csproj @@ -1,7 +1,7 @@ - netcoreapp3.1 + net6.0 diff --git a/README.md b/README.md index d46149e..3643761 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ This project contains backend functionality to run the DDD conferences, includin ### Prerequisites * VSCode () or your preferred IDE -* Dotnet Core 3.1 () +* Dotnet 6 () * Azure Functions Core Tools() ### Commands