Microsoft.AspNetCore.Session 2.2.0

Prefix Reserved
Additional Details

This package has been deprecated as part of the .NET Package Deprecation effort. You can learn more about it from

dotnet add package Microsoft.AspNetCore.Session --version 2.2.0                
NuGet\Install-Package Microsoft.AspNetCore.Session -Version 2.2.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Microsoft.AspNetCore.Session" Version="2.2.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Microsoft.AspNetCore.Session --version 2.2.0                
#r "nuget: Microsoft.AspNetCore.Session, 2.2.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Microsoft.AspNetCore.Session as a Cake Addin
#addin nuget:?package=Microsoft.AspNetCore.Session&version=2.2.0

// Install Microsoft.AspNetCore.Session as a Cake Tool
#tool nuget:?package=Microsoft.AspNetCore.Session&version=2.2.0                

ASP.NET Core session state middleware.

This package was built from the source code at

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (131)

Showing the top 5 NuGet packages that depend on Microsoft.AspNetCore.Session:

Package Downloads

Provides a default set of APIs for building an ASP.NET Core application. This package requires the ASP.NET Core runtime. This runtime is installed by the .NET Core SDK, or can be acquired separately using installers available at


Provides a default set of APIs for building an ASP.NET Core application, and also includes API for third-party integrations with ASP.NET Core. This package requires the ASP.NET Core runtime. This runtime is installed by the .NET Core SDK, or can be acquired separately using installers available at


BotDetect CAPTCHA Generator protects ASP.NET/Core forms from spam. The Captcha protection is available on .NET/Core for jQuery, Angular & React frontends and ASP.NET MVCCore, MVC1-5, WebForms & WebPages backends. It works in China; doesn't stalk; nor does it slurp your form-data -- think: GDPR & LGPD! BotDetect uses many different image and sound algorithms for the generation of Captcha codes. While each Captcha algorithm is easily comprehensible to human users, generating Captcha codes by random algorithm makes the Captcha challenge extremely difficult to pass automatically. BotDetect provides an audio Captcha alternative to keep ASP.NET web applications accessible to the blind and other people for whom reading the Captcha code could be a problem, enabling you to make WCAG and Section 508 compliant websites. BotDetect is a self-hosted .NET Captcha Component -- no 3rd-party servers are involved in the generation, displaying, and validation of Captcha challenges. Therefore, BotDetect neither identify nor stalk your users and visitors -- nor does it slurp logins, passwords, and other data they fill in your forms. This allows for the GDPR, LGPD, and CCPA compliant sites -- and also does miracles for the forms on any of the national security-sensitive ones. FEATURES: -------------------- * Out-of-the-box integrations with Angular, AngularJS, jQuery, and React frontend frameworks * Produces XHTML 1.1 Strict, Section 508 and WCAG AAA compliant markup * Fully compatible with ASP.NET Core 1.x and 2.x * Fully compatible with legacy .NET 2.0 and onwards, .NET Core 1.x and .NET Core 2.x * Fully compatible with ASP.NET MVC 1-5 and ASP.NET Core MVC (MVC 6) * Fully compatible with ASP.NET WebForms * Fully compatible with ASP.NET Web Pages * Fully compatible with ASP.NET Ajax and jQuery Ajax validation * Fully compatible with SharePoint Server / Foundation * Visual Studio .NET 2017, 2015, 2013, 2012, 2010, 2008, 2005 and 2003 Designer support * Medium trust environment support for shared servers * Tested in Chrome, Firefox, Safari, IE, Edge and Opera browsers * Full support for all Android & iOS devices * Localized Captcha generation, using various Unicode character sets and downloadable multi-language sound pronunciations * Custom Captcha image size, format, color scheme... * Custom Captcha code length, style, character set, timeouts, generated code filtering... * Many other randomization & customization options * 60 secure & readable Captcha image styles * 20 secure & accessible audio Captcha sound styles * It works in China * It does not identify and stalk your users and visitors * It does not slurp your form data * It allows for the GDPR, LGPD, and CCPA compliant sites * Licensable source code What nuget to use? -------------------- Please note that from the version 4.2 onward we have two BotDetect CAPTCHA nugets on the * Use THIS nuget for ASP.NET applications running on the legacy .NET (non-Core) Frameworks * Use THIS nuget for ASP.NET Core applications running on the .NET Core Frameworks However, there is one special case that required the separate nuget. * Use our NEW helper nuget INSTEAD OF this one for the special case of ASP.NET Core applications running on the legacy .NET (non-Core) Frameworks. The new helper nuget name is and it is available at


This code allow to fake a Jwt Bearer and build integration test for ASP.Net Core application. By this way we can fake any authentication we need, without the need to really authenticate a user.


A set of .NET 8/7/6/5/Standard 2.1/Standard 2.0 utilities(partial but great majority support .net framework 4.52/4.6/4.7/4.8). Please visit for more information

GitHub repositories (21)

Showing the top 5 popular GitHub repositories that depend on Microsoft.AspNetCore.Session:

Repository Stars
[Archived] ASP.NET Core MVC is a model view controller framework for building dynamic web sites with clean separation of concerns, including the merged MVC, Web API, and Web Pages w/ Razor. Project moved to
SharePoint / Office 365 Developer Patterns and Practices - Archived older solutions. Please see for updated guidance
A brand new database synchronization framework, multi platform, multi databases, developed on top of .Net Standard 2.0.
NCache: Highly Scalable Distributed Cache for .NET
Character generator for Shadowrun 5th edition
Version Downloads Last updated
2.2.0 19,566,167 12/3/2018
2.2.0-preview3-35497 65,095 10/17/2018
2.2.0-preview2-35157 7,265 9/12/2018
2.2.0-preview1-35029 3,717 8/22/2018
2.1.1 14,831,281 6/18/2018
2.1.0 3,415,593 5/29/2018
2.1.0-rc1-final 25,935 5/6/2018
2.1.0-preview2-final 29,189 4/10/2018
2.1.0-preview1-final 53,456 2/26/2018
2.0.3 3,700,690 5/7/2018
2.0.2 3,428,754 3/13/2018
2.0.1 5,190,955 11/14/2017
2.0.0 6,580,788 8/11/2017
2.0.0-preview2-final 55,380 6/28/2017
2.0.0-preview1-final 24,538 5/10/2017
1.1.3 64,479 9/20/2017
1.1.2 266,149 5/9/2017
1.1.1 286,243 3/6/2017
1.1.0 155,041 11/16/2016
1.1.0-preview1-final 4,805 10/24/2016
1.0.5 4,300 11/14/2017
1.0.4 2,507 9/20/2017
1.0.3 4,913 5/9/2017
1.0.2 165,274 3/6/2017
1.0.1 27,922 12/12/2016
1.0.0 132,796 6/27/2016
1.0.0-rc2-final 13,373 5/16/2016