PosInformatique.Azure.Communication.UI.Blazor
1.1.1
Prefix Reserved
See the version list below for details.
dotnet add package PosInformatique.Azure.Communication.UI.Blazor --version 1.1.1
NuGet\Install-Package PosInformatique.Azure.Communication.UI.Blazor -Version 1.1.1
<PackageReference Include="PosInformatique.Azure.Communication.UI.Blazor" Version="1.1.1" />
paket add PosInformatique.Azure.Communication.UI.Blazor --version 1.1.1
#r "nuget: PosInformatique.Azure.Communication.UI.Blazor, 1.1.1"
// Install PosInformatique.Azure.Communication.UI.Blazor as a Cake Addin #addin nuget:?package=PosInformatique.Azure.Communication.UI.Blazor&version=1.1.1 // Install PosInformatique.Azure.Communication.UI.Blazor as a Cake Tool #tool nuget:?package=PosInformatique.Azure.Communication.UI.Blazor&version=1.1.1
PosInformatique.Azure.Communication.UI.Blazor
PosInformatique.Azure.Communication.UI.Blazor is a C# wrapper Blazor library based on the Microsoft Azure Communication Services UI Library.
The Azure Communication Services UI Library library contains some basic and composites components which use Azure Communication Services for Chat and Calling features.
The API of the library try to match as much as possible the Azure Communication Services UI Library API with the concept of composite adapters.
Demo project
Do not hesitate to run the tests/Communication.UI.Blazor.Demo application which contains an example usage of the PosInformatique.Azure.Communication.UI.Blazor library (I use it for my integration tests 😉).
Start the demo application
To start the project:
- Creates and add a JSON file
appsettings.json
in the tests/Communication.UI.Blazor.Demo/wwwroot folder:
{
"ACS_CONNECTION_STRING": "<Connection string>"
}
With:
<Connection string>
: The connection string of the Azure Communication Services ressources which can be retrieved from the Azure Portal.
Create or using Azure Communication Services identity
The demo project required to use a Azure Communication Services identity. You can create an user directly
by clicking the Create
button or by specifing the Communication User Identifier in the UserID
textbox.
Components
- CallComposite: Provides a calling experience that allows users to start or join a call
Architecture
This library use natively the releases Azure Communication Services UI Library which are available in the official GitHub project.
To simplify dependencies, avoid usage of the composite JavaScript library and include React engine, the src/Communication.UI.Blazor/AzureCommunicationReact folder contains a Webpack project to bundle some NPM dependencies and compile single module library which is used by Blazor components.
The Webpack project is automatically compiled when compiling the src/Communication.UI.Blazor
project and produce the azure-communication-react-bundle.js
used by the Blazor library.
Dependencies
This currently library use the last stable release version of the Azure Communication Services UI Library library. Currently it is based on the v1.14.0 library.
The library is based on the minimal ASP .NET Core Blazor version which is the 8.0.0 and can be used for the application based on this version or higher.
Ported APIs
The list of the ported API is available in the Ported API page.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. 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. |
-
net8.0
- Microsoft.AspNetCore.Components.Web (>= 8.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.2.0-rc.1 | 63 | 6/13/2024 |
1.1.1 | 109 | 10/31/2024 |
1.1.1-rc.1 | 37 | 10/30/2024 |
1.1.0 | 229 | 6/11/2024 |
1.1.0-rc.2 | 50 | 6/11/2024 |
1.1.0-rc.1 | 62 | 6/6/2024 |
1.0.0 | 112 | 6/5/2024 |
1.1.1
- Remove not used files in the NuGet package.
1.1.0
- Refactoring to separate the CallAdapter and the CallComposite to reflect the architecture of the Communication UI Library.
This refactoring required now a service which will let the developer to create the CallAdapter.
The events has been moved to the CallAdapter.
- The CallComposite have parameters to select the button to hide or display.
- Add the following APIs in the CallAdapter:
- LeaveCallAsync()
- MuteAsync()
- UnmuteAsync()
- StartScreenShareAsync()
- StopScreenShareAsync()
- Add the following events in the CallAdapter
- OnMicrophoneMuteChanged
- CallEnded
1.0.0
- Initial version with the CallComposite component.