BlazorChat.Shared 1.0.3

The owner has unlisted this package. This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
dotnet add package BlazorChat.Shared --version 1.0.3
                    
NuGet\Install-Package BlazorChat.Shared -Version 1.0.3
                    
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="BlazorChat.Shared" Version="1.0.3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="BlazorChat.Shared" Version="1.0.3" />
                    
Directory.Packages.props
<PackageReference Include="BlazorChat.Shared" />
                    
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 BlazorChat.Shared --version 1.0.3
                    
#r "nuget: BlazorChat.Shared, 1.0.3"
                    
#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.
#:package BlazorChat.Shared@1.0.3
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=BlazorChat.Shared&version=1.0.3
                    
Install as a Cake Addin
#tool nuget:?package=BlazorChat.Shared&version=1.0.3
                    
Install as a Cake Tool

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:

Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net10.0

    • No dependencies.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on BlazorChat.Shared:

Package Downloads
BlazorChat

Real-time chat UI component for Blazor applications. Drop-in embeddable chat widget with SignalR, emoji reactions, typing indicators, and message editing. GPLv3 open source with in-memory storage. For production persistence, add BlazorChat.Server.SqlServer.

BlazorChat.Server

Commercial persistence layer for BlazorChat. Server-side SignalR hub and storage abstractions with extensible IChatRepository / IChatPresenceStore interfaces for custom database implementations. Includes 30-day free trial.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated