You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the current layering, the FrameworkServices and CoreServices libraries have some shared source. This is fine for internal implementations, but for public types, this causes two types to exist. This is not an issue in the main case (i.e. in an application) as they will never depend on each other.
However, the problem arises when a user wants to develop an implementation on a shared, public service that would then be consumed by both the framework services and core services. An example is the ISessionKeySerializer, that a user may want to customize for themselves, but the framework and core services have identical interfaces, but in different assemblies. These are logically the same service, and should therefore have the same identity (i.e. same assembly).
Copy file name to clipboardexpand all lines: README.md
+1
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,7 @@ This project provides a collection of adapters that help migrating from `System.
5
5
-`Microsoft.AspNetCore.SystemWebAdapters`: Subset of the APIs from `System.Web.dll` backed by `Microsoft.AspNetCore.Http` types
6
6
-`Microsoft.AspNetCore.SystemWebAdapters.CoreServices`: Support for adding services to ASP.NET Core applications to enable migration efforts
7
7
-`Microsoft.AspNetCore.SystemWebAdapters.FrameworkServices`: Support for adding services to ASP.NET Framework applications to enable migration efforts
8
+
-`Microsoft.AspNetCore.SystemWebAdapters.Abstractions`: A collection of abstractions shared between the ASP.NET Core and .NET Framework implementations, such as session serialization interfaces.
8
9
9
10
These adapters help enable large scale, incremental migration from ASP.NET to ASP.NET Core. For more details on incremental migration from ASP.NET to ASP.NET Core, please see the [documentation](docs).
Copy file name to clipboardexpand all lines: src/Microsoft.AspNetCore.SystemWebAdapters.Abstractions/SessionState/Serialization/ISessionKeySerializer.cs
+1-1
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ public interface ISessionKeySerializer
10
10
/// </summary>
11
11
/// <param name="key">Session key for object.</param>
12
12
/// <param name="value">Object to serialize.</param>,
13
-
/// <param name="bytes">Bytes if sucessful.</param>
13
+
/// <param name="bytes">Bytes if successful.</param>
14
14
/// <returns><c>true</c> if successful. If key is unknown, <c>false</c> will be returned.</returns>
Copy file name to clipboardexpand all lines: src/Microsoft.AspNetCore.SystemWebAdapters.FrameworkServices/SessionState/Serialization/BinaryWriterReaderExtensions.cs
-2
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,6 @@
1
1
// Licensed to the .NET Foundation under one or more agreements.
2
2
// The .NET Foundation licenses this file to you under the MIT license.
0 commit comments