ng2-signalr | angular2 - asp.net signalr library | Frontend Framework library
kandi X-RAY | ng2-signalr Summary
kandi X-RAY | ng2-signalr Summary
angular2 - asp.net signalr library
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of ng2-signalr
ng2-signalr Key Features
ng2-signalr Examples and Code Snippets
Community Discussions
Trending Discussions on ng2-signalr
QUESTION
I have ReactiveFormsModule already imported in shared.module.ts. It is shared across many forms. I am building a new form, but for some reason I am getting this error on this line
...ANSWER
Answered 2020-Jul-08 at 14:05You have not imported ReactiveFormsModule
in your imports array. You have just added it in exports array.
QUESTION
I have SignalR communication between Angular 8 and ASP.NET Web API, .NET Framework 4.7.2 which was working correctly perfectly. However I havent tested this in a months and now when I tried i have that result in the browser console:
http://localhost:55454/signalr/negotiate? .... net::ERR_ABORTED 404 (Not Found)
The only major change in these few months is that now my API uses Identity Server 3, but i do not think this is the problem.
Howeever here is my code in StartUp before Identity Server implementation:
...ANSWER
Answered 2020-May-15 at 14:45I have solved that. The initial reponse was NOT very detailed. 404 and that`s it. But when i got deeper, i found that the detailed response is:
HTTP Error 404.15 - Not Found The request filtering module is configured to deny a request where the query string is too long.
And indeed it is. So now I need to decide is it safe to increase URL and query string length and if not... how to solve this.
QUESTION
Using the angular 2 debug server, I proxy requests to the real server using proxy.config.js
. It seems that the ng2-signalr
library does not respect the proxy configuration, and will attempt requests to whatever was defined as url
in the IConnectionOptions
used.
for the following request:
...ANSWER
Answered 2019-May-14 at 22:33I got this working by adding the signalr route to proxy.config.js
and setting the url
property of my IConnectionOptions
to location.origin
. This setup bypasses the default route of /signalr
so that a double forward slash route is not used.
QUESTION
I am using this library for signalr in my angular 5 application https://github.com/HNeukermans/ng2-signalr
the signalr gets disconnected after certain period of time. I don't see any documentation how to reconnect from client side. please help if anyone know how to do it
...ANSWER
Answered 2018-Sep-17 at 09:14I would suggest on an error you can apply settimeout to restart or start the connection again.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install ng2-signalr
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page