Skip to content

Commit 26f2328

Browse files
authored
Fix sample file for WrapAspNetCoreSession (#34783)
WrapAspNetCoreSession was changed to AddWrappedAspNetCoreSession in version 1.3.0 of SystemWebAdapters Pull Request: dotnet/systemweb-adapters#424 1.3.0 Version Notes: https://github.com/dotnet/systemweb-adapters/releases/tag/v1.3.0
1 parent e290237 commit 26f2328

File tree

1 file changed

+1
-1
lines changed
  • aspnetcore/migration/inc/samples/wrapped

1 file changed

+1
-1
lines changed

aspnetcore/migration/inc/samples/wrapped/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
options.RegisterKey<int>("test-value");
99
options.RegisterKey<SessionDemoModel>("SampleSessionItem");
1010
})
11-
.WrapAspNetCoreSession();
11+
.AddWrappedAspNetCoreSession();
1212
// </snippet_WrapAspNetCoreSession>
1313

1414
var app = builder.Build();

0 commit comments

Comments
 (0)