Microsoft.AspNetCore.Authorization 2.1.0-preview2-final

Prefix Reserved
Additional Details

This package has been deprecated as part of the .NET Package Deprecation effort. You can learn more about it from https://github.com/dotnet/announcements/issues/217

This is a prerelease version of Microsoft.AspNetCore.Authorization.
There is a newer version of this package available.
See the version list below for details.
dotnet add package Microsoft.AspNetCore.Authorization --version 2.1.0-preview2-final                
NuGet\Install-Package Microsoft.AspNetCore.Authorization -Version 2.1.0-preview2-final                
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.Authorization" Version="2.1.0-preview2-final" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Microsoft.AspNetCore.Authorization --version 2.1.0-preview2-final                
#r "nuget: Microsoft.AspNetCore.Authorization, 2.1.0-preview2-final"                
#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.Authorization as a Cake Addin
#addin nuget:?package=Microsoft.AspNetCore.Authorization&version=2.1.0-preview2-final&prerelease

// Install Microsoft.AspNetCore.Authorization as a Cake Tool
#tool nuget:?package=Microsoft.AspNetCore.Authorization&version=2.1.0-preview2-final&prerelease                

ASP.NET Core authorization classes.
Commonly used types:
Microsoft.AspNetCore.Authorization.AllowAnonymousAttribute
Microsoft.AspNetCore.Authorization.AuthorizeAttribute

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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.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 (738)

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

Package Downloads
Microsoft.AspNetCore.Authorization.Policy

ASP.NET Core authorization policy helper classes.

Microsoft.AspNetCore.Components

Components feature for ASP.NET Core. This package was built from the source code at https://github.com/dotnet/aspnetcore/tree/763b4ef31ca4df6dae07c7ee8f39ea259b6980fa

Microsoft.AspNetCore.SignalR.Core

Real-time communication framework for ASP.NET Core.

Microsoft.AspNetCore.Components.Authorization

Authentication and authorization support for Blazor applications. This package was built from the source code at https://github.com/dotnet/aspnetcore/tree/763b4ef31ca4df6dae07c7ee8f39ea259b6980fa

Microsoft.AspNetCore.App

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 https://aka.ms/dotnet-download.

GitHub repositories (83)

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

