Comments (6)
Hi there,
this all looks like you are using not ASP.net Core - right? This library is for .net Core only, since Microsoft implements a different hub protocol at .net Core.
Kind regards,
Sörnt
from signalr_client.
Hi,
I've experienced the same error message, and found that it is because the Hub you're connecting to is returning the content-type: [application/json; charset=UTF-8]. I still haven't found a solution to this issue. @YahiaAgwa Have you been able to get any further with this issue?
from signalr_client.
A temporary solution I found to work was to edit the DartIOHttpClient such that the .indexOf("application/json") (on line: 87) (is .indexOf("application/json; charset=UTF-8") instead.
I do bump into another problem after doing this, and that is with the NegotiationResponse, which I still cannot seem to find a way around. Let me know if this temporary fix solves your problem.
from signalr_client.
Yes, you're right. It is because there is a difference between the implementation of ASP.net Core MVC SignalR and ASP.net MVC SignalR. Thank you for clearing that up for me. Would you recommend a migration over to ASP.net Core from ASP.net? I am trying to build a mobile and web application that supports real time communication.
from signalr_client.
That depends on your requirements. First check if all your required components have a .net core compatible version. If so, than I would switch over to .net Core.
from signalr_client.
can build using ASP.net MVC SignalR not core ??
from signalr_client.
Related Issues (20)
- Not able to specify Hub in server. HOT 1
- Error when trying to invoke async server method
- #23 No work with .Net , just work with .Net core HOT 1
- Signal R Core Can't Connect when deployed to IIS
- It is not possible to use hubConnection.start().then(onValue, onError)
- Cannot set headers to connection HOT 1
- Unhandled Exception: type 'GeneralError' is not a subtype of type 'Error' in type cast. HOT 7
- Dose't support asp.net mvc HOT 5
- Support AspNetCore 3.1 HOT 13
- VM chatmessages disapper when disconnected HOT 2
- SocketException: Reading from a closed socket HOT 1
- Run in background service HOT 5
- CERTIFICATE_VERIFY_FAILED HOT 3
- Flutter SignalR method not being invoked correctly HOT 4
- How to Use HOT 1
- Pass parameter
- Invalid argument(s): Response Content-Type not supported: [application/json; charset=UTF-8]
- Wouldn't compile, missing lib quiver
- Error when using with token HOT 1
- Is the project abandoned? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from signalr_client.