Subresource Integrity (SRI) is a way to secure external dependencies of web pages. From Mozilla’s technical page:
You use the Subresource Integrity feature by specifying a base64-encoded cryptographic hash of a resource (file) you’re telling the browser to fetch, in the value of the integrity attribute of any
An integrity value begins with at least one string, with each string including a prefix indicating a particular hash algorithm (currently the allowed prefixes are
sha512), followed by a dash, and ending with the actual base64-encoded hash.
An integrity value may contain multiple hashes separated by whitespace. A resource will be loaded if it matches one of those hashes.
Supported in Chrome 45+, Firefox 43+, recently (2017-05-09) in Safari but “UNDER CONSIDERATION” in Edge since August 06, 2014.
More on this subject here.
Online scanner: sritest.io – SRI Hash Website Scanner
This sample code uses YamlDotNet to parse yaml and inherits from FileConfigurationSource and FileConfigurationProvider: Creating a custom ConfigurationProvider in ASP.NET Core to parse YAML.
A very usefull minimal http static file server in Asp.Net core (Starting a http file server from the file explorer using .NET Core – Meziantou’s blog). Can also be regsitered in Explorer contextual menu.
How to use CookieTempDataProvider to prevent requerying data during subsequent get request: Post-Redirect-Get and TempData with ASP.NET Core – Meziantou’s blog
A list of what is available after console. in a dev tools console Mastering The Developer Tools Console – Treehouse Blog (sometime restricted to Chrome).
On the road to breaking size limits, the futur of protobuf-net could be using Utf8String, Span<T>,ValueTask<T> when usefull and “Channels” (from corefxlab): Code, code and more code.: protobuf-net: large data, and the future
AspNetCoreRateLimit is an ASP.NET Core rate limiting solution designed to control the rate of requests that clients can make to a Web API or MVC app based on IP address or client ID.