Archive For November 2019
calendar_today 13 November 2019 07:51
Remote Validation is a technique that uses client side script
to validate user input on the server without posting the entire form.
Remote validation has always been possible in Razor Pages using either the
RemoteAttribute, which requires an
MVC controller to work, or by writing custom client-side script. One almost completely overlooked feature that was
included in ASP.NET Core 3.0 was the introduction of a Razor Pages-specific
validation attribute that removes this reliance on MVC controllers or custom code for remote validation.
calendar_today 05 November 2019 13:50
The Blazor WebAssembly project template doesn't feature an option to include authentication. If you want to add authentication to a WebAssembly-based Blazor application, you need to do it yourself. This article shows how to add application-wide authentication management and then to use built-in Razor components to protect the FetchData page in the standard template from unauthorised users.