Michael Washington's Blog, page 4
September 15, 2019
Blazor Error Handling OwningComponentBase and EF Core Tracking
The version of the book An Introduction to Building Applications with Blazor had a major change from Preview version 8 to Preview version 9 with the introduction of OwningComponentBase.
Using OwningComponentBase ensures that the service and related services that share its scope are disposed with the component. Otherwise a service will live for the life of user’s the connection to the application, which may be problematic if users stay connected for a long time.
Tags: BlazorSeptember 8, 2019
Blazor Binding, Events and Parameters
Three things that you will usually find yourself using on every Blazor page, Binding, Events, and Parameters, will be covered here…
Tags: BlazorSeptember 6, 2019
A Blazor Application Updater
You can allow your application end users to fully update their version of your application by simply uploading a .zip file…
Tags: BlazorAugust 23, 2019
Connecting Blazor to Azure SignalR Service (updated to Preview 8)
You can properly scale your Blazor application by connecting it to an Azure SignalR Service…
Tags: Blazor,Server-Side BlazorAugust 20, 2019
Getting Started With Blazor
In this article we will create a default Blazor project and explore the components and features…
Tags: BlazorAugust 17, 2019
Blazor JavaScript Interop
When you need to, you can interact with JavaScript using Blazor. This allows you to call Javascript methods from Blazor, and to call Blazor methods from JavaScript as well as pass parameters…
Tags: BlazorAugust 16, 2019
Creating Blazor Templated Components
A Blazor application is composed of components. These components can be made fully re-usable by creating templated components…
Tags: BlazorBlazor Forms and Validation
Microsoft Blazor allows you to easily create forms with validation to collect data…
Tags: BlazorA Demonstration of Simple Server-side Blazor Cookie Authentication
To demonstrate how authentication works in a server-side Blazor application, we will strip authentication down to its most basic elements. We will simply set a cookie then read that cookie in the application…
Tags: BlazorImplementing State Management In Blazor
State Management in Blazor refers to the technique that you use to persist data between Blazor pages. Without state management, data would be lost…
Tags: Blazor