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.
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 ;-)).
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.
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.
- CallComposite: Provides a calling experience that allows users to start or join a call
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.
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.
The list of the ported API is available in the Ported API page.