BlazorCommon 1.0.4
See the version list below for details.
dotnet add package BlazorCommon --version 1.0.4
NuGet\Install-Package BlazorCommon -Version 1.0.4
<PackageReference Include="BlazorCommon" Version="1.0.4" />
paket add BlazorCommon --version 1.0.4
#r "nuget: BlazorCommon, 1.0.4"
// Install BlazorCommon as a Cake Addin
#addin nuget:?package=BlazorCommon&version=1.0.4
// Install BlazorCommon as a Cake Tool
#tool nuget:?package=BlazorCommon&version=1.0.4
RCL with Blazor components
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. 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. |
-
net7.0
- ClosedXML (>= 0.100.3)
- Microsoft.AspNetCore.Components.Web (>= 7.0.0)
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 |
---|---|---|
1.3.5 | 126 | 2/23/2024 |
1.3.4 | 166 | 1/2/2024 |
1.3.1 | 177 | 5/30/2023 |
1.3.0 | 181 | 4/20/2023 |
1.2.9 | 175 | 4/16/2023 |
1.2.8 | 176 | 4/16/2023 |
1.2.7 | 174 | 4/16/2023 |
1.2.6 | 219 | 3/14/2023 |
1.2.5 | 205 | 3/13/2023 |
1.2.4 | 207 | 3/13/2023 |
1.2.3 | 222 | 3/13/2023 |
1.2.2 | 206 | 3/13/2023 |
1.2.1 | 240 | 3/10/2023 |
1.2.0 | 195 | 3/10/2023 |
1.1.9 | 227 | 3/7/2023 |
1.1.8 | 222 | 3/7/2023 |
1.1.7 | 192 | 3/7/2023 |
1.1.6 | 232 | 3/5/2023 |
1.1.5 | 217 | 3/4/2023 |
1.1.4 | 235 | 3/3/2023 |
1.1.3 | 230 | 3/2/2023 |
1.1.2 | 263 | 2/28/2023 |
1.1.1 | 215 | 2/28/2023 |
1.1.0 | 223 | 2/28/2023 |
1.0.9 | 240 | 2/27/2023 |
1.0.8 | 241 | 2/27/2023 |
1.0.5 | 231 | 2/25/2023 |
1.0.4 | 216 | 2/24/2023 |
1.0.3 | 250 | 2/19/2023 |
1.0.2 | 239 | 2/18/2023 |
1.0.1 | 230 | 2/17/2023 |
using BlazorCommon;
//Adding Url redirections
namespace BlazorCommonTester.Pages
{
public class IndexBase : HtmlComponentBase
{
protected async Task OkClick()
{
await GotoPageBlankAsync(jSRuntime, "https://google.com/");
}
}
}
// Adding Local/Session Storage methods
public async Task<string> SetTextById(string id, string text) {JsHelper jsHelper = new JsHelper(jSRuntime); return await jsHelper.JsSetTextById(id, text);}
public async Task SetSessionStorage(string key, object obj) {JsHelper jsHelper = new JsHelper(jSRuntime); await jsHelper.SetSessionStorage(key, obj);}
public async Task<T> GetSessionStorage<T>(string key) {JsHelper jsHelper = new JsHelper(jSRuntime); return await jsHelper.GetSessionStorage<T>(key);}
public async Task RemoveSessionStorage(string key) { JsHelper jsHelper = new JsHelper(jSRuntime); await jsHelper.RemoveSessionStorage(key);}
public async Task ClearSessionStorage() {JsHelper jsHelper = new JsHelper(jSRuntime); await jsHelper.ClearSessionStorage();}
public async Task SetLocalStorage(string key, object obj) {JsHelper jsHelper = new JsHelper(jSRuntime); await jsHelper.SetLocalStorage(key, obj);}
public async Task<T> GetLocalStorage<T>(string key) { JsHelper jsHelper = new JsHelper(jSRuntime); return await jsHelper.GetLocalStorage<T>(key);}
public async Task RemoveLocalStorage(string key) { JsHelper jsHelper = new JsHelper(jSRuntime); await jsHelper.RemoveLocalStorage(key);}
public async Task ClearLocalStorage() { JsHelper jsHelper = new JsHelper(jSRuntime); await jsHelper.ClearLocalStorage(); }