Microsoft.AspNetCore.Authorization 2.0.0-preview1-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.0.0-preview1-final
                    
NuGet\Install-Package Microsoft.AspNetCore.Authorization -Version 2.0.0-preview1-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.0.0-preview1-final" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Microsoft.AspNetCore.Authorization" Version="2.0.0-preview1-final" />
                    
Directory.Packages.props
<PackageReference Include="Microsoft.AspNetCore.Authorization" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Microsoft.AspNetCore.Authorization --version 2.0.0-preview1-final
                    
#r "nuget: Microsoft.AspNetCore.Authorization, 2.0.0-preview1-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.
#addin nuget:?package=Microsoft.AspNetCore.Authorization&version=2.0.0-preview1-final&prerelease
                    
Install Microsoft.AspNetCore.Authorization as a Cake Addin
#tool nuget:?package=Microsoft.AspNetCore.Authorization&version=2.0.0-preview1-final&prerelease
                    
Install Microsoft.AspNetCore.Authorization as a Cake Tool

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.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp2.0 is compatible.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (768)

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/dotnet/tree/ddf39a1b4690fbe23aea79c78da67004a5c31094

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/dotnet/tree/ddf39a1b4690fbe23aea79c78da67004a5c31094

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 20 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 !!!
Ombi-app/Ombi
Want a Movie or TV Show on Plex/Emby/Jellyfin? Use Ombi!
dotnetcore/osharp
OSharp是一个基于.Net6.0的快速开发框架,框架对 AspNetCore 的配置、依赖注入、日志、缓存、实体框架、Mvc(WebApi)、身份认证、功能权限、数据权限等模块进行更高一级的自动化封装,并规范了一套业务实现的代码结构与操作流程,使 .Net 框架更易于应用到实际项目开发中。
aspnet/SignalR
[Archived] Incredibly simple real-time web for ASP.NET Core. Project moved to https://github.com/aspnet/AspNetCore
aspnet/Identity
[Archived] ASP.NET Core Identity is the membership system for building ASP.NET Core web applications, including membership, login, and user data. Project moved to https://github.com/aspnet/AspNetCore
enkodellc/blazorboilerplate
Blazor Boilerplate / Starter Template with MudBlazor
CoreWCF/CoreWCF
Main repository for the Core WCF project
Webreaper/Damselfly
Damselfly is a server-based Photograph Management app. The goal of Damselfly is to index an extremely large collection of images, and allow easy search and retrieval of those images, using metadata such as the IPTC keyword tags, as well as the folder and file names. Damselfly includes support for object/face detection.
VirtoCommerce/vc-platform
Virto Commerce B2B Innovation Platform
bitfoundation/bitplatform
Build all of your apps using what you already know and love ❤️
voat/voat
The code that powers Voat
Azure/data-api-builder
Data API builder provides modern REST and GraphQL endpoints to your Azure Databases and on-prem stores.
lanedirt/AliasVault
A self-hostable, end-to-end encrypted password manager with a built-in alias generator and email server.
snatch-dev/Convey
A simple recipe for .NET Core microservices.
security-code-scan/security-code-scan
Vulnerability Patterns Detector for C# and VB.NET
iioter/iotgateway
An industrial IoTGateway with B/S architecture that enables bidirectional communication between industrial devices (southbound connections) and IoT platforms (northbound connections). It supports numerous industrial protocols, and can connect to various IoT cloud platforms.
Version Downloads Last updated
10.0.0-preview.5.25277.114 1,448 6/6/2025
10.0.0-preview.4.25258.110 2,755 5/12/2025
10.0.0-preview.3.25172.1 4,357 4/10/2025
10.0.0-preview.2.25164.1 1,865 3/18/2025
10.0.0-preview.1.25120.3 2,335 2/25/2025
9.0.6 100,860 6/10/2025
9.0.5 639,610 5/13/2025
9.0.4 1,121,420 4/8/2025
9.0.3 854,860 3/11/2025
9.0.2 1,216,836 2/11/2025
9.0.1 1,546,424 1/14/2025
9.0.0 3,437,254 11/12/2024
9.0.0-rc.2.24474.3 61,437 10/8/2024
9.0.0-rc.1.24452.1 42,065 9/10/2024
9.0.0-preview.7.24406.2 23,809 8/13/2024
9.0.0-preview.6.24328.4 14,691 7/9/2024
9.0.0-preview.5.24306.11 15,704 6/11/2024
9.0.0-preview.4.24267.6 4,056 5/21/2024
9.0.0-preview.3.24172.13 106,601 4/11/2024
9.0.0-preview.2.24128.4 3,174 3/12/2024
9.0.0-preview.1.24081.5 37,490 2/13/2024
8.0.17 60,619 6/10/2025
8.0.16 266,763 5/13/2025
8.0.15 736,318 4/8/2025
8.0.14 632,168 3/11/2025
8.0.13 788,677 2/11/2025
8.0.12 1,374,891 1/14/2025
8.0.11 3,734,485 11/12/2024
8.0.10 5,851,688 10/8/2024
8.0.8 5,979,593 8/13/2024
8.0.7 3,890,235 7/9/2024
8.0.6 5,804,151 5/28/2024
8.0.5 1,893,156 5/14/2024
8.0.4 5,139,260 4/9/2024
8.0.3 4,023,629 3/12/2024
8.0.2 4,807,114 2/13/2024
8.0.1 4,200,481 1/9/2024
8.0.0 14,715,623 11/14/2023
8.0.0-rc.2.23480.2 235,850 10/10/2023
8.0.0-rc.1.23421.29 72,074 9/12/2023
8.0.0-preview.7.23375.9 92,887 8/8/2023
8.0.0-preview.6.23329.11 54,574 7/11/2023
8.0.0-preview.5.23302.2 14,313 6/13/2023
8.0.0-preview.4.23260.4 51,805 5/16/2023
8.0.0-preview.3.23177.8 10,210 4/11/2023
8.0.0-preview.2.23153.2 6,210 3/14/2023
8.0.0-preview.1.23112.2 58,294 2/21/2023
7.0.20 536,711 5/28/2024
7.0.19 100,531 5/14/2024
7.0.18 161,342 4/9/2024
7.0.17 246,253 3/12/2024
7.0.16 323,037 2/13/2024
7.0.15 384,089 1/9/2024
7.0.14 1,561,559 11/14/2023
7.0.13 863,702 10/24/2023
7.0.12 888,530 10/10/2023
7.0.11 1,065,707 9/12/2023
7.0.10 1,940,288 8/8/2023
7.0.9 1,468,039 7/11/2023
7.0.8 727,130 6/22/2023
7.0.7 749,731 6/13/2023
7.0.5 4,214,351 4/11/2023
7.0.4 1,809,690 3/14/2023
7.0.3 1,584,727 2/14/2023
7.0.2 1,880,480 1/10/2023
7.0.1 4,667,401 12/13/2022
7.0.0 11,603,323 11/7/2022
7.0.0-rc.2.22476.2 63,509 10/11/2022
7.0.0-rc.1.22427.2 84,252 9/14/2022
7.0.0-preview.7.22376.6 131,324 8/9/2022
7.0.0-preview.6.22330.3 9,341 7/12/2022
7.0.0-preview.5.22303.8 3,729 6/14/2022
7.0.0-preview.4.22251.1 96,539 5/10/2022
7.0.0-preview.3.22178.4 14,593 4/13/2022
7.0.0-preview.2.22153.2 3,651 3/14/2022
7.0.0-preview.1.22109.13 25,327 2/17/2022
6.0.36 224,305 11/12/2024
6.0.35 83,089 10/8/2024
6.0.33 241,730 8/13/2024
6.0.32 156,139 7/9/2024
6.0.31 225,211 5/28/2024
6.0.30 132,276 5/14/2024
6.0.29 282,516 4/9/2024
6.0.28 454,635 3/12/2024
6.0.27 393,371 2/13/2024
6.0.26 968,603 1/9/2024
6.0.25 1,383,955 11/14/2023
6.0.24 411,550 10/24/2023
6.0.23 1,784,502 10/10/2023
6.0.22 397,329 9/12/2023
6.0.21 1,612,879 8/8/2023
6.0.20 866,784 7/11/2023
6.0.19 400,843 6/22/2023
6.0.18 253,044 6/13/2023
6.0.16 1,942,021 4/11/2023
6.0.15 912,902 3/14/2023
6.0.14 1,347,356 2/14/2023
6.0.13 1,275,699 1/10/2023
6.0.12 1,408,504 12/13/2022
6.0.11 2,656,231 11/7/2022
6.0.10 6,090,666 10/11/2022
6.0.9 3,338,519 9/13/2022
6.0.8 3,192,215 8/9/2022
6.0.7 3,594,582 7/12/2022
6.0.6 2,882,516 6/14/2022
6.0.5 7,089,298 5/10/2022
6.0.4 4,956,182 4/11/2022
6.0.3 4,296,129 3/8/2022
6.0.2 2,660,612 2/8/2022
6.0.1 7,108,266 12/14/2021
6.0.0 18,576,707 11/8/2021
6.0.0-rc.2.21480.10 146,516 10/12/2021
6.0.0-rc.1.21452.15 96,083 9/14/2021
6.0.0-preview.7.21378.6 148,907 8/10/2021
6.0.0-preview.6.21355.2 201,094 7/14/2021
6.0.0-preview.5.21301.17 62,229 6/15/2021
6.0.0-preview.4.21253.5 51,096 5/24/2021
6.0.0-preview.3.21201.13 362,663 4/8/2021
6.0.0-preview.2.21154.6 4,160 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,435 2/12/2021 6.0.0-preview.1.21103.6 is deprecated because it is no longer maintained.
5.0.17 662,188 5/10/2022 5.0.17 is deprecated because it is no longer maintained.
5.0.16 96,241 4/11/2022 5.0.16 is deprecated because it is no longer maintained.
5.0.15 167,217 3/8/2022 5.0.15 is deprecated because it is no longer maintained.
5.0.14 217,569 2/8/2022 5.0.14 is deprecated because it is no longer maintained.
5.0.13 914,623 12/14/2021 5.0.13 is deprecated because it is no longer maintained.
5.0.12 907,663 11/7/2021 5.0.12 is deprecated because it is no longer maintained.
5.0.11 996,596 10/12/2021 5.0.11 is deprecated because it is no longer maintained.
5.0.10 1,571,273 9/14/2021 5.0.10 is deprecated because it is no longer maintained.
5.0.9 2,105,054 8/10/2021 5.0.9 is deprecated because it is no longer maintained.
5.0.8 2,177,619 7/13/2021 5.0.8 is deprecated because it is no longer maintained.
5.0.7 1,921,413 6/8/2021 5.0.7 is deprecated because it is no longer maintained.
5.0.6 1,804,945 5/11/2021 5.0.6 is deprecated because it is no longer maintained.
5.0.5 4,158,588 4/6/2021 5.0.5 is deprecated because it is no longer maintained.
5.0.4 1,624,870 3/9/2021 5.0.4 is deprecated because it is no longer maintained.
5.0.3 2,157,955 2/9/2021 5.0.3 is deprecated because it is no longer maintained.
5.0.2 1,909,476 1/12/2021 5.0.2 is deprecated because it is no longer maintained.
5.0.1 1,027,345 12/8/2020 5.0.1 is deprecated because it is no longer maintained.
5.0.0 8,280,237 11/9/2020 5.0.0 is deprecated because it is no longer maintained.
5.0.0-rc.2.20475.17 524,775 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 184,187 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 35,471 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,807 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,697 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,351 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,561 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,730 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,756 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,892 3/16/2020 5.0.0-preview.1.20124.5 is deprecated because it is no longer maintained.
3.1.32 1,996,211 12/13/2022
3.1.31 56,420 11/8/2022
3.1.30 122,675 10/11/2022
3.1.29 185,919 9/13/2022
3.1.28 130,457 8/9/2022
3.1.27 67,503 7/12/2022
3.1.26 47,388 6/14/2022
3.1.25 527,585 5/10/2022
3.1.24 259,588 4/11/2022
3.1.23 134,502 3/8/2022
3.1.22 659,424 12/14/2021
3.1.21 1,720,381 11/7/2021
3.1.20 321,984 10/11/2021
3.1.19 314,805 9/14/2021
3.1.18 872,104 8/10/2021
3.1.17 302,017 7/13/2021
3.1.16 3,086,275 6/8/2021
3.1.15 484,921 5/11/2021
3.1.14 1,514,380 4/6/2021
3.1.13 807,835 3/9/2021
3.1.12 585,289 2/9/2021
3.1.11 1,058,383 1/12/2021
3.1.10 2,272,281 11/9/2020
3.1.9 2,209,017 10/13/2020
3.1.8 5,674,685 9/8/2020
3.1.7 1,658,560 8/11/2020
3.1.6 8,673,937 7/14/2020
3.1.5 3,983,505 6/9/2020
3.1.4 12,802,553 5/12/2020
3.1.3 9,366,055 3/24/2020
3.1.2 5,589,582 2/18/2020
3.1.1 2,731,122 1/14/2020
3.1.0 6,920,000 12/3/2019
3.1.0-preview3.19555.2 2,063,744 11/13/2019 3.1.0-preview3.19555.2 is deprecated because it is no longer maintained.
3.1.0-preview2.19528.8 43,854 11/1/2019 3.1.0-preview2.19528.8 is deprecated because it is no longer maintained.
3.1.0-preview1.19508.20 124,396 10/15/2019 3.1.0-preview1.19508.20 is deprecated because it is no longer maintained.
3.0.3 1,627,963 2/18/2020 3.0.3 is deprecated because it is no longer maintained.
3.0.2 14,805 1/14/2020 3.0.2 is deprecated because it is no longer maintained.
3.0.0 3,597,982 9/23/2019 3.0.0 is deprecated because it is no longer maintained.
3.0.0-rc1.19457.4 93,049 9/16/2019 3.0.0-rc1.19457.4 is deprecated because it is no longer maintained.
3.0.0-preview9.19424.4 246,178 9/4/2019 3.0.0-preview9.19424.4 is deprecated because it is no longer maintained.
3.0.0-preview8.19405.7 31,081 8/13/2019 3.0.0-preview8.19405.7 is deprecated because it is no longer maintained.
3.0.0-preview7.19365.7 36,587 7/23/2019 3.0.0-preview7.19365.7 is deprecated because it is no longer maintained.
3.0.0-preview6.19307.2 200,536 6/12/2019 3.0.0-preview6.19307.2 is deprecated because it is no longer maintained.
2.3.0 6,528,008 1/14/2025
2.2.0 389,874,089 12/3/2018 2.2.0 is deprecated because it is no longer maintained.
2.2.0-preview3-35497 160,593 10/17/2018 2.2.0-preview3-35497 is deprecated because it is no longer maintained.
2.2.0-preview2-35157 88,098 9/12/2018 2.2.0-preview2-35157 is deprecated because it is no longer maintained.
2.2.0-preview1-35029 53,848 8/22/2018 2.2.0-preview1-35029 is deprecated because it is no longer maintained.
2.1.2 19,080,656 8/21/2018
2.1.1 76,383,424 6/18/2018
2.1.0 131,040,926 5/29/2018
2.1.0-rc1-final 194,661 5/6/2018 2.1.0-rc1-final is deprecated because it is no longer maintained.
2.1.0-preview2-final 376,709 4/10/2018 2.1.0-preview2-final is deprecated because it is no longer maintained.
2.1.0-preview1-final 232,444 2/26/2018 2.1.0-preview1-final is deprecated because it is no longer maintained.
2.0.4 8,478,941 5/7/2018 2.0.4 is deprecated because it is no longer maintained.
2.0.3 8,646,325 3/13/2018 2.0.3 is deprecated because it is no longer maintained.
2.0.1 20,494,645 11/14/2017 2.0.1 is deprecated because it is no longer maintained.
2.0.0 86,679,513 8/11/2017 2.0.0 is deprecated because it is no longer maintained.
2.0.0-preview2-final 125,618 6/27/2017 2.0.0-preview2-final is deprecated because it is no longer maintained.
2.0.0-preview1-final 44,776 5/10/2017 2.0.0-preview1-final is deprecated because it is no longer maintained.
1.1.3 2,809,654 9/20/2017 1.1.3 is deprecated because it is no longer maintained.
1.1.2 4,192,798 5/9/2017 1.1.2 is deprecated because it is no longer maintained.
1.1.1 4,228,986 3/6/2017 1.1.1 is deprecated because it is no longer maintained.
1.1.0 4,098,523 11/16/2016 1.1.0 is deprecated because it is no longer maintained.
1.1.0-preview1-final 44,490 10/24/2016 1.1.0-preview1-final is deprecated because it is no longer maintained.
1.0.5 3,370,874 11/14/2017 1.0.5 is deprecated because it is no longer maintained.
1.0.4 109,944 9/20/2017 1.0.4 is deprecated because it is no longer maintained.
1.0.3 29,167,013 5/9/2017 1.0.3 is deprecated because it is no longer maintained.
1.0.2 17,394,173 3/6/2017 1.0.2 is deprecated because it is no longer maintained.
1.0.1 554,638 12/12/2016 1.0.1 is deprecated because it is no longer maintained.
1.0.0 12,784,936 6/27/2016 1.0.0 is deprecated because it is no longer maintained.
1.0.0-rc2-final 235,890 5/16/2016 1.0.0-rc2-final is deprecated because it is no longer maintained.