diff --git a/examplesUsingCertificateAuthentication/AspNetCoreChained/AspNetCoreCertificateAuth.sln b/examplesUsingCertificateAuthentication/AspNetCoreChained/AspNetCoreCertificateAuth.sln index 7c98890..71b4c4c 100644 --- a/examplesUsingCertificateAuthentication/AspNetCoreChained/AspNetCoreCertificateAuth.sln +++ b/examplesUsingCertificateAuthentication/AspNetCoreChained/AspNetCoreCertificateAuth.sln @@ -1,12 +1,10 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 16 -VisualStudioVersion = 16.0.29609.76 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 MinimumVisualStudioVersion = 10.0.40219.1 Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AspNetCoreCertificateAuth", "AspNetCoreCertificateAuth\AspNetCoreCertificateAuth.csproj", "{ED21F60B-1535-4B84-92E9-5D76319DA0BC}" EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{E953693D-E196-4AA8-BD74-8C5D8127ED96}" -EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AspNetCoreCertificateAuthApiChained", "AspNetCoreCertificateAuthApiChained\AspNetCoreCertificateAuthApiChained.csproj", "{FE17EDCF-C5C4-4B7C-AC01-99E372BBE952}" EndProject Global diff --git a/examplesUsingCertificateAuthentication/AspNetCoreChained/AspNetCoreCertificateAuth/AspNetCoreCertificateAuth.csproj b/examplesUsingCertificateAuthentication/AspNetCoreChained/AspNetCoreCertificateAuth/AspNetCoreCertificateAuth.csproj index 9142792..d38cdbd 100644 --- a/examplesUsingCertificateAuthentication/AspNetCoreChained/AspNetCoreCertificateAuth/AspNetCoreCertificateAuth.csproj +++ b/examplesUsingCertificateAuthentication/AspNetCoreChained/AspNetCoreCertificateAuth/AspNetCoreCertificateAuth.csproj @@ -1,15 +1,15 @@  - netcoreapp3.1 + net6.0 - - - - + + + + diff --git a/examplesUsingCertificateAuthentication/AspNetCoreChained/AspNetCoreCertificateAuthApiChained/AspNetCoreCertificateAuthApiChained.csproj b/examplesUsingCertificateAuthentication/AspNetCoreChained/AspNetCoreCertificateAuthApiChained/AspNetCoreCertificateAuthApiChained.csproj index 25ffa9b..090d044 100644 --- a/examplesUsingCertificateAuthentication/AspNetCoreChained/AspNetCoreCertificateAuthApiChained/AspNetCoreCertificateAuthApiChained.csproj +++ b/examplesUsingCertificateAuthentication/AspNetCoreChained/AspNetCoreCertificateAuthApiChained/AspNetCoreCertificateAuthApiChained.csproj @@ -1,17 +1,17 @@  - netcoreapp3.1 + net6.0 - - + + - - - - + + + + diff --git a/examplesUsingCertificateAuthentication/AzureCertAuth/AzureCertAuth/AzureCertAuth.csproj b/examplesUsingCertificateAuthentication/AzureCertAuth/AzureCertAuth/AzureCertAuth.csproj index 8b39625..7ececd3 100644 --- a/examplesUsingCertificateAuthentication/AzureCertAuth/AzureCertAuth/AzureCertAuth.csproj +++ b/examplesUsingCertificateAuthentication/AzureCertAuth/AzureCertAuth/AzureCertAuth.csproj @@ -1,18 +1,18 @@  - netcoreapp3.1 + net6.0 - - - - - + + + + + - - + + @@ -21,5 +21,4 @@ - diff --git a/examplesUsingCertificateAuthentication/AzureCertAuth/AzureCertAuth/AzureCertAuth.csproj.user b/examplesUsingCertificateAuthentication/AzureCertAuth/AzureCertAuth/AzureCertAuth.csproj.user index 052e274..7177795 100644 --- a/examplesUsingCertificateAuthentication/AzureCertAuth/AzureCertAuth/AzureCertAuth.csproj.user +++ b/examplesUsingCertificateAuthentication/AzureCertAuth/AzureCertAuth/AzureCertAuth.csproj.user @@ -1,6 +1,6 @@  - AzureCertAuth20201108214641 - Web Deploy + C:\repos\git\damienbod\AspNetCoreCertificates\examplesUsingCertificateAuthentication\AzureCertAuth\AzureCertAuth\Properties\PublishProfiles\AzureCertAuth20201108214641 - Web Deploy.pubxml \ No newline at end of file diff --git a/examplesUsingCertificateAuthentication/AzureCertAuth/AzureCertAuth/Properties/PublishProfiles/AzureCertAuth20201108214641 - Web Deploy.pubxml b/examplesUsingCertificateAuthentication/AzureCertAuth/AzureCertAuth/Properties/PublishProfiles/AzureCertAuth20201108214641 - Web Deploy.pubxml index 7af1ebb..3cb538f 100644 --- a/examplesUsingCertificateAuthentication/AzureCertAuth/AzureCertAuth/Properties/PublishProfiles/AzureCertAuth20201108214641 - Web Deploy.pubxml +++ b/examplesUsingCertificateAuthentication/AzureCertAuth/AzureCertAuth/Properties/PublishProfiles/AzureCertAuth20201108214641 - Web Deploy.pubxml @@ -6,7 +6,7 @@ by editing this MSBuild file. In order to learn more about this please visit htt MSDeploy - /subscriptions/1f943d6c-66d4-4c2f-a158-e6b99fcec7a2/resourcegroups/damienbod-rg/providers/Microsoft.Web/sites/AzureCertAuth20201108214641 + /subscriptions/1f943d6c-66d4-4c2f-a158-e6b99fcec7a2/resourceGroups/damienbod-rg/providers/Microsoft.Web/sites/AzureCertAuth20201108214641 damienbod-rg AzureWebSite Release @@ -21,6 +21,7 @@ by editing this MSBuild file. In order to learn more about this please visit htt True WMSVC True + True $AzureCertAuth20201108214641 <_SavePWD>True <_DestinationType>AzureWebSite diff --git a/examplesUsingCertificateAuthentication/AzureCertAuth/AzureCertAuth/Properties/PublishProfiles/AzureCertAuth20201108214641 - Web Deploy.pubxml.user b/examplesUsingCertificateAuthentication/AzureCertAuth/AzureCertAuth/Properties/PublishProfiles/AzureCertAuth20201108214641 - Web Deploy.pubxml.user index c99b6ee..e3a4b16 100644 --- a/examplesUsingCertificateAuthentication/AzureCertAuth/AzureCertAuth/Properties/PublishProfiles/AzureCertAuth20201108214641 - Web Deploy.pubxml.user +++ b/examplesUsingCertificateAuthentication/AzureCertAuth/AzureCertAuth/Properties/PublishProfiles/AzureCertAuth20201108214641 - Web Deploy.pubxml.user @@ -6,6 +6,6 @@ by editing this MSBuild file. In order to learn more about this please visit htt - AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAAjv2N8rrLV0OVNuQiOcXSgQAAAAACAAAAAAAQZgAAAAEAACAAAADT062VmkMuu7iB1pMnuaeMkxEBiUQHYZN7T3ugY33rMQAAAAAOgAAAAAIAACAAAABTznU7242kZRxKLhcxtLBDQRq6H3Ac/U2uNdPL/WRq8oAAAAC3ZiKxsJe9PIrDr1xAAIpErLAUdCHvUA0v9wUYnpo2ah4DLduwB8ThLENPyQvAkXfkZaiYXbhSOcbFOyV1Sbv83Q8yIT9Vy/n3/XBLYFwt708KkArcUwuKMXVJu24PyLR9ItAbiRJuxSRgy/Ws+DqR3VdeEzDfDNbeVWGTc6TS5EAAAADmVE+T+35Zx0/pe+mCiw3Aa2Y+PeKW85LeQN8mXaWtS0yQSAGatd1o3VnRNH72EBf1kT9A3UW0i7MFQrMbQy6s + AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAAqOAdXithLkCz7ynmx1cmCAAAAAACAAAAAAAQZgAAAAEAACAAAAB64j38vEnO0aURIT1ORpc4MOMMABGI4IRvaXv55AnJDgAAAAAOgAAAAAIAACAAAAAzhuX9c8NTuHn0fdZSCxzMjm3cuUOj0FN12Sbm7VXsloAAAAA95PQKYL9ALDHayzb4yElEKNB9y+nVmaNa5XCiyiV9DlijIez2GcltpmZ1wTMFU8C2Kp0iGk6iUORkYLRCMI8dhhpDbWudO1NazBraFh5A6XboqLm1X+UqcX22XEfpGYsvMC8ngSG3aXHiDoTBJPS1+z6uAFBzkult18Fw9j4qvEAAAAA0fjAC0dm0yMDQyCmUomen0OJC4Jlu7Zrl9Tr0+K7r5P1+FtjNQGerPoE4XEkCoB4r0pTdkPKXFEp6mDiB0W+Z \ No newline at end of file diff --git a/examplesUsingCertificateAuthentication/AzureCertAuth/AzureCertAuthClientConsole/AzureCertAuthClientConsole.csproj b/examplesUsingCertificateAuthentication/AzureCertAuth/AzureCertAuthClientConsole/AzureCertAuthClientConsole.csproj index cd753fd..fbdbb4a 100644 --- a/examplesUsingCertificateAuthentication/AzureCertAuth/AzureCertAuthClientConsole/AzureCertAuthClientConsole.csproj +++ b/examplesUsingCertificateAuthentication/AzureCertAuth/AzureCertAuthClientConsole/AzureCertAuthClientConsole.csproj @@ -2,7 +2,7 @@ Exe - netcoreapp3.1 + net6.0 diff --git a/examplesUsingCertificateAuthentication/AzureCertAuth/AzureCertAuthClientConsole/Program.cs b/examplesUsingCertificateAuthentication/AzureCertAuth/AzureCertAuthClientConsole/Program.cs index 7b29949..f743395 100644 --- a/examplesUsingCertificateAuthentication/AzureCertAuth/AzureCertAuthClientConsole/Program.cs +++ b/examplesUsingCertificateAuthentication/AzureCertAuth/AzureCertAuthClientConsole/Program.cs @@ -8,11 +8,11 @@ namespace AzureCertAuthClientConsole { class Program { - static void Main(string[] args) + static async Task Main(string[] args) { Console.WriteLine("Get data!"); - var json = GetApiDataUsingHttpClientHandler().GetAwaiter().GetResult(); + var json = await GetApiDataUsingHttpClientHandler(); Console.WriteLine("Success!"); }