Repository Stars
jellyfin/jellyfin
The Free Software Media System - Server Backend & API
dotnet/maui
.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
abpframework/abp
Open-source web application framework for ASP.NET Core! Offers an opinionated architecture to build enterprise software solutions with best practices on top of the .NET. Provides the fundamental infrastructure, cross-cutting-concern implementations, startup templates, application modules, UI themes, tooling and documentation.
OrchardCMS/OrchardCore
Orchard Core is an open-source modular and multi-tenant application framework built with ASP.NET Core, and a content management system (CMS) built on top of that framework.
dotnetcore/WTM
Use WTM to write .netcore app fast !!!
Version Downloads Last updated
10.0.0-preview.2.25164.1 541 3/18/2025
10.0.0-preview.1.25120.3 1,786 2/25/2025
9.0.3 186,272 3/11/2025
9.0.2 717,404 2/11/2025
9.0.1 758,446 1/14/2025
9.0.0 2,356,675 11/12/2024
9.0.0-rc.2.24474.3 54,650 10/8/2024
9.0.0-rc.1.24452.1 32,084 9/10/2024
9.0.0-preview.7.24406.2 19,781 8/13/2024
9.0.0-preview.6.24328.4 11,813 7/9/2024
9.0.0-preview.5.24306.11 14,493 6/11/2024
9.0.0-preview.4.24267.6 3,706 5/21/2024
9.0.0-preview.3.24172.13 96,029 4/11/2024
9.0.0-preview.2.24128.4 2,779 3/12/2024
9.0.0-preview.1.24081.5 33,721 2/13/2024
8.0.14 108,783 3/11/2025
8.0.13 338,816 2/11/2025
8.0.12 623,932 1/14/2025
8.0.11 2,286,331 11/12/2024
8.0.10 4,014,865 10/8/2024
8.0.8 4,836,560 8/13/2024
8.0.7 3,297,682 7/9/2024
8.0.6 5,069,500 5/28/2024
8.0.5 1,578,481 5/14/2024
8.0.4 4,304,900 4/9/2024
8.0.3 3,601,628 3/12/2024
8.0.2 4,246,120 2/13/2024
8.0.1 3,751,494 1/9/2024
8.0.0 12,785,385 11/14/2023
8.0.0-rc.2.23480.2 227,325 10/10/2023
8.0.0-rc.1.23421.29 69,794 9/12/2023
8.0.0-preview.7.23375.9 86,468 8/8/2023
8.0.0-preview.6.23329.11 54,042 7/11/2023
8.0.0-preview.5.23302.2 14,200 6/13/2023
8.0.0-preview.4.23260.4 50,369 5/16/2023
8.0.0-preview.3.23177.8 10,050 4/11/2023
8.0.0-preview.2.23153.2 6,036 3/14/2023
8.0.0-preview.1.23112.2 58,209 2/21/2023
7.0.20 420,485 5/28/2024
7.0.19 88,610 5/14/2024
7.0.18 141,162 4/9/2024
7.0.17 231,583 3/12/2024
7.0.16 278,269 2/13/2024
7.0.15 360,876 1/9/2024
7.0.14 1,458,870 11/14/2023
7.0.13 820,781 10/24/2023
7.0.12 861,381 10/10/2023
7.0.11 1,028,033 9/12/2023
7.0.10 1,878,813 8/8/2023
7.0.9 1,383,554 7/11/2023
7.0.8 703,268 6/22/2023
7.0.7 722,920 6/13/2023
7.0.5 4,084,553 4/11/2023
7.0.4 1,769,119 3/14/2023
7.0.3 1,545,048 2/14/2023
7.0.2 1,795,650 1/10/2023
7.0.1 4,383,415 12/13/2022
7.0.0 11,097,155 11/7/2022
7.0.0-rc.2.22476.2 62,406 10/11/2022
7.0.0-rc.1.22427.2 79,326 9/14/2022
7.0.0-preview.7.22376.6 131,237 8/9/2022
7.0.0-preview.6.22330.3 9,224 7/12/2022
7.0.0-preview.5.22303.8 3,669 6/14/2022
7.0.0-preview.4.22251.1 90,711 5/10/2022
7.0.0-preview.3.22178.4 14,129 4/13/2022
7.0.0-preview.2.22153.2 3,570 3/14/2022
7.0.0-preview.1.22109.13 22,957 2/17/2022
6.0.36 145,191 11/12/2024
6.0.35 70,522 10/8/2024
6.0.33 184,004 8/13/2024
6.0.32 131,494 7/9/2024
6.0.31 188,971 5/28/2024
6.0.30 119,618 5/14/2024
6.0.29 239,334 4/9/2024
6.0.28 417,179 3/12/2024
6.0.27 361,198 2/13/2024
6.0.26 899,537 1/9/2024
6.0.25 1,256,574 11/14/2023
6.0.24 379,745 10/24/2023
6.0.23 1,475,557 10/10/2023
6.0.22 381,562 9/12/2023
6.0.21 1,524,550 8/8/2023
6.0.20 826,688 7/11/2023
6.0.19 384,709 6/22/2023
6.0.18 238,119 6/13/2023
6.0.16 1,871,050 4/11/2023
6.0.15 869,119 3/14/2023
6.0.14 1,261,701 2/14/2023
6.0.13 1,212,702 1/10/2023
6.0.12 1,363,650 12/13/2022
6.0.11 2,597,565 11/7/2022
6.0.10 5,815,815 10/11/2022
6.0.9 3,262,638 9/13/2022
6.0.8 3,118,115 8/9/2022
6.0.7 3,455,454 7/12/2022
6.0.6 2,815,331 6/14/2022
6.0.5 6,950,277 5/10/2022
6.0.4 4,821,194 4/11/2022
6.0.3 4,129,542 3/8/2022
6.0.2 2,582,539 2/8/2022
6.0.1 6,944,186 12/14/2021
6.0.0 18,055,757 11/8/2021
6.0.0-rc.2.21480.10 145,589 10/12/2021
6.0.0-rc.1.21452.15 93,989 9/14/2021
6.0.0-preview.7.21378.6 145,001 8/10/2021
6.0.0-preview.6.21355.2 199,039 7/14/2021
6.0.0-preview.5.21301.17 61,208 6/15/2021
6.0.0-preview.4.21253.5 49,761 5/24/2021
6.0.0-preview.3.21201.13 355,342 4/8/2021
6.0.0-preview.2.21154.6 4,072 3/11/2021 6.0.0-preview.2.21154.6 is deprecated because it is no longer maintained.
6.0.0-preview.1.21103.6 19,298 2/12/2021 6.0.0-preview.1.21103.6 is deprecated because it is no longer maintained.
5.0.17 630,203 5/10/2022 5.0.17 is deprecated because it is no longer maintained.
5.0.16 94,317 4/11/2022 5.0.16 is deprecated because it is no longer maintained.
5.0.15 158,954 3/8/2022 5.0.15 is deprecated because it is no longer maintained.
5.0.14 209,181 2/8/2022 5.0.14 is deprecated because it is no longer maintained.
5.0.13 853,543 12/14/2021 5.0.13 is deprecated because it is no longer maintained.
5.0.12 839,453 11/7/2021 5.0.12 is deprecated because it is no longer maintained.
5.0.11 977,143 10/12/2021 5.0.11 is deprecated because it is no longer maintained.
5.0.10 1,549,134 9/14/2021 5.0.10 is deprecated because it is no longer maintained.
5.0.9 2,038,363 8/10/2021 5.0.9 is deprecated because it is no longer maintained.
5.0.8 2,141,603 7/13/2021 5.0.8 is deprecated because it is no longer maintained.
5.0.7 1,864,767 6/8/2021 5.0.7 is deprecated because it is no longer maintained.
5.0.6 1,776,098 5/11/2021 5.0.6 is deprecated because it is no longer maintained.
5.0.5 4,053,948 4/6/2021 5.0.5 is deprecated because it is no longer maintained.
5.0.4 1,583,757 3/9/2021 5.0.4 is deprecated because it is no longer maintained.
5.0.3 2,108,284 2/9/2021 5.0.3 is deprecated because it is no longer maintained.
5.0.2 1,865,435 1/12/2021 5.0.2 is deprecated because it is no longer maintained.
5.0.1 1,013,346 12/8/2020 5.0.1 is deprecated because it is no longer maintained.
5.0.0 8,076,831 11/9/2020 5.0.0 is deprecated because it is no longer maintained.
5.0.0-rc.2.20475.17 510,257 10/13/2020 5.0.0-rc.2.20475.17 is deprecated because it is no longer maintained.
5.0.0-rc.1.20451.17 173,858 9/14/2020 5.0.0-rc.1.20451.17 is deprecated because it is no longer maintained.
5.0.0-preview.8.20414.8 34,926 8/25/2020 5.0.0-preview.8.20414.8 is deprecated because it is no longer maintained.
5.0.0-preview.7.20365.19 13,710 7/21/2020 5.0.0-preview.7.20365.19 is deprecated because it is no longer maintained.
5.0.0-preview.6.20312.15 17,436 6/25/2020 5.0.0-preview.6.20312.15 is deprecated because it is no longer maintained.
5.0.0-preview.5.20279.2 3,253 6/10/2020 5.0.0-preview.5.20279.2 is deprecated because it is no longer maintained.
5.0.0-preview.4.20257.10 11,335 5/18/2020 5.0.0-preview.4.20257.10 is deprecated because it is no longer maintained.
5.0.0-preview.3.20215.14 11,538 4/23/2020 5.0.0-preview.3.20215.14 is deprecated because it is no longer maintained.
5.0.0-preview.2.20167.3 21,582 4/2/2020 5.0.0-preview.2.20167.3 is deprecated because it is no longer maintained.
5.0.0-preview.1.20124.5 17,528 3/16/2020 5.0.0-preview.1.20124.5 is deprecated because it is no longer maintained.
3.1.32 1,793,332 12/13/2022
3.1.31 55,839 11/8/2022
3.1.30 114,334 10/11/2022
3.1.29 175,695 9/13/2022
3.1.28 127,322 8/9/2022
3.1.27 66,913 7/12/2022
3.1.26 46,791 6/14/2022
3.1.25 524,004 5/10/2022
3.1.24 250,941 4/11/2022
3.1.23 125,817 3/8/2022
3.1.22 641,619 12/14/2021
3.1.21 1,693,576 11/7/2021
3.1.20 311,924 10/11/2021
3.1.19 303,412 9/14/2021
3.1.18 842,407 8/10/2021
3.1.17 298,977 7/13/2021
3.1.16 2,434,532 6/8/2021
3.1.15 472,797 5/11/2021
3.1.14 1,489,362 4/6/2021
3.1.13 801,167 3/9/2021
3.1.12 574,612 2/9/2021
3.1.11 982,202 1/12/2021
3.1.10 2,225,350 11/9/2020
3.1.9 2,161,362 10/13/2020
3.1.8 5,551,885 9/8/2020
3.1.7 1,622,582 8/11/2020
3.1.6 8,567,621 7/14/2020
3.1.5 3,899,483 6/9/2020
3.1.4 12,376,834 5/12/2020
3.1.3 8,908,698 3/24/2020
3.1.2 5,437,601 2/18/2020
3.1.1 2,680,006 1/14/2020
3.1.0 6,742,945 12/3/2019
3.1.0-preview3.19555.2 1,957,048 11/13/2019 3.1.0-preview3.19555.2 is deprecated because it is no longer maintained.
3.1.0-preview2.19528.8 43,463 11/1/2019 3.1.0-preview2.19528.8 is deprecated because it is no longer maintained.
3.1.0-preview1.19508.20 117,332 10/15/2019 3.1.0-preview1.19508.20 is deprecated because it is no longer maintained.
3.0.3 1,475,239 2/18/2020 3.0.3 is deprecated because it is no longer maintained.
3.0.2 14,434 1/14/2020 3.0.2 is deprecated because it is no longer maintained.
3.0.0 3,493,049 9/23/2019 3.0.0 is deprecated because it is no longer maintained.
3.0.0-rc1.19457.4 89,295 9/16/2019 3.0.0-rc1.19457.4 is deprecated because it is no longer maintained.
3.0.0-preview9.19424.4 244,344 9/4/2019 3.0.0-preview9.19424.4 is deprecated because it is no longer maintained.
3.0.0-preview8.19405.7 30,840 8/13/2019 3.0.0-preview8.19405.7 is deprecated because it is no longer maintained.
3.0.0-preview7.19365.7 36,173 7/23/2019 3.0.0-preview7.19365.7 is deprecated because it is no longer maintained.
3.0.0-preview6.19307.2 185,215 6/12/2019 3.0.0-preview6.19307.2 is deprecated because it is no longer maintained.
2.3.0 1,706,786 1/14/2025
2.2.0 364,931,553 12/3/2018 2.2.0 is deprecated because it is no longer maintained.
2.2.0-preview3-35497 159,764 10/17/2018 2.2.0-preview3-35497 is deprecated because it is no longer maintained.
2.2.0-preview2-35157 87,633 9/12/2018 2.2.0-preview2-35157 is deprecated because it is no longer maintained.
2.2.0-preview1-35029 53,642 8/22/2018 2.2.0-preview1-35029 is deprecated because it is no longer maintained.
2.1.2 18,326,369 8/21/2018
2.1.1 73,108,941 6/18/2018
2.1.0 128,409,432 5/29/2018
2.1.0-rc1-final 194,235 5/6/2018 2.1.0-rc1-final is deprecated because it is no longer maintained.
2.1.0-preview2-final 370,515 4/10/2018 2.1.0-preview2-final is deprecated because it is no longer maintained.
2.1.0-preview1-final 231,843 2/26/2018 2.1.0-preview1-final is deprecated because it is no longer maintained.
2.0.4 8,350,446 5/7/2018 2.0.4 is deprecated because it is no longer maintained.
2.0.3 8,528,021 3/13/2018 2.0.3 is deprecated because it is no longer maintained.
2.0.1 20,089,525 11/14/2017 2.0.1 is deprecated because it is no longer maintained.
2.0.0 85,629,462 8/11/2017 2.0.0 is deprecated because it is no longer maintained.
2.0.0-preview2-final 124,929 6/27/2017 2.0.0-preview2-final is deprecated because it is no longer maintained.
2.0.0-preview1-final 44,407 5/10/2017 2.0.0-preview1-final is deprecated because it is no longer maintained.
1.1.3 2,717,396 9/20/2017 1.1.3 is deprecated because it is no longer maintained.
1.1.2 4,131,098 5/9/2017 1.1.2 is deprecated because it is no longer maintained.
1.1.1 4,188,476 3/6/2017 1.1.1 is deprecated because it is no longer maintained.
1.1.0 3,983,743 11/16/2016 1.1.0 is deprecated because it is no longer maintained.
1.1.0-preview1-final 44,288 10/24/2016 1.1.0-preview1-final is deprecated because it is no longer maintained.
1.0.5 3,243,179 11/14/2017 1.0.5 is deprecated because it is no longer maintained.
1.0.4 107,593 9/20/2017 1.0.4 is deprecated because it is no longer maintained.
1.0.3 28,838,066 5/9/2017 1.0.3 is deprecated because it is no longer maintained.
1.0.2 17,228,179 3/6/2017 1.0.2 is deprecated because it is no longer maintained.
1.0.1 553,761 12/12/2016 1.0.1 is deprecated because it is no longer maintained.
1.0.0 12,508,766 6/27/2016 1.0.0 is deprecated because it is no longer maintained.
1.0.0-rc2-final 228,924 5/16/2016 1.0.0-rc2-final is deprecated because it is no longer maintained.