Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FR: Add legacy support for .Net Framework 4.7.2 #105

Open
amitsahu-work opened this issue Oct 30, 2023 · 6 comments
Open

FR: Add legacy support for .Net Framework 4.7.2 #105

amitsahu-work opened this issue Oct 30, 2023 · 6 comments
Labels
feature request Request for new functionality

Comments

@amitsahu-work
Copy link

amitsahu-work commented Oct 30, 2023

Is this library compatible with .Net Framework 4.7.2? i was able to use it with .Net Core 6 , worked flawlessly but facing issues with .Net Framework, or is there any workaround?

@amitsahu-work amitsahu-work added the question Further information is requested label Oct 30, 2023
@github-actions
Copy link

Hello @amitsahu-work, thanks for contributing to the HiveMQ community! We will respond as soon as possible.

@pglombardo
Copy link
Collaborator

Hi @amitsahu-work - Unfortunately not. This library was built against .NET 6.0 which implements .NET Standard 2.1 (see here). And .NET Framework doesn't support this latest standard (see here).

@amitsahu-work
Copy link
Author

Hi @amitsahu-work - Unfortunately not. This library was built against .NET 6.0 which implements .NET Standard 2.1 (see here). And .NET Framework doesn't support this latest standard (see here).

hey @pglombardo can you suggest a mqtt client library for .Net Framework 4.7.2 which supports persistence of messages while disconnected

@pglombardo
Copy link
Collaborator

"persistence of messages while disconnected"

This could mean a couple thing but I don't know of any C# client that has local file persistence. I'd like to add that to this client eventually but there is no ETA currently.

Also note that the HiveMQ broker will queue Quality of Service level 1 and 2 messages when the client goes offline. Once you reconnect (with CleanStart=false) all of the queued messages will be delivered upon reconnecting.

See the ConnectReceiveAndPublish example that offers a bit more explanation and code.

The queue size and discard strategy can be configured in the HiveMQ broker. See the documentation here.

@amitsahu-work
Copy link
Author

"persistence of messages while disconnected"

This could mean a couple thing but I don't know of any C# client that has local file persistence. I'd like to add that to this client eventually but there is no ETA currently.

Also note that the HiveMQ broker will queue Quality of Service level 1 and 2 messages when the client goes offline. Once you reconnect (with CleanStart=false) all of the queued messages will be delivered upon reconnecting.

See the ConnectReceiveAndPublish example that offers a bit more explanation and code.

The queue size and discard strategy can be configured in the HiveMQ broker. See the documentation here.

Thanks @pglombardo i have explored that option , it seems HiveMQ .net library does not support .net framework 4.7.2, if you have anything else in mind would appreciate

@pglombardo
Copy link
Collaborator

Hi @amitsahu-work if you have a HiveMQ broker license, contact your sales rep and have the request communicated. Possibly we can get in a FR to add legacy support.

@pglombardo pglombardo added feature request Request for new functionality and removed question Further information is requested labels Nov 30, 2023
@pglombardo pglombardo changed the title Is this library compatible with .Net Framework 4.7.2? i was able to use it with .Net Core 6 , worked flawlessly but facing issues with .Net Framework, or is there any workaround? FR: Add legacy support for .Net Framework 4.7.2 Nov 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Request for new functionality
Projects
None yet
Development

No branches or pull requests

2 participants