if i subcribed to a list of topic, how could i know the topic which i received message
@CodingDroplets2 жыл бұрын
e.Topic will give you the topic to which the message is delivered. You can use conditions to do various actions based on topics. Very good question.
@kuronek0692 жыл бұрын
@@CodingDroplets thank you so much, it help me alot.
@CodingDroplets2 жыл бұрын
Most welcome!!
@zorzional2 жыл бұрын
@@CodingDroplets Thank you very much for the explanation. Can you give a simple code example?
@zorzional2 жыл бұрын
I would like to put data in a textbox based on a topic in a list, can you help me?
@thinleyjamtsho31583 жыл бұрын
nice tutorial video, it helped me a lot.....thank you for sharing your knowledge
@CodingDroplets3 жыл бұрын
Glad to hear that
@CodingDroplets3 жыл бұрын
Hello everyone! Thanks for watching this video. We have started a new tutorial series on *.Net Blazor* . Check it out now: kzbin.info/aero/PLzewa6pjbr3IQEUfNiK2SROQC1NuKl6PV Follow on Twitter: twitter.com/codingdroplets
@himalayaannabhurana63252 жыл бұрын
i like your desktop wallpaper
@CodingDroplets2 жыл бұрын
🙂
@kitaekim9163 Жыл бұрын
Why "Properties\Resources.resx" could not be found. Does this error appear when I build?
@CodingDroplets Жыл бұрын
Thanks for checking out my video and leaving a comment. To answer your question, the "Properties\Resources.resx" file is typically automatically generated when you create a new WinForms application in Visual Studio, and it contains any resources (such as images or strings) that your application uses. If you're seeing an error message saying that the file could not be found, it's possible that the file was accidentally deleted or moved, or there may be a problem with your Visual Studio project file.
@mantaemilian5029 Жыл бұрын
I made an application in xamarin forms with a mqtt broker installed on a raspberry pi. when I'm connected to the network with raspberry, everything works very well, but I can't configure it to be able to access it from another network. how can this be done? when I'm on the network I put the local IP, but to leave the network I don't know what to put on the server.
@CodingDroplets Жыл бұрын
Thank you for sharing your experience! To make your Xamarin Forms application with an MQTT broker accessible from another network, consider hosting your MQTT service in a public cloud.
@edinetgrunhed60002 жыл бұрын
sir how to modify the code if i use broker e.g. hivemq rathern than localhost?
@CodingDroplets2 жыл бұрын
I haven't used it yet. But as of my limited knowledge, HiveMQ is providing its own client library.
@mintheinwin4959 Жыл бұрын
Hello Sir, how to connect configuration instead of "127.0.0.1" if using with different computer for application1 and application2. Or how to check ip of mosquito mqtt.
@CodingDroplets Жыл бұрын
Thank you for your comment and for watching my video on MQTT integration with .NET C#! To connect to a Mosquitto MQTT broker running on a different computer, you will need to replace the IP address "127.0.0.1" with the IP address of the remote computer where Mosquitto is running. You can find the IP address of that computer by opening a command prompt (on Windows) or a terminal (on Linux or macOS) and typing "ipconfig" (or "ifconfig" on Linux/macOS). Look for the IP address listed under "IPv4 Address" or "inet". Once you have the IP address, you can use it to connect to Mosquitto from your application by replacing "127.0.0.1" with the remote computer's IP address. I hope this helps, and if you have any further questions, please feel free to ask! Thank you again for your comment and for watching my video.
@trile6518 Жыл бұрын
@@CodingDroplets I replaced IP address for both applications on two PCs. but it didn't work. Ports also are allowed in Window FireWall. Could you give any suggestions?
@edinetgrunhed6000 Жыл бұрын
thanks for this video i learned a lot, can you add event that if a broker is disconnect it will notify the application
@CodingDroplets Жыл бұрын
Thank you for watching the video and for your comment! I'm glad to hear that you learned a lot from it. To answer your question about detecting when the MQTT broker disconnects, you can use the ConnectionClosed event provided by the M2MQTT library. This event is raised when the connection to the broker is closed, allowing you to handle it in your application.
@edinetgrunhed6000 Жыл бұрын
@@CodingDroplets can u procide the code, its not working when i tried
@wolfgangwulz80793 жыл бұрын
Its a nice video and explanation is good, but I tried running on two different computers (exchanged IP-Address) but it didn't work. Do you have any suggestion?
@CodingDroplets3 жыл бұрын
It will work. Your firewall might be blocking the incoming request. Try adding an inbound rule in firewall.
@juancarlosabad32983 жыл бұрын
thank you but you should at least mention which MQTT server (not service) you started on your manchine...is it a Mosquitto MQTT server? thank you in advance!
@CodingDroplets3 жыл бұрын
Sorry for that. I really missed to mention that in the video. I've used Mosquitto MQTT Server.
@jettaglnegro3 жыл бұрын
Puedes crear un void conect-mqtt(); y llámalo desde un botón?
@CodingDroplets2 жыл бұрын
Sorry for the delayed reply. Yes.. that can also be done. In this demo we are initiating MQTT service on loading itself.
@jettaglnegro2 жыл бұрын
@@CodingDroplets muchas gracias
@jettaglnegro3 жыл бұрын
You know how to invoke the method of when the connection to the broker is lost.
@CodingDroplets3 жыл бұрын
The m2mqtt client has a "ConnectionClosed" event. You can implement your reconnect method in it.
@jettaglnegro3 жыл бұрын
@@CodingDroplets if that was the one I used ... but it takes 2 minutes to confirm the loss of the connection .. how did I reduce the time?
@KemauSi Жыл бұрын
How do I install the friggin service than?
@CodingDroplets Жыл бұрын
mosquitto.org/
@KarmaYuta2 жыл бұрын
hi, great. can you able to provide a video fpr Asp core 5.0?
@CodingDroplets2 жыл бұрын
Hello Suresh Rao, First of all I need to thank you for taking time to comment the video. We, Coding Droplets have already done videos using dotnet5 and dotnet 6 frameworks. In our Blazor Tutorial series we have used dotnet5 and dotnet6. Link below for your reference. Blazor Tutorial: kzbin.info/www/bejne/morCcoqaeN-mebs If you are an API developer you might be interested in our gRPC Tutorial series which is also developed using dotnet6. Link below. gRPC Tutorial Series: kzbin.info/www/bejne/rl7OpaqDibNjj9k Also, please let us know what kind of tutorials your are interested in. Coding Droplets will be there always to help you for dotnet development. Once again thank you very much for your continued support.
@bielschz23023 жыл бұрын
How can I connect to another networked machine, and publish there?
@CodingDroplets3 жыл бұрын
You can provide the Machine IP address in the connection. Please make sure the port number is enabled in firewall.
@pioneer-sr4dh3 жыл бұрын
how can keep alive my connection please help me
@CodingDroplets3 жыл бұрын
MQTT Client is having an event that can be fired on disconnection. You can try reconnecting again while firing the disconnection event.
@pioneer-sr4dh3 жыл бұрын
@@CodingDroplets I do search about that but I didn't get any thing can you help me with this
@CodingDroplets3 жыл бұрын
@@pioneer-sr4dh You can find an event with the name "ConnectionClosed". Whenever the connection is lost, application will trigger this event.
@pioneer-sr4dh3 жыл бұрын
@@CodingDroplets ok thanks bro
@khaledbadiy71083 жыл бұрын
perfect can you please shear the source code id it possible
@CodingDroplets3 жыл бұрын
Sure. We'll share the source code link soon.
@khaledbadiy71083 жыл бұрын
@@CodingDroplets really it's a pleasure to have people share knowledge like this how can I contact you for business staff. please send me an email to this one Badiy.khaled@gmail.com
@CodingDroplets3 жыл бұрын
@@khaledbadiy7108 We are sorry to say that we don't provide recruitment services. We are just a team of experienced Software Developers and we share the knowledge for those who are in need.
@CodingDroplets3 жыл бұрын
We have added the Sample Project download URL in the video description.
@khaledbadiy71083 жыл бұрын
@@CodingDroplets Thank you so much for your help :)
@AmitNaik81033 жыл бұрын
Nice tutorial, but source code not able to open. could you share github link of source code
@CodingDroplets3 жыл бұрын
Please use the new github url mentioned in the video description.
@itebguich86323 жыл бұрын
please can you post the source of the code if possible.
@CodingDroplets3 жыл бұрын
We have added the Sample Project download URL in the video description.
@xinjin871 Жыл бұрын
Can we get the source code?
@CodingDroplets Жыл бұрын
You can find the source code from the below github repository: github.com/codingdroplets/MqttCSharpSample
@MartinMaat2 жыл бұрын
Thank you. The piano was just distracting and annoying, please do not apply this to your videos again.
@CodingDroplets2 жыл бұрын
Sorry! Noted
@cozmadenis47522 жыл бұрын
Hi, i have a problem with the connection, it gives this error uPLibrary.Networking.M2Mqtt.Exceptions.MqttConnectionException: 'Exception connecting to the broker'. SocketException: No connection could be made because the target machine actively refused it 127.0.0.1:1883 . Any ideas solving it? Nice tutorial, btw.
@CodingDroplets2 жыл бұрын
Do you have MQTT Service installed in your machine?
@cozmadenis47522 жыл бұрын
@@CodingDroplets Yes, i do
@CodingDroplets2 жыл бұрын
1883 is the default port number for MQTT service. Have you assigned any custom port number? We have provisions to assign custom port number instead of 1883. Try telnet from command prompt to check the connectivity: telnet localhost 1883 You may need to install Telnet Client if it is not installed
@CodingDroplets2 жыл бұрын
Also make sure the MQTT service is running.
@faisalreza9887 Жыл бұрын
@@CodingDroplets Hallow, how to install MQTT Service in my computer?