c# - Microsoft Device client too heavy for Windows FormAplicattion -


os: windows10

sdk: microsoft.azure.devices v1.3.2

language: c#

hello, i´m developing windows form application on c#. in app, i´m sending messages iot hub using nuget packet microsoft.azure.devices v1.3.2 , receive messages on raspberry pi. ony package install, app 30 mb, , that´s ok me. problem need receive messages iot hub in app too, did install nugetpacket microsoft.azure.devices.client v1.5.0 me receive messages, if install package, increases weight of app 300 mb more, , that´s way heavier want it.

my question is, there other way receive message iot hub in windows form application without weight? missing package me in more easy way? thank in advance.

you can use eventhubclient receive message azure iot hub, in windowsazure.servicebus. windowsazure.servicebus has no dependencies, 3m. , more, can sample source code azure-iot-sdk-csharp. tool of deviceexplorer use eventhubclient receive message.

there dependencies microsoft.azure.devices.client v1.5.0. when use nuget install microsoft.azure.devices.client, dependencies installed too. after building project, can find *.dll libraries in output directory. if want reduce package's capacity, can remove *.dll not used, such localization libraries, not recommended. in fact, of dependencies 20m, why weight of app increased 300m maybe other reason.

dependencies


Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -