Skip to content

Move ISessionKeySerializer into SessionState.Serializer namespace like other services #182

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Aug 29, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// The .NET Foundation licenses this file to you under the MIT license.

using System.Threading.Tasks;
using Microsoft.AspNetCore.SystemWebAdapters.SessionState;

namespace Microsoft.AspNetCore.SystemWebAdapters;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
using System.Threading;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.SystemWebAdapters.SessionState.Serialization;
using Microsoft.Extensions.Logging;

namespace Microsoft.AspNetCore.SystemWebAdapters.SessionState.Wrapped;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
using System.Threading.Tasks;
using System.Web.SessionState;

namespace Microsoft.AspNetCore.SystemWebAdapters;
namespace Microsoft.AspNetCore.SystemWebAdapters.SessionState;

/// <summary>
/// Represents the state of a session and is used to create a <see cref="HttpSessionState"/>.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
M:System.Web.SessionState.HttpSessionState.#ctor(Microsoft.AspNetCore.SystemWebAdapters.ISessionState)
M:System.Web.SessionState.HttpSessionState.#ctor(Microsoft.AspNetCore.SystemWebAdapters.SessionState.ISessionState)
M:System.Web.Caching.Cache.#ctor(System.Runtime.Caching.ObjectCache)
M:System.Web.HttpContext.op_Implicit(Microsoft.AspNetCore.Http.HttpContext)~System.Web.HttpContext
M:System.Web.HttpContext.op_Implicit(System.Web.HttpContext)~Microsoft.AspNetCore.Http.HttpContext
Expand All @@ -10,9 +10,7 @@ M:System.Web.HttpResponse.op_Implicit(System.Web.HttpResponse)~Microsoft.AspNetC
M:System.Web.HttpResponseBase.op_Implicit(Microsoft.AspNetCore.Http.HttpResponse)~System.Web.HttpResponseBase
M:System.Web.HttpRequestBase.op_Implicit(Microsoft.AspNetCore.Http.HttpRequest)~System.Web.HttpRequestBase

T:Microsoft.AspNetCore.SystemWebAdapters.ISessionState
T:Microsoft.AspNetCore.SystemWebAdapters.ISessionKeySerializer
T:Microsoft.AspNetCore.SystemWebAdapters.SessionState.Serialization.ISessionSerializer
T:Microsoft.AspNetCore.SystemWebAdapters.SessionState.ISessionState

# We manually type forward this only for .NET 4.7.2+
T:System.Web.SameSiteMode
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// The .NET Foundation licenses this file to you under the MIT license.

using System.Collections;
using Microsoft.AspNetCore.SystemWebAdapters;
using Microsoft.AspNetCore.SystemWebAdapters.SessionState;

namespace System.Web.SessionState;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.

namespace Microsoft.AspNetCore.SystemWebAdapters;
namespace Microsoft.AspNetCore.SystemWebAdapters.SessionState.Serialization;

public interface ISessionKeySerializer
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
using System.Web.Caching;
using System.Web.SessionState;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.SystemWebAdapters.SessionState;
using Moq;
using Xunit;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
using Moq;
using Xunit;

namespace Microsoft.AspNetCore.SystemWebAdapters.Tests.SessionState;
namespace Microsoft.AspNetCore.SystemWebAdapters.SessionState.Tests;

public class HttpSessionStateTests
{
Expand Down