Theodicean.UnfoldedCircle.Server
0.0.1-pre1
See the version list below for details.
dotnet add package Theodicean.UnfoldedCircle.Server --version 0.0.1-pre1
NuGet\Install-Package Theodicean.UnfoldedCircle.Server -Version 0.0.1-pre1
<PackageReference Include="Theodicean.UnfoldedCircle.Server" Version="0.0.1-pre1" />
<PackageVersion Include="Theodicean.UnfoldedCircle.Server" Version="0.0.1-pre1" />
<PackageReference Include="Theodicean.UnfoldedCircle.Server" />
paket add Theodicean.UnfoldedCircle.Server --version 0.0.1-pre1
#r "nuget: Theodicean.UnfoldedCircle.Server, 0.0.1-pre1"
#:package Theodicean.UnfoldedCircle.Server@0.0.1-pre1
#addin nuget:?package=Theodicean.UnfoldedCircle.Server&version=0.0.1-pre1&prerelease
#tool nuget:?package=Theodicean.UnfoldedCircle.Server&version=0.0.1-pre1&prerelease
Theodicean.UnfoldedCircle
ASP.NET SDK for hosting integration drivers for the Unfolded Circle Remotes.
Features
- mDNS broadcasting for discovery on remotes
- Configuration handling
- Event broadcasting
- Multiple entities in the same instance
- Media Player and Remote entity support
- Strongly typed models
- NativeAOT and trimming friendly
- Can be used for installation on the remote or on a server
Limitations
- Only supports Media Player and Remote entities (I do not have any other devices to test with)
Requirements
- dotnet 9 SDK
Install
- Package (project using the generator):
Add a PackageReference to
Theodicean.UnfoldedCircle
Example
csproj
snippet:<ItemGroup> <PackageReference Include="Theodicean.UnfoldedCircle" Version="x.y.z" /> </ItemGroup>
Usage
Start by adding a driver.json
file in the root of your server project.
See here for documentation on the file format.
You must make sure that the file is copied as part of the publishing process.
Note
If you're publishing with NativeAOT, you must add the following to your server's .csproj
file to ensure the driver.json
is included in the output:
<PropertyGroup>
<IncludeAllContentForSelfExtract>true</IncludeAllContentForSelfExtract>
<ExcludeFromSingleFile>appsettings.json</ExcludeFromSingleFile>
<ExcludeFromSingleFile>driver.json</ExcludeFromSingleFile>
</PropertyGroup>
The integration requires that you implement a few abstract classes and register them in your Program.cs
:
UnfoldedCircle.Server.Configuration.ConfigurationService<TConfigurationItem>
- Handles configuration for the integration.UnfoldedCircle.Server.WebSocket.UnfoldedCircleWebSocketHandler<TMediaPlayerCommandId, TConfigurationItem>
- Handles requests and events from and to the remotes.
Implement the abstract methods to work with your entities and configuration. You can use unfoldedcircle-oppo as a reference implementation.
In your Program.cs
, you can register the services like this:
builder.AddUnfoldedCircleServer<CustomWebSocketHandler, CustomConfigurationService, CustomConfigurationItem>();
...
app.UseUnfoldedCircleServer<CustomWebSocketHandler, CustomConfigurationItem>();
// Or if you want to use custom media player command ids (where CustomCommandId is an enum and must have the members defined in `MediaPlayerCommandId`):
builder.AddUnfoldedCircleServer<CustomWebSocketHandler, CustomCommandId, CustomConfigurationService, CustomConfigurationItem>();
...
app.UseUnfoldedCircleServer<CustomWebSocketHandler, CustomCommandId, CustomConfigurationItem>();
Useful links
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. 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. |
-
net9.0
- Theodicean.Makaretu.Dns.Multicast (>= 0.0.1)
- Theodicean.UnfoldedCircle.Models (>= 0.0.1-pre1)
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 |
---|---|---|
0.0.1-pre9 | 95 | 8/17/2025 |
0.0.1-pre8 | 106 | 8/16/2025 |
0.0.1-pre7 | 117 | 8/15/2025 |
0.0.1-pre6 | 150 | 8/15/2025 |
0.0.1-pre5 | 127 | 8/14/2025 |
0.0.1-pre4 | 120 | 8/14/2025 |
0.0.1-pre34 | 65 | 8/27/2025 |
0.0.1-pre33 | 63 | 8/27/2025 |
0.0.1-pre32 | 63 | 8/27/2025 |
0.0.1-pre31 | 68 | 8/27/2025 |
0.0.1-pre30 | 131 | 8/26/2025 |
0.0.1-pre3 | 119 | 8/14/2025 |
0.0.1-pre29 | 209 | 8/24/2025 |
0.0.1-pre28 | 180 | 8/24/2025 |
0.0.1-pre27 | 156 | 8/24/2025 |
0.0.1-pre26 | 138 | 8/24/2025 |
0.0.1-pre25 | 134 | 8/24/2025 |
0.0.1-pre24 | 55 | 8/23/2025 |
0.0.1-pre23 | 40 | 8/23/2025 |
0.0.1-pre22 | 39 | 8/23/2025 |
0.0.1-pre21 | 136 | 8/21/2025 |
0.0.1-pre20 | 115 | 8/20/2025 |
0.0.1-pre2 | 120 | 8/14/2025 |
0.0.1-pre19 | 106 | 8/20/2025 |
0.0.1-pre18 | 153 | 8/18/2025 |
0.0.1-pre17 | 131 | 8/18/2025 |
0.0.1-pre16 | 130 | 8/18/2025 |
0.0.1-pre15 | 135 | 8/18/2025 |
0.0.1-pre14 | 135 | 8/17/2025 |
0.0.1-pre13 | 107 | 8/17/2025 |
0.0.1-pre12 | 90 | 8/17/2025 |
0.0.1-pre11 | 96 | 8/17/2025 |
0.0.1-pre10 | 90 | 8/17/2025 |
0.0.1-pre1 | 171 | 8/13/2025 |