Empezar.BlazorWebClient 1.9.95

dotnet add package Empezar.BlazorWebClient --version 1.9.95
                    
NuGet\Install-Package Empezar.BlazorWebClient -Version 1.9.95
                    
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="Empezar.BlazorWebClient" Version="1.9.95" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Empezar.BlazorWebClient" Version="1.9.95" />
                    
Directory.Packages.props
<PackageReference Include="Empezar.BlazorWebClient" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Empezar.BlazorWebClient --version 1.9.95
                    
#r "nuget: Empezar.BlazorWebClient, 1.9.95"
                    
#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.
#addin nuget:?package=Empezar.BlazorWebClient&version=1.9.95
                    
Install Empezar.BlazorWebClient as a Cake Addin
#tool nuget:?package=Empezar.BlazorWebClient&version=1.9.95
                    
Install Empezar.BlazorWebClient as a Cake Tool

Empezar.BlazorWebClient

Ease development and maintenance of a blazor web app server project, serving WASM as well as prerendering razor components.

Aim is to consolidate all the common services that all API projects serving WASM or MAUI applications need in secure and robust manner.

Please note, this is a Client only package for Empezar.BlazorWebAPI

Installation

Install the nuget package for Empezar.BlazorWebClient in your API Project.

You can also use Manager Nuget Packages to install the same.

dotnet add package Empezar.BlazorWebClient

Usage

Register the service in Program.cs of API project.

Please note that this service already encapsulates Empezar.Cloud service. Hence, if using this package, you do not need to register Empezar.Cloud service.

services.AddEZRBlazorWebClient(APIBaseAddress, appPlatform, typeof(models).Assembly);

Tools for Development

IQurl

Manage httpClient calls easily

var response = await qurl.OnPath(Url.Path(BaseAPI.AppSettings).Query("platform", BaseConstants.CurrentPlatform.ToString()), HttpMethod.Get, logger)
.ReadAsStringAsync(CancellationToken.None);

ICrypt

Inject ICrypt for Encryption and Decryption across all platforms. Encrypt / Decrypt model or string cross platform.

//Encrypt
await crypt.EncryptAsync(new User() {
			email = "test@test.com",
			name = "Test User"
		}, BaseConstants.AppConfigEncryptionKey);

//Decrypt
await crypt.DecryptAsync<User>(encryptedString);

IMini

Compress / Decompress bytes, strings, files

//Compress
await iMini.CompressAsync(byteArray);

//Decompress
await iMini.DecompressAsync(byteArray);

Xportify

Import and Export excel files or razor components as PDF's or extract HTML to send as email

AsyncChron

Chron job in MAUI and WASM

BaseAppCache

Lazy Caching services on client side

Fily

File service for WASM and MAUI

Port of Handson Table and AG-Grid

Use components <HandsonTable /> or <AGGrid />

Base class for Razor components

Takes case of general activities like creation and disposal along with managing PersistingComponentStateSubscription for sharing prerender data

IEZRAuthenticationService

Provides methods for Authentication which works cross platforms

URL class

manages creating URL with encoding of url query parameters with easy. Implicit conversion to Uri supported. For string, use .ToString();

Please explore for many more such features that havent been documented

Happy Coding!

License

MIT

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

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Empezar.BlazorWebClient:

Package Downloads
Empezar.BlazorWebAPI

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.9.95 463 7 days ago
1.9.94 456 8 days ago
1.9.93-alpha 151 15 days ago
1.9.92-alpha 130 15 days ago
1.9.91-alpha 133 16 days ago
1.9.9-alpha 61 18 days ago
1.9.8-alpha 90 19 days ago
1.9.7-alpha 95 19 days ago
1.9.6-alpha 197 a month ago
1.9.5-alpha 85 a month ago
1.9.4-alpha 77 a month ago
1.9.3-alpha 73 a month ago
1.9.2-alpha 96 2 months ago
1.9.1-alpha 86 2 months ago
1.9.0-alpha 90 2 months ago