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
- Host: GitHub
- URL: https://github.com/zapthedingbat/aspnetcspscriptnonce
- Owner: zapthedingbat
- Created: 2014-09-24T08:29:37.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T14:30:24.000Z (over 2 years ago)
- Last Synced: 2025-04-04T20:11:16.567Z (over 1 year ago)
- Language: C#
- Size: 1.95 KB
- Stars: 6
- Watchers: 1
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
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")
```