Blazor.BrowserAPI 0.7.1

dotnet add package Blazor.BrowserAPI --version 0.7.1                
NuGet\Install-Package Blazor.BrowserAPI -Version 0.7.1                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Blazor.BrowserAPI" Version="0.7.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Blazor.BrowserAPI --version 0.7.1                
#r "nuget: Blazor.BrowserAPI, 0.7.1"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Blazor.BrowserAPI as a Cake Addin
#addin nuget:?package=Blazor.BrowserAPI&version=0.7.1

// Install Blazor.BrowserAPI as a Cake Tool
#tool nuget:?package=Blazor.BrowserAPI&version=0.7.1                

Blazor.BrowserAPI

A Blazor library that provides easy access to browser APIs without the need to use any JavaScript. Since JavaScript functionality for Blazor is primarly used for accessing BrowserAPIs, for most applications there will be no need to write any additional JavaScript.
It supports asynchronous communication as well as synchronous (JSRuntime and JSInProcessRuntime).

For documentation or sourcecode see github.com/BlackWhiteYoshi/Blazor.BrowserAPI.

You can find the test page at blazor-browserapi.firerocket.de.

Available Browser APIs

  • Clipboard
  • Console
  • CookieStorage
  • Dialog
  • Download
  • Geolocation
  • HTMLElement
  • HTMLMediaElement (audio/video)
  • Language
  • LocalStorage
  • MediaDevices (microphone/camera)
  • SensorAPI
  • ServiceWorker
  • SessionStorage

Get Started

  1. Add PackageReference to your .csproj file
<ItemGroup>
  <PackageReference Include="Blazor.BrowserAPI" Version="{latest version}" />
</ItemGroup>
  1. Register BrowserAPI in your dependency container
using BrowserAPI;

services.AddBrowserAPI();

For documentation or sourcecode see github.com/BlackWhiteYoshi/Blazor.BrowserAPI.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.7.1 92 11/15/2024
0.7.0 96 10/3/2024
0.6.0 112 8/29/2024
0.5.0 125 5/23/2024
0.4.0 106 5/13/2024
0.3.0 112 5/9/2024
0.2.0 139 4/13/2024
0.1.2 119 3/6/2024
0.1.1 239 12/9/2023
0.1.0 147 12/8/2023