Coder Social home page Coder Social logo

Comments (6)

tameraw avatar tameraw commented on July 3, 2024

From @kierepka on October 21, 2016 18:47

this same for UWP..

from azure-iot-sdk-csharp.

tameraw avatar tameraw commented on July 3, 2024

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.

WillooWisp avatar WillooWisp commented on July 3, 2024

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.

olivierbloch avatar olivierbloch commented on July 3, 2024

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.

WillooWisp avatar WillooWisp commented on July 3, 2024

NetCore.zip
Hi, @olivierbloch

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.

CIPop avatar CIPop commented on July 3, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.