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

Support AspNetCore 3.1 #31

Open
markphillips100 opened this issue Mar 12, 2020 · 13 comments
Open

Support AspNetCore 3.1 #31

markphillips100 opened this issue Mar 12, 2020 · 13 comments

Comments

@markphillips100
Copy link

I've made an attempt at aligning the code to the AspNetCore 3.1 Typescript client in order to support auto-reconnect. I've upgraded the chat and test apps (+servers) and both appear to be fine.

I'd be grateful if anybody could give my dev branch a test in your own use cases to see if there are any issues.

@soernt The branch has a few significant changes so would be a large PR but if you are interested let me know. Thanks for doing most of the work on this too by the way.

@chrisvdb
Copy link

Has this been tested in a production environment in the meantime?

@markphillips100
Copy link
Author

I've only used it in a non-production environment. I've not found any issues other than one I fixed in recent times. That doesn't mean there aren't issues, hence the request (long ago) for testing.

@chrisvdb
Copy link

chrisvdb commented Sep 27, 2020

Alright, thank you for the prompt response. We're still deciding if we'll use Flutter or not. As we'll need auto-reconnect and support for Dotnet Core 3.1 we'll try your version instead of the original one. Support for messagepack would be good too, but not strictly required.

Judging from the growing list of issues and the lack of responses, it looks like the original package is not actively maintained anymore.

@markphillips100
Copy link
Author

Like you I needed the auto-reconnect hence the fork and code alignment with the TS library supported by Microsoft as I knew that had the auto-reconnect feature. FYI, I also intend to branch to support alignment with .NET 5 once released. Messagepack isn't a priority for me as yet but maybe it'll become one in the future.

I'd say I'd have to agree with your assumption re maintenance of the original repository. As for my fork, I will eventually use it in production so if I find any issues that I can fix myself then I shall.

@chrisvdb
Copy link

chrisvdb commented Oct 7, 2020

Alright, as promised, gave your version a try. Seems to work as expected, no issues to report thus far.

Hope @soernt can accept a PR (or even better a co-maintainer!), or @markphillips100 can publish a new package!

@chrisvdb
Copy link

@markphillips100 would you consider packaging your version?

@markphillips100
Copy link
Author

Looks like somebody already has published a fork, albeit of the original code. https://pub.dev/packages/signalr_netcore.

Maybe @sefidgaran will accept a PR?

@chrisvdb
Copy link

Interesting... although not entirely clear to me what the fork brings over the existing package!

@sefidgaran please consider PR from @markphillips100!

@sefidgaran
Copy link

I sent my PR and it is still pending on this package, as it seems this package is not maintained by the owner, decided to publish a fork after fixing issue #41 and use it. I will consider PR. thanks.

@markphillips100
Copy link
Author

@sefidgaran that's great. I'll incorporate your fix into my branch and create a PR asap.

@markphillips100
Copy link
Author

I've created the PR for this over on @sefidgaran fork.

@callmejm
Copy link

callmejm commented Nov 2, 2020

Hi, may I know when can have the auto-reconnect feature

@markphillips100
Copy link
Author

I believe @sefidgaran has merged my PR and released 0.1.8 of signalr_netcore. This version supports the auto-reconnect API - see MS Typescript client doco for usage.

Incidentally, there appears to be another signalr dart package signalr_core that supports aspnetcore 3.1 functionality. The author has told me this was written with code parity to 3.1 Typescript client, and he plans to comply with any changes introduced by .net 5. Has anybody used it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants