Azure IoT Hub SDK for .NET now support .NET5 (Preview)

Published Apr 29 2021 09:51 AM 1,569 Views

We are pleased to announce the preview support of .NET5 into the Azure IoT Hub and DPS SDKs for .NET. With this preview you can now use .NET 5 and C# 9 with your project using the Azure IoT .NET SDKs.

To play with this preview, use the nuget package: NuGet Gallery | Microsoft.Azure.Devices.Client 1.38.0-preview-001 


With .NET 5, the .NET framework team introduced a new set of features. One of particular interest in our client library is the enhancement of async operations for System.Net.Http and Stream APIs. See this documentation for an explanation of working with cancellation tokens.


C# 9 introduces some very cool new language features such as record and pattern matching enhancement. Please test them in your projects using Azure IoT .NET SDKs and let us know if you find any issues using C#9 and Azure IoT SDKs. 


This .NET 5 support is now in preview, and it is a great time to try it and get us feedback. Don't hesitate to reach out to us and let us know if you have any issues, concerns, or suggestions.


Happy coding!

The .NET IoT SDK team




Version history
Last update:
‎Jun 09 2021 04:03 PM
Updated by: