Skip to content

Latest commit

 

History

History
44 lines (29 loc) · 1.85 KB

README.md

File metadata and controls

44 lines (29 loc) · 1.85 KB

Build Status Nuget

GitHub GitHub tag (latest SemVer pre-release)

About

The EventHorizon.Blazor.Interop is a slim WASM project I created to help with common Blazor JavaScript Interop actions.

Usage

This library requires the usage of the IJSRuntime, you will need to attach one manually before usage.

In "App.razor"

@code {
    [Inject]
    public IJSRuntime JSRuntime { get; set; }

    protected override void OnInitialized()
    {
        EventHorizonBlazorInterop.JSRuntime = JSRuntime;
    }
}

Sample

The EventHorizon.Blazor.Interop.Sample Project contains a suite of performance tests I created to help me verify the performance scenarios I will be using.

Use Libraries

MediatR

Inspiration

Future Work

  • Look at binary serialization between the layers.