github Azure/azure-iot-sdk-csharp 2020-11-2
Azure IoT SDK for .NET Release 2020-11-03

latest releases: 2024-03-28, lts_2024-03-29_patch10, lts_2021-03-18_patch10...
3 years ago

Microsoft.Azure.Devices.Client 1.33.0

  • Add support for disabling callbacks for receiving twin property updates and method invocations.
    • Setting a null callback handler will result in unsubscription of the callback that the device was previously subscribed to.
    • Unsubscription over AMQP results in closure of the links. A subsequent subscription will result in opening of the links again. For this reason, frequent subscription-unsubscription should be avoided, as service might end up throttling your requests.
  • Add a callback for receiving C2D messages over MQTT and AMQP.
    • The polling ReceiveAsync() APIs will still be supported over MQTT, AMQP and HTTP.
    • The callback is not supported over HTTP, as any kind of "receiving" operation on HTTP would need to implement a polling call underneath anyway.
    • Once you set a callback for receiving C2D messages over MQTT and AMQP, any subsequent call to ReceiveAsync() would always return null. You can switch back to the polling ReceiveAsync() API by unsubscribing to the callback (setting a null callback handler will result in unsubscription of the callback).
    • Unsubscription over AMQP results in closure of the telemetry receiving link. A subsequent subscription/invocation of ReceiveAsync() will result in opening of the telemetry receiving link. For this reason, frequent subscription-unsubscription should be avoided, as service might end up throttling your requests.
  • Add an option to ClientOptions to configure if the device client should assign a random GUID for Message.MessageId by default in the event the user doesn't set the MessageId.
  • Updated reference to Microsoft.Azure.Devices.Shared nuget.

Bug fixes:

  • Add additional comments to DeviceClient public APIs.
  • Ensure IDisposable types used in the client library are disposed properly.

Microsoft.Azure.Devices 1.28.0

  • Add EventSource logging to ServiceClient. Enable Azure.Amqp logs to be written to our SDKs event provider.
  • Add an option to ServiceClientOptions to configure if the service client should assign a random GUID for Message.MessageId by default in the event the user doesn't set the MessageId.
  • Updated reference to Microsoft.Azure.Devices.Shared nuget.

Bug fixes:

  • Fix Message disposal behavior, which was preventing the SDK from being able to resend the same IoT Hub message multiple times (#1638)

Microsoft.Azure.Devices.Shared 1.26.0

  • Add an enum for configuring if SDK should assign a value of Message.MessageId if user does not set one.

Microsoft.Azure.Devices.Provisioning.Client 1.16.2

  • Updated reference to Microsoft.Azure.Devices.Shared nuget.

Microsoft.Azure.Devices.Provisioning.Transport.Amqp 1.13.3

  • Updated reference to Microsoft.Azure.Devices.Shared nuget.

Microsoft.Azure.Devices.Provisioning.Transport.Http 1.12.2

  • Updated reference to Microsoft.Azure.Devices.Shared nuget.

Microsoft.Azure.Devices.Provisioning.Transport.Mqtt 1.13.2

  • Updated reference to Microsoft.Azure.Devices.Shared nuget.

Microsoft.Azure.Devices.Provisioning.Security.Tpm 1.12.2

  • Updated reference to Microsoft.Azure.Devices.Shared nuget.

Microsoft.Azure.Devices.Provisioning.Service 1.16.2

  • Updated reference to Microsoft.Azure.Devices.Shared nuget.

Don't miss a new azure-iot-sdk-csharp release

NewReleases is sending notifications on new releases.