CaseOnline.Azure.WebJobs.Extensions.Mqtt icon indicating copy to clipboard operation
CaseOnline.Azure.WebJobs.Extensions.Mqtt copied to clipboard

Upgrade MQTTNet to latest version, add support for .NET 5

Open duizendnegen opened this issue 3 years ago • 9 comments

We are running .NET 5 with our Azure Functions; this PR updates this project to support that.

duizendnegen avatar Dec 22 '21 10:12 duizendnegen

Some WIP on our side: we're still testing it with a live MQTT queue, so not 100% ready to merge yet.

duizendnegen avatar Dec 22 '21 11:12 duizendnegen

@keesschollaart81 can this be merged and possibly updated for NET6 and latest MQTTNet package?

pseabury avatar Apr 27 '22 15:04 pseabury

Will look into this next weekend. LGTM!

keesschollaart81 avatar Apr 28 '22 07:04 keesschollaart81

Sorry to say that we didn't get this working on our end; I would recommend against merging as-is. Skipping .NET 5 and going straight to .NET 6 will most likely give you a much better experience for upgrading.

duizendnegen avatar Apr 28 '22 07:04 duizendnegen

Good that you're report this! What was the issue / should I look out for?

keesschollaart81 avatar Apr 28 '22 07:04 keesschollaart81

Honestly; actually receiving a message from a test queue. I don't remember exactly because it's been too long ago. The different modes of running it isolated / non-isolated ended up biting us in the rear as far as I remember.

duizendnegen avatar Apr 28 '22 07:04 duizendnegen

@duizendnegen I'm most interested in running NET6 Isolated - actually about to try it - as Microsoft claims it's the future of Functions. Do you recall if isolated was the problem?

pseabury avatar Apr 28 '22 13:04 pseabury

I tried to start porting to NET6/Isolated but as you probably know configuration & bindings are way different. I wasn't able to complete a working version of this library yet.

pseabury avatar Apr 28 '22 20:04 pseabury

I had a similar issue; configurations / bindings being way different.

duizendnegen avatar Apr 30 '22 07:04 duizendnegen