ApiFeatures.Mqtt.Cores
9.2.0
dotnet add package ApiFeatures.Mqtt.Cores --version 9.2.0
NuGet\Install-Package ApiFeatures.Mqtt.Cores -Version 9.2.0
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="ApiFeatures.Mqtt.Cores" Version="9.2.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ApiFeatures.Mqtt.Cores" Version="9.2.0" />
<PackageReference Include="ApiFeatures.Mqtt.Cores" />
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 ApiFeatures.Mqtt.Cores --version 9.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: ApiFeatures.Mqtt.Cores, 9.2.0"
#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 ApiFeatures.Mqtt.Cores@9.2.0
#: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=ApiFeatures.Mqtt.Cores&version=9.2.0
#tool nuget:?package=ApiFeatures.Mqtt.Cores&version=9.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
ApiFeatures.Mqtt.Cores
I. Overview
ApiFeatures.Mqtt.Cores is the persistence-free, API-free MQTT domain library. It holds the MQTT
entities, constants/enums, domain value models, exceptions, and the domain service interfaces
shared by the API layer (ApiFeatures.Mqtt.Apis) and any persistence layer (e.g.
ApiFeatures.Mqtt.MongoDatabases). It has no dependency on ASP.NET Core, MongoDB, or any other module.
What lives here
Constants/*— enums and constraint values (BrokerConstraints,BrokerProtocols,BrokerRuntimeStatuses,BrokerUserConstraints,HiveMqConstraints,MqttConnectionStatuses,MqttConstraints,MqttOptionTypes,SelfHostedBrokerConstraints,ServiceKeys).Models/Entities/*—MqttEntity,MqttConnectionEntity,BrokerEntity,BrokerUserEntity.Models/Mqtts/*—MqOptions,HiveMqOptions,SelfHostedBrokerOptions.Models/Exceptions/*— the MQTT business exceptions.Models/*— domain value types (MqttMessage,MqttContext,ProcessedMqttMessage,MqttConnectionInfo,MqttClientRegistration,BrokerRuntimeStatus).Models/Payloads/*—MeasurementMqttPayload.Interfaces/*— the domain service interfaces (IMqttService,IMqttConnectionService,IBrokerService,IBrokerUserService,IBrokerUserPasswordHasher,IHiveMqService,IBrokerRuntimeManager,IBrokerConnectionAuthenticator,ISelfSignedCertificateProvider,IMqttMessageService,IMqttMessageParser,IMqttMessageProcessor,IMqttConnectionOptionsFactory).
What does NOT live here
- API-surface concerns (DTOs, endpoints, validators, JSON converters, host composition) — those stay in
ApiFeatures.Mqtt.Apis. - Database-tied service implementations, the Mongo context, Mongo settings, and the BSON serializer —
those live in
ApiFeatures.Mqtt.MongoDatabases.
II. Installation
dotnet add package ApiFeatures.Mqtt.Cores
| 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net9.0
- BusinessFeatures.Cores (>= 9.0.1)
- DataMagic.Abstractions (>= 1.2.0)
- MQTTnet (>= 5.0.1.1416)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on ApiFeatures.Mqtt.Cores:
| Package | Downloads |
|---|---|
|
ApiFeatures.Mqtt.Apis
Package Description |
|
|
ApiFeatures.Mqtt.MongoDatabases
Package Description |
|
|
ApiFeatures.Mqtt.Postgresqls
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.