Neutrino
Neutrino
This is just painful to look at. ``` public IHttpProxyBuilder WithEndpoint(string endpoint) => this.WithEndpoint((context, args) => new ValueTask(endpoint)); ``` A method implemented as a lambda, multiple lambdas at that, one...
Create a trivial custom block, do not define a block component attribute so that in the manager adding the block displays the fields. Add this field to the block. [StringFieldSettings(DefaultValue="Some...
No matter how many times the user enters the wrong password they are never locked out. This is true irrespective of whether you set `MaxFailedAccessAttempts` or not. The `Piranha_Users.AccessFailedCount` entry...
This initialization code correctly adds the specified security headers to all responses. var builder = WebApplication.CreateBuilder(args); builder.WebHost.UseKestrel(option => option.AddServerHeader = false); builder.Services.AddRazorPages(); var app = builder.Build(); if (!app.Environment.IsDevelopment()) { app.UseExceptionHandler("/Error");...
If a custom block throws an exception on initialization, the exception appears to completely bypass any middleware exception handling. E.g. given this custom block ``` [BlockType(Name = "Events", Category =...
I'm having troubel getting this to work with Jasmine. I have one large project that works in which I'm having unrelated issues with debugging. I'm attemtping to resolve those issues...
The readme.md file states "100% interoperability with CJS". How? How do I import an ES module into a CJS module? The readme says check this release [post](https://medium.com/web-on-the-edge/tomorrows-es-modules-today-c53d29ac448c) for details, but...
Given this ``` var test1 = { 'array1' : [ { 'prop1': 42, 'prop2': 43 }, { 'prop1': 42, 'prop2': 43 }, { 'prop1': 42, 'prop2': 43 } ] };...
The example of how to handle exceptions using an exception handler is not useful, or at least the explanation is incomplete. The example demonstrates how to install an exception handler...
I have multiple test suites in multiple folders. The test explorer currently displays these suites as a flat list prefixed by their location. E.g. \Folder 1\test-suite-1.spec.js \Folder 1\test-suite-2.spec.js \Folder 1\test-suite-3.spec.js...