NetEscapades.AspNetCore.SecurityHeaders 0.15.0

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

Middleware for ASP.NET Core to automatically add security headers to requests.

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 is compatible.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 is compatible.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 is compatible.  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 (25)

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

Package Downloads
NetEscapades.AspNetCore.SecurityHeaders.TagHelpers

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

Ark.Tools.AspNetCore

Tools and base classes for AspNetCore as in Ark-way of using it

Indigina.AspNet

This NuGet package contains Asp Net extensions Layer for Indigina projects.

DNTCommon.Web.Core

DNTCommon.Web.Core provides common scenarios' solutions for ASP.NET Core applications.

Logibricks.Utility

Package Description

GitHub repositories (12)

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

Repository Stars
grandnode/grandnode
Open source, headless, multi-tenant eCommerce platform built with .NET Core, MongoDB, AWS DocumentDB, Azure CosmosDB, Vue.js.
fullstackproltd/AspNetCoreSpa
Asp.Net 7.0 & Angular 15 SPA Fullstack application with plenty of examples. Live demo:
thangchung/clean-architecture-dotnet
🕸 Yet Another .NET Clean Architecture, but for Microservices project. It uses Minimal Clean Architecture with DDD-lite, CQRS-lite, and just enough Cloud-native patterns apply on the simple eCommerce sample and run on Tye with Dapr extension 🍻
VirtoCommerce/vc-platform
Virto Commerce B2B Innovation Platform
grandnode/grandnode2
E-commerce platform built with ASP.NET Core using MongoDB for NoSQL storage
damienbod/AspNetCoreHybridFlowWithApi
Different ASP.NET Core applications using OpenID Connect Hybrid flow Code Flow, Code Flow with PKCE, JWT APIs, MFA examples
damienbod/AspNetCoreOpeniddict
OpenIddict with Angular and Blazor WASM BFF OpenID Connect Code Flow with PKCE clients and ASP.NET Core APIs
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
VahidN/DNTCommon.Web.Core
DNTCommon.Web.Core provides common scenarios' solutions for ASP.NET Core applications.
damienbod/bff-aspnetcore-angular
Backend for frontend security using Angular Standalone (nx) and ASP.NET Core backend
damienbod/IdentityServer4VueJs
IdentityServer4 Vue.js oidc-client-js OpenID Connect code flow with PKCE
Version Downloads Last updated
1.1.0 2,713 5/7/2025
1.0.0 72,109 4/1/2025
1.0.0-preview.4 6,755 3/11/2025
1.0.0-preview.3 21,646 1/22/2025
1.0.0-preview.2 21,182 10/31/2024
1.0.0-preview.1 31,199 9/28/2024
0.24.0 828,478 9/12/2024
0.23.0 117,568 8/26/2024
0.22.0 398,090 6/14/2024
0.21.0 1,458,550 9/29/2023
0.20.0 310,853 7/10/2023
0.19.0 85,594 6/12/2023
0.18.0 880,366 1/2/2023
0.17.0 868,879 6/28/2022
0.16.1 2,659,139 11/23/2021
0.16.0 297,002 8/1/2021
0.15.0 169,256 6/26/2021
0.14.0 186,759 4/21/2021
0.13.0 130,981 2/9/2021
0.12.1 331,173 10/2/2020
0.12.0 2,598 10/1/2020
0.11.2 119,661 7/27/2020
0.11.1 1,239 7/27/2020
0.11.0 674,376 10/31/2019
0.10.0 18,319 9/27/2019
0.9.0 482,143 10/28/2018
0.8.0 30,822 10/10/2018
0.7.1 13,172 8/29/2018
0.7.0 71,746 1/14/2018
0.6.0 6,097 12/11/2017
0.5.0 2,136 12/5/2017
0.4.1 30,521 9/27/2017
0.3.1 56,889 4/14/2017
0.3.0 8,527 3/1/2017
0.2.1 14,410 9/14/2016
0.1.1 1,968 8/12/2016
0.1.0 11,865 8/2/2016
0.1.0-beta-0003 1,461 6/2/2016

Features:

* Add support for creating custom CSP directives with `CspDirectiveBuilder`. Enables creating custom directives (for example unsupported, draft, directives) that require nonce or hash values

BugFix:

* Add missing `EncryptedMedia` directive to permissions policy (Thanks @jotoledo)


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