An open API service indexing awesome lists of open source software.

https://github.com/zapthedingbat/aspnetcspscriptnonce

ASP.NET Content Security Policy script-nonce support
https://github.com/zapthedingbat/aspnetcspscriptnonce

Last synced: about 1 year ago
JSON representation

ASP.NET Content Security Policy script-nonce support

Awesome Lists containing this project

README

          

ASP.NET Content-Security-Policy script-nonce
====================

Add Content-Security-Policy script-nonce to razor views

http://www.w3.org/TR/CSP2/#directive-script-src

```csharp

```

```csharp

// Example script

```

```csharp
@ContentSesurityPolicy.Render("~/bundle/example.js")
```