Comments (6)
From @kierepka on October 21, 2016 18:47
this same for UWP..
from azure-iot-sdk-csharp.
From @olivierbloch on October 25, 2016 18:38
Hi @stephannielsen , @kierepka
We are making progress regarding this one. Work is in progress to make the DotNetty library (that's the one we are using for MQTT support) support UWP and PCL, which means we will be able to pick this one up and hopefully publish a Nuget package for the SDK that will support PCL and UWP. Stay tuned.
PS: if you are curious to track the work in progress on DotNetty, it's happening here: https://github.com/nayato/DotNetty/tree/coreclr
from azure-iot-sdk-csharp.
What's the progress on MQTT support for .NET Core? It still says not supported when I try to use the DeviceClient with TransportType.Mqtt.
from azure-iot-sdk-csharp.
Hi @WillooWisp
We are testing the latest updates we recently pushed to the repository to support .Net Standard 1.3, meaning the library can be used on most .Net platforms including .Net Core. We will publish new NuGet packages once we are sure things work well. But in the meantime you should be able to clone the repo and check out the new NetStandard lib. Feedback more than welcome!
from azure-iot-sdk-csharp.
That is what I guessed. I did have problems referencing the NetStandard libraries in my .NET Core project though, it complained about missing files when running app, e.g. the AMQP assembly.
But I did get it working by creating my own NetCore project files, see attached files.
I also fixed an error in the MqttTransportHandler (see code below), and now it works receiving and sending messages over Mqtt, good work from .NET Core.
Uploading blobs etc, is that something that will be included as well for .NET Core? Using only http as transport or Mqtt as well?
#if !NETSTANDARD1_3 this.serverAddress = Dns.GetHostEntry(this.hostName).AddressList[0]; #else // var ipAddresses = (await Dns.GetHostAddressesAsync(this.hostName))[0]; this.serverAddress = (await Dns.GetHostAddressesAsync(this.hostName))[0]; #endif
from azure-iot-sdk-csharp.
We are removing PCL support and will instead focus on supporting the NetStandard for cross-plat code: #138 .
from azure-iot-sdk-csharp.
Related Issues (20)
- Json Format Exception to get payload from Direct Method Request and Twin Json Wrongly formatted
- [Bug Report] Cannot invoke direct methods with payload in IotEdge devices. HOT 8
- [Bug Report] [v2] [IoTSDK] ModuleClient.SendMessageToRoute() not firing IncomingMessageCallback when routing M2M
- IoT Edge not connecting to IOT Hub HOT 2
- Route data directly from opc publisher to rabbit mq is possible? HOT 2
- [Technical Question] [v2] How to set Properties on TelemetryMessage HOT 1
- [Bug Report] Upgrade dependency on Microsoft.Rest.ClientRuntime to Azure.Core HOT 2
- Microsoft.Azure.Devices.Client v1.42.0 has indirect security vulnerabilies HOT 3
- AOT-compatible Microsoft.Azure.Devices.Client HOT 1
- SDK version :2.0.0-preview007 CreateAsync() Json Error
- [Bug Report] WebSockets not working on Web Assembly HOT 1
- Latest device client does not connect over MQTT HOT 9
- Errors while running e2e tests with .NET 8.0 HOT 1
- How to use tpm private key for TLS with IoT Hub SDK (Not TPM Attestation) - for DeviceAuthenticationWithX509Certificate HOT 4
- [Bug Report] AMQP DeviceClient is slow to respond to device being disabled
- Desired Properties callback not triggering after a reconnect HOT 5
- [feature request] Move to System.Text.Json to support AOT HOT 2
- [Bug Report] DeviceClient.SendEventAsync takes over one minute after update from 1.42.0 to 1.42.2 HOT 7
- [BUG] error CS0426: The type name 'Create' does not exist in the type 'ServiceClient' HOT 1
- Building digital twin of the robotic arm [Technical Question] HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from azure-iot-sdk-csharp.