Skip to content

Commit a2fb9da

Browse files
Update to ASP.NET Core 11 preview 2 (#1177)
Update to preview 2 of ASP.NET Core 11.
1 parent ccd4ce8 commit a2fb9da

4 files changed

Lines changed: 7 additions & 7 deletions

File tree

Directory.Packages.props

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
<PackageVersion Include="JetBrains.Annotations" Version="2025.2.4" />
44
<PackageVersion Include="JustEat.HttpClientInterception" Version="5.1.2" />
55
<PackageVersion Include="MartinCostello.Logging.XUnit" Version="0.7.1" />
6-
<PackageVersion Include="Microsoft.AspNetCore.Authentication.Google" Version="11.0.0-preview.1.26104.118" />
7-
<PackageVersion Include="Microsoft.AspNetCore.Mvc.Testing" Version="11.0.0-preview.1.26104.118" />
8-
<PackageVersion Include="Microsoft.AspNetCore.TestHost" Version="11.0.0-preview.1.26104.118" />
6+
<PackageVersion Include="Microsoft.AspNetCore.Authentication.Google" Version="11.0.0-preview.2.26159.112" />
7+
<PackageVersion Include="Microsoft.AspNetCore.Mvc.Testing" Version="11.0.0-preview.2.26159.112" />
8+
<PackageVersion Include="Microsoft.AspNetCore.TestHost" Version="11.0.0-preview.2.26159.112" />
99
<PackageVersion Include="Microsoft.IdentityModel.Protocols.OpenIdConnect" Version="8.14.0" />
1010
<PackageVersion Include="NSubstitute" Version="5.3.0" />
1111
<PackageVersion Include="Shouldly" Version="4.3.0" />

eng/Versions.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<VersionPrefix>$(MajorVersion).$(MinorVersion).$(PatchVersion)</VersionPrefix>
88
<PackageValidationBaselineVersion Condition=" '$(EnablePackageValidation)' == 'true' AND '$(PackageValidationBaselineVersion)' == '' ">11.0.0</PackageValidationBaselineVersion>
99
<PreReleaseVersionLabel>preview</PreReleaseVersionLabel>
10-
<PreReleaseVersionIteration>1</PreReleaseVersionIteration>
10+
<PreReleaseVersionIteration>2</PreReleaseVersionIteration>
1111
<PreReleaseBrandingLabel>Preview $(PreReleaseVersionIteration)</PreReleaseBrandingLabel>
1212
<StabilizePackageVersion Condition="'$(StabilizePackageVersion)' == ''">false</StabilizePackageVersion>
1313
<DotNetFinalVersionKind Condition="'$(StabilizePackageVersion)' == 'true'">release</DotNetFinalVersionKind>

global.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
22
"sdk": {
3-
"version": "11.0.100-preview.1.26104.118",
3+
"version": "11.0.100-preview.2.26159.112",
44
"allowPrerelease": true,
55
"rollForward": "major"
66
},
77

88
"tools": {
9-
"dotnet": "11.0.100-preview.1.26104.118"
9+
"dotnet": "11.0.100-preview.2.26159.112"
1010
},
1111

1212
"msbuild-sdks": {

src/AspNet.Security.OAuth.Xero/XeroAuthenticationHandler.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ protected override async Task<AuthenticationTicket> CreateTicketAsync(
4040

4141
var principal = new ClaimsPrincipal(identity);
4242

43-
var context = new OAuthCreatingTicketContext(principal, properties, Context, Scheme, Options, Backchannel, tokens, JsonDocument.Parse("{}").RootElement);
43+
var context = new OAuthCreatingTicketContext(principal, properties, Context, Scheme, Options, Backchannel, tokens, JsonElement.Parse("{}"));
4444
await Events.CreatingTicket(context);
4545
return new AuthenticationTicket(context.Principal!, context.Properties, Scheme.Name);
4646
}

0 commit comments

Comments
 (0)