Taiizor.Starterkit by Taiizor

<PackageReference Include="Taiizor.Starterkit" Version="1.0.2" />

 Context

public class Context
using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Http.Features; using System; using System.Security.Claims; namespace Starterkit.Helper { public class Context { public static HttpContext Http { get; set; } public static ISession Session { get; set; } = Http.Session; public static ClaimsPrincipal User { get; set; } = Http.User; public static HttpRequest Request { get; set; } = Http.Request; public static HttpResponse Response { get; set; } = Http.Response; public static ConnectionInfo Connection { get; set; } = Http.Connection; public static IFeatureCollection Features { get; set; } = Http.Features; public static string TraceIdentifier { get; set; } = Http.TraceIdentifier; public static WebSocketManager WebSockets { get; set; } = Http.WebSockets; public static IServiceProvider RequestServices { get; set; } = Http.RequestServices; } }