MQTTnet 2.8.0-alpha4

This is a prerelease version of MQTTnet.
There is a newer version of this package available.
See the version list below for details.
dotnet add package MQTTnet --version 2.8.0-alpha4                
NuGet\Install-Package MQTTnet -Version 2.8.0-alpha4                
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="MQTTnet" Version="2.8.0-alpha4" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MQTTnet --version 2.8.0-alpha4                
#r "nuget: MQTTnet, 2.8.0-alpha4"                
#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.
// Install MQTTnet as a Cake Addin
#addin nuget:?package=MQTTnet&version=2.8.0-alpha4&prerelease

// Install MQTTnet as a Cake Tool
#tool nuget:?package=MQTTnet&version=2.8.0-alpha4&prerelease                

MQTTnet is a high performance .NET library for MQTT based communication. It provides a MQTT client and a MQTT server (broker).

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  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. 
.NET Core netcoreapp1.0 was computed.  netcoreapp1.1 was computed.  netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard1.3 is compatible.  netstandard1.4 was computed.  netstandard1.5 was computed.  netstandard1.6 was computed.  netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net452 is compatible.  net46 was computed.  net461 is compatible.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen30 was computed.  tizen40 was computed.  tizen60 was computed. 
Universal Windows Platform uap was computed.  uap10.0 is compatible. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (277)

Showing the top 5 NuGet packages that depend on MQTTnet:

Package Downloads
MQTTnet.Extensions.ManagedClient

This is an extension library which provides a managed MQTT client with additional features using MQTTnet.

MQTTnet.AspNetCore

MQTTnet is a high performance .NET library for MQTT based communication. It provides a MQTT client and a MQTT server (broker) and supports v3.1.0, v3.1.1 and v5.0.0 of the MQTT protocol.

MQTTnet.Extensions.Rpc

This is an extension library which allows executing synchronous device calls including a response using MQTTnet.

L.Common.Core

Package Description

LagoVista.IoT.Deployment.Admin

Provides Managers, Interfaces, Models and Repositories for Managing Deployments with the LagoVista Devices, IoT and Home Automation Frameworks.

GitHub repositories (37)

Showing the top 5 popular GitHub repositories that depend on MQTTnet:

Repository Stars
BrighterCommand/Brighter
A framework for building messaging apps with .NET and C#.
OPCFoundation/UA-.NETStandard
OPC Unified Architecture .NET Standard
ArduPilot/MissionPlanner
Mission Planner Ground Control Station for ArduPilot (c# .net)
LAB02-Research/HASS.Agent
Windows-based client for Home Assistant. Provides notifications, quick actions, commands, sensors and more.
zhaopeiym/quartzui
基于Quartz.NET3.0的定时任务Web可视化管理。docker打包开箱即用、内置SQLite持久化、语言无关、业务代码零污染、支持 RESTful风格接口、傻瓜式配置
Version Downloads Last updated
5.0.0.1214-RC 3,925 9/22/2024
4.3.7.1207 259,038 9/7/2024
4.3.6.1152 528,197 5/24/2024
4.3.5.1141 69,254 5/19/2024
4.3.4.1084 19,531 5/14/2024
4.3.3.952 1,027,074 12/8/2023
4.3.2.930 48,644 12/2/2023
4.3.1.873 713,749 9/6/2023
4.3.0.858 33,470 9/3/2023
4.2.1.781 735,380 5/29/2023
4.2.0.706 264,545 4/23/2023
4.1.4.563 928,319 12/8/2022
4.1.3.436 144,342 11/12/2022
4.1.2.350 322,081 10/24/2022
4.1.1.318 156,265 10/1/2022
4.1.0.247 301,142 8/7/2022
4.0.2.221 116,356 7/13/2022
4.0.1.184 178,570 6/16/2022
4.0.0.167 900,873 6/4/2022
3.1.2 1,814,881 1/27/2022
3.1.1 372,921 12/1/2021
3.1.0 190,039 11/6/2021
3.0.16 902,484 6/28/2021
3.0.15 657,275 2/26/2021
3.0.15-rc2 4,494 2/19/2021
3.0.15-rc1 4,141 2/12/2021
3.0.14 151,003 2/2/2021
3.0.14-rc8 2,725 1/30/2021
3.0.14-rc7 4,240 1/25/2021
3.0.14-rc6 2,563 1/23/2021
3.0.14-rc5 5,699 1/2/2021
3.0.14-rc4 2,898 12/27/2020
3.0.14-rc3 5,123 12/8/2020
3.0.14-rc2 3,014 11/29/2020
3.0.14-rc1 3,848 11/17/2020
3.0.13 687,141 10/24/2020
3.0.13-rc2 2,764 10/15/2020
3.0.13-rc1 12,044 9/19/2020
3.0.12 307,078 8/5/2020
3.0.12-rc2 3,219 7/26/2020
3.0.12-rc1 10,581 5/31/2020
3.0.11 1,137,728 5/16/2020
3.0.10 9,573 5/14/2020
3.0.10-rc2 2,745 5/13/2020
3.0.10-rc1 4,156 5/2/2020
3.0.9 94,021 4/10/2020
3.0.9-rc2 3,543 4/5/2020
3.0.9-rc1 7,148 12/8/2019
3.0.8 920,044 8/19/2019
3.0.7 5,862 8/18/2019
3.0.7-rc2 3,964 8/14/2019
3.0.7-rc1 3,892 8/13/2019
3.0.6 25,049 8/11/2019
3.0.6-beta1 4,763 7/11/2019
3.0.6-alpha1 3,995 7/9/2019
3.0.5 90,029 6/28/2019
3.0.4 6,800 6/27/2019
3.0.3 6,880 6/23/2019
3.0.3-rc3 4,086 6/14/2019
3.0.3-rc2 4,291 6/6/2019
3.0.3-rc1 5,427 5/17/2019
3.0.2 45,549 5/12/2019
3.0.2-rc1 3,464 5/11/2019
3.0.1 15,645 5/11/2019
3.0.0 40,984 5/5/2019
3.0.0-rc3 3,609 5/1/2019
3.0.0-rc2 7,397 4/26/2019
3.0.0-rc1 3,605 4/22/2019
3.0.0-beta1 5,053 4/7/2019
3.0.0-alpha3 3,688 3/24/2019
3.0.0-alpha2 7,653 1/27/2019
3.0.0-alpha1 4,133 12/22/2018
2.8.5 349,520 12/9/2018
2.8.5-rc5 3,773 11/28/2018
2.8.5-rc4 3,810 11/24/2018
2.8.5-rc3 3,756 11/5/2018
2.8.5-rc2 2,460 11/4/2018
2.8.5-rc1 5,012 10/29/2018
2.8.4 70,162 10/6/2018
2.8.4-rc2 2,469 10/4/2018
2.8.4-rc1 2,389 10/4/2018
2.8.3 17,329 10/1/2018
2.8.2 78,005 8/4/2018
2.8.2-rc1 2,648 7/27/2018
2.8.1 15,473 7/8/2018
2.8.1-rc1 2,712 7/7/2018
2.8.0 14,152 7/1/2018
2.8.0-rc6 3,866 6/29/2018
2.8.0-rc5 3,845 6/28/2018
2.8.0-rc4 4,239 6/24/2018
2.8.0-rc3 3,847 6/22/2018
2.8.0-rc2 4,015 6/21/2018
2.8.0-rc1 2,630 6/21/2018
2.8.0-beta1 3,397 6/19/2018
2.8.0-alpha5 5,298 6/6/2018
2.8.0-alpha4 3,109 6/5/2018
2.8.0-alpha3 2,676 6/5/2018
2.8.0-alpha2 2,845 6/4/2018
2.8.0-alpha1 4,700 5/10/2018
2.7.5 123,564 4/28/2018
2.7.5-rc2 2,690 4/25/2018
2.7.5-rc1 2,722 4/24/2018
2.7.4 44,927 4/11/2018
2.7.3 5,007 4/4/2018
2.7.3-rc3 3,920 4/1/2018
2.7.3-rc2 2,717 3/29/2018
2.7.3-rc1 2,630 3/27/2018
2.7.2 4,983 3/26/2018
2.7.1 10,317 3/13/2018
2.7.1-rc1 2,779 2/28/2018
2.7.0 14,778 2/4/2018
2.7.0-rc1 3,473 1/27/2018
2.6.0 7,078 12/18/2017
2.6.0-rc2 2,833 12/7/2017
2.6.0-rc1 2,694 12/4/2017
2.5.3 5,457 11/25/2017
2.5.3-rc1 3,259 11/22/2017
2.5.2 4,465 11/21/2017
2.5.2-rc1 2,533 11/17/2017
2.5.1 4,426 11/11/2017
2.5.0 5,212 11/8/2017
2.4.0 22,740 10/9/2017
2.3.1 3,858 9/28/2017
2.3.0 3,568 9/20/2017
2.2.1 3,627 8/21/2017
2.2.0 3,891 8/17/2017
2.1.5.1 3,132 8/7/2017
2.1.5 3,398 8/5/2017
2.1.4 4,127 7/15/2017
2.1.3 6,039 6/8/2017
2.1.2 3,408 5/5/2017
2.1.1 7,401 4/8/2017

* [Core] Performance optimizations.
* [Core] Due to performance reasons the timestamp of log messages is now in UTC format.
* [Core] Added several packet validations.
* [Core] Log messages now contain the complete source path including parent components.
* [Core] The adapter now has an _Endpoint_ definition as string containing remote IP and port.
* [Client] Received messages are now processed completely in the worker thread without creating new Tasks.
* [Client] Fixed wrong calculation for sending keep alive packets (thanks to @cstichlberger)
* [ManagedClient] Fixed a loading issue of stored application messages (thanks to @JTrotta).
* [Server] Added support for other WebSocket sub protocol formats like mqttv-3.1.1 (thanks to @israellot).
* [Server] The takeover of an existing client sessions is now treated as a _clean_ disconnect of the previous client.
* [Server] The pending messages queue per client is now limited to 250 messages. Overflow strategy and count can be changed via options (thanks to @VladimirAkopyan)
* [Server] Keep alive checking is now suspended while large packages are being received (and thus the client is connected). Keep alive checking continues after a large packet is received completely.
* [Server] Rewritten the _ConnectedClients_ API and added new features for disconnecting and Endpoint information (IP etc.).
* [Server] Added settings for disabling persistent sessions and defining a max pending messages queue size per session.
* [Server] Added a new interceptor which is invoked before a new message is added to the client queue.