-
Notifications
You must be signed in to change notification settings - Fork 125
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
How to use this library in a C# .NET project #343
Comments
This doesn't work because there are 2 namespaces:
|
Thank you and this works! Are there any c# project in Github that uses SocketIOClient? I just want to learn how to use it from a well written project instead of I try hundreds times to let it work. Thank you. |
I have followed the same but notning is working. Execution goes inside ConnectAsync will not come out only. |
What do you mean? What error do you get? |
Below is the code, where not able to build connection and execution will not comeout from "await _socketIO.ConnectAsync();". Connected flag is false and not able emit the message. SocketIOOptions options = new SocketIOOptions(); Uri uri = new Uri(SocketUri); |
Hi @chrish2 , @JerkoLannoo, Upgraded sever to latest package and able to connect .net client. However, what ever sever emit the events .net client is not received but received in react client. Any inputs on this? |
I am kinda new to the C# and .NET. I installed this package in the Nuget, and I copy and paste the example code from the Readme.
I import the SocketIO and SocketIOClient in my program. However, It DOES NOT work. Could you provide a very simple example c# code that I can directly run without too many changes?
Am I correct to install this package from Nuget ? or if there are any other ways to put this library in to a project (Since I am new to C#)? Which one should I import to my project (SocketIO or SocketIOClient)Thank you.
The text was updated successfully, but these errors were encountered: