Compartir a través de


SessionMiddlewareExtensions.UseSession Método

Definición

Sobrecargas

UseSession(IApplicationBuilder)

SessionMiddleware Agrega para habilitar automáticamente el estado de sesión para la aplicación.

UseSession(IApplicationBuilder, SessionOptions)

SessionMiddleware Agrega para habilitar automáticamente el estado de sesión para la aplicación.

UseSession(IApplicationBuilder)

Source:
SessionMiddlewareExtensions.cs
Source:
SessionMiddlewareExtensions.cs
Source:
SessionMiddlewareExtensions.cs

SessionMiddleware Agrega para habilitar automáticamente el estado de sesión para la aplicación.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Builder::IApplicationBuilder ^ UseSession(Microsoft::AspNetCore::Builder::IApplicationBuilder ^ app);
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseSession (this Microsoft.AspNetCore.Builder.IApplicationBuilder app);
static member UseSession : Microsoft.AspNetCore.Builder.IApplicationBuilder -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseSession (app As IApplicationBuilder) As IApplicationBuilder

Parámetros

Devoluciones

IApplicationBuilder.

Se aplica a

UseSession(IApplicationBuilder, SessionOptions)

Source:
SessionMiddlewareExtensions.cs
Source:
SessionMiddlewareExtensions.cs
Source:
SessionMiddlewareExtensions.cs

SessionMiddleware Agrega para habilitar automáticamente el estado de sesión para la aplicación.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Builder::IApplicationBuilder ^ UseSession(Microsoft::AspNetCore::Builder::IApplicationBuilder ^ app, Microsoft::AspNetCore::Builder::SessionOptions ^ options);
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseSession (this Microsoft.AspNetCore.Builder.IApplicationBuilder app, Microsoft.AspNetCore.Builder.SessionOptions options);
static member UseSession : Microsoft.AspNetCore.Builder.IApplicationBuilder * Microsoft.AspNetCore.Builder.SessionOptions -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseSession (app As IApplicationBuilder, options As SessionOptions) As IApplicationBuilder

Parámetros

Devoluciones

IApplicationBuilder.

Se aplica a