![]() |
VOOZH | about |
dotnet add package benxu.AppPlatform.Core --version 3.2.7
NuGet\Install-Package benxu.AppPlatform.Core -Version 3.2.7
<PackageReference Include="benxu.AppPlatform.Core" Version="3.2.7" />
<PackageVersion Include="benxu.AppPlatform.Core" Version="3.2.7" />Directory.Packages.props
<PackageReference Include="benxu.AppPlatform.Core" />Project file
paket add benxu.AppPlatform.Core --version 3.2.7
#r "nuget: benxu.AppPlatform.Core, 3.2.7"
#:package benxu.AppPlatform.Core@3.2.7
#addin nuget:?package=benxu.AppPlatform.Core&version=3.2.7Install as a Cake Addin
#tool nuget:?package=benxu.AppPlatform.Core&version=3.2.7Install as a Cake Tool
核心抽象層 - 定義所有介面、模型、DTOs 和 Result Pattern。
IAuthService - 身份驗證服務 (包含 Google 登入、Email 註冊/登入等)IPushNotificationService - 推播通知服務ILocalStorage - 本地儲存服務IAppStateManager - 應用程式狀態管理IFirestoreService - Firestore 資料庫服務 (CRUD、查詢)IFirestoreQuery - Firestore 查詢介面IFirestoreBatch - Firestore 批次操作介面dotnet add package benxu.AppPlatform.Core
using benxu.AppPlatform.Core.Abstractions;
public class MyService
{
private readonly IAuthService _authService;
public MyService(IAuthService authService)
{
_authService = authService;
}
public async Task LoginAsync()
{
var result = await _authService.SignInWithGoogleAsync();
if (result.IsSuccess)
{
Console.WriteLine($"登入成功: {result.Data.User.Email}");
}
else
{
Console.WriteLine($"登入失敗: {result.ErrorMessage}");
}
}
}
MIT License - Copyright (c) 2025 benxu
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 net10.0 is compatible. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
Showing the top 5 NuGet packages that depend on benxu.AppPlatform.Core:
| Package | Downloads |
|---|---|
|
benxu.AppPlatform.Firebase.Firestore
Firebase Cloud Firestore implementation for benxu App Platform. Provides document and collection operations, real-time listeners, batch writes, and transactions with offline persistence support. |
|
|
benxu.AppPlatform.Firebase.Auth
Firebase Authentication implementation for benxu App Platform. Provides Google Sign-In, Email/Password authentication with automatic token refresh. |
|
|
benxu.AppPlatform.BlazorUI
Blazor UI component library for benxu App Platform - Provides reusable UI components. |
|
|
benxu.AppPlatform.Storage.LiteDB
LiteDB storage implementation for benxu App Platform. Provides offline-first local database with key-value and collection storage capabilities. |
|
|
benxu.AppPlatform.Firebase.Fcm
Firebase Cloud Messaging (FCM) implementation for benxu App Platform - Provides push notification services with deep link routing. |
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 3.2.7 | 126 | 6/5/2026 |
| 3.2.6 | 143 | 5/30/2026 |
| 3.2.5 | 147 | 4/25/2026 |
| 3.2.4 | 121 | 4/25/2026 |
| 3.2.3 | 130 | 4/23/2026 |
| 3.2.2 | 131 | 4/22/2026 |
| 3.2.1 | 134 | 4/17/2026 |
| 3.2.0 | 135 | 4/11/2026 |
| 3.1.9 | 132 | 4/10/2026 |
| 3.1.8 | 128 | 4/10/2026 |
| 3.1.7 | 125 | 4/10/2026 |
| 3.1.6 | 146 | 4/10/2026 |
| 3.1.5 | 128 | 4/9/2026 |
| 3.1.4 | 130 | 4/7/2026 |
| 3.1.3 | 139 | 3/24/2026 |
| 3.1.2 | 124 | 3/23/2026 |
| 3.1.1 | 135 | 3/22/2026 |
| 3.1.0 | 126 | 3/22/2026 |
| 3.0.9 | 127 | 3/20/2026 |
| 3.0.8 | 134 | 3/19/2026 |