BlazorChat.Shared
1.0.1
dotnet add package BlazorChat.Shared --version 1.0.1
NuGet\Install-Package BlazorChat.Shared -Version 1.0.1
<PackageReference Include="BlazorChat.Shared" Version="1.0.1" />
<PackageVersion Include="BlazorChat.Shared" Version="1.0.1" />
<PackageReference Include="BlazorChat.Shared" />
paket add BlazorChat.Shared --version 1.0.1
#r "nuget: BlazorChat.Shared, 1.0.1"
#:package BlazorChat.Shared@1.0.1
#addin nuget:?package=BlazorChat.Shared&version=1.0.1
#tool nuget:?package=BlazorChat.Shared&version=1.0.1
BlazorChat.Shared
This package contains the shared data models for the BlazorChat ecosystem. It provides the core data structures used for real-time chat communication within Blazor applications.
Usage
These models are utilized by the two main BlazorChat packages:
BlazorChat: A standalone, client-side Blazor component that can use an in-memory transport for demoing chat functionality.BlazorChat.Server: A server-side implementation that uses SignalR for real-time communication and can be connected to a persistence layer.
This package serves as a common dependency for the client and server components and is not intended to be used directly unless developing custom integrations.
Core Chat Models
ChatMessage: The primary model representing a single message in a conversation.ChatSender: Represents the user who sent a message.ChatReaction: Represents a single reaction (e.g., a thumbs-up) to a message.ChatReactionSummary: Provides an aggregated summary of all reactions for a specific message.ChatTypingInfo: Carries information about a user who is currently typing.UserStatus: An enum representing user presence (e.g.,Online,Away,Offline).ChatOperationResult: A generic wrapper for the result of a chat-related action, indicating success or failure.
Theming & Configuration Models
ChatColorOptions: A central class for configuring chat component colors and themes.UserStatusColors: Defines the specific colors used for different user statuses.AvatarGradient: Represents a color gradient used for generating user avatars based on their name.AvatarSize: Defines standard pixel sizes for user avatars (e.g.,Small,Medium,Large).
For more information, please visit the official project sites:
- Project URL: https://www.loneworx.com/blazor-chat-demo
- Repository URL: https://github.com/simscon1/BlazorChat
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- No dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on BlazorChat.Shared:
| Package | Downloads |
|---|---|
|
BlazorChat
Real-time chat component for Blazor. Context-scoped threads, rich text via BlazorRTE, emoji reactions via BlazorEmo. Community edition — InMemory transport only. Requires BlazorChat.Server (commercial) for production SignalR-backed messaging. |
GitHub repositories
This package is not used by any popular GitHub repositories.