NetEscapades.AspNetCore.SecurityHeaders.TagHelpers 0.9.0

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

// Install NetEscapades.AspNetCore.SecurityHeaders.TagHelpers as a Cake Tool
#tool nuget:?package=NetEscapades.AspNetCore.SecurityHeaders.TagHelpers&version=0.9.0

Tag Helpers for the ASP.NET Core Security Headers middleware for adding Nonces for use with SecurityHeadersMiddleware

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 (3)

Showing the top 3 NuGet packages that depend on NetEscapades.AspNetCore.SecurityHeaders.TagHelpers:

Package Downloads
KoloDev.GDS.UI

Kolo GDS UI Accelerator

FamilyHubs.SharedKernel.Razor

Package Description

Etch.Cms.Umbraco.Civic The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

Package Description

GitHub repositories (4)

Showing the top 4 popular GitHub repositories that depend on NetEscapades.AspNetCore.SecurityHeaders.TagHelpers:

Repository Stars
damienbod/AspNetCoreHybridFlowWithApi
Different ASP.NET Core applications using OpenID Connect Hybrid flow Code Flow, Code Flow with PKCE, JWT APIs, MFA examples
damienbod/IdentityServer4AspNetCoreIdentityTemplate
An ASP.NET Core 6.0 IdentityServer4 Identity Bootstrap 4 template with localization
damienbod/AspNetCoreAngularSignalRSecurity
Security with ASP.NET Core, SignalR and Angular
damienbod/IdentityServer4VueJs
IdentityServer4 Vue.js oidc-client-js OpenID Connect code flow with PKCE
Version Downloads Last updated
0.21.0 67,806 9/29/2023
0.20.0 25,644 7/10/2023
0.19.0 5,602 6/12/2023
0.18.0 85,245 1/2/2023
0.17.0 59,833 6/28/2022
0.16.1 67,749 11/23/2021
0.16.0 18,782 8/1/2021
0.15.0 1,652 6/26/2021
0.14.0 2,790 4/21/2021
0.13.0 9,330 2/9/2021
0.12.1 49,663 10/2/2020
0.12.0 614 10/1/2020
0.11.2 1,488 7/27/2020
0.11.1 572 7/27/2020
0.11.0 52,416 10/31/2019
0.10.0 702 9/27/2019
0.9.0 15,885 10/28/2018

Features:

* Add support for Nonce generation for Content-Security-Policy headers. See README.md for details
* Add TagHelpers library for adding nonces and generating hashes for Razor elements (NetEscapades.AspNetCore.SecurityHeaders.TagHelpers)
* Allow using HSTS preload with Strict-Transport-Security
* Allow excluding domains from Strict-Transport-Security. Similar to the Microsoft HstsMiddlewareyou can skip applying Strict-Transport-Security to specific hosts

Breaking Changes:

* All obsolete classes have been removed.
* Many classes have changed namespace to better reflect their location in the project, and also to aid discovery. If you're using the recommended builders and extension methods, you should not have any build-time breaking changes, but the package is not runtime-compatible with previous versions
* The Strict-Transport-Security header is no longer applied to localhost by default. Generally speaking, this isn't something you should do anyway.
* The CSP classes have undergone significant refactoring to allow dynamic values per-request (i.e. nonces). This doesn't affect the main public API, but will impact you if you're working with the low-level infrastructure classes.


See https://github.com/andrewlock/NetEscapades.AspNetCore.SecurityHeaders/blob/master/CHANGELOG.md#v090 for more details.