What is real time ? People who use the applications they need to see the actions one it happens . No delays or refreshing even it is desktop application, App , web or some other application.
How its possible ?
There is few options that developer can looking at.
1. Running background thread
2. Use SignalR
1st option that I describe here is not the best option in most of the times. Running background thread all times is resource consuming and it always use pulling (grab the data from the remote). And there is security concerns as well. But believe me there is some applications which we need to use this and thread is worth than other .
Most pf the time best option is SignalR
What is SignalR ?
SignalR is series of abstractions around various methods of providing persistent Http Connections. Simply it makes real time communication without effort
Where ?
SignalR can be in
It is cross platform tool (totally open source) which capable of running with any platform.
SignalR is Client Server
To use SignalR you need to have Server (basically you can create serever with asp.net i'll add posts future)
And client application, (if you use javascript no need to have client nuget to consume SignalR) you can make any application by just adding SignalR nugets to your project.
Microsoft Asp.Net SignalR
Modern servers from Windows Server 2012 is support SignalR (Real time Communication perfectly )
There is life beyond Web Sockets
Lets meet with handons later :) enjoy
SignalR Coading
How its possible ?
There is few options that developer can looking at.
1. Running background thread
2. Use SignalR
1st option that I describe here is not the best option in most of the times. Running background thread all times is resource consuming and it always use pulling (grab the data from the remote). And there is security concerns as well. But believe me there is some applications which we need to use this and thread is worth than other .
Most pf the time best option is SignalR
What is SignalR ?
SignalR is series of abstractions around various methods of providing persistent Http Connections. Simply it makes real time communication without effort
Where ?
SignalR can be in
- Web application
- Desktop Applicaton
- App (windows /iOs/Android/berry )
It is cross platform tool (totally open source) which capable of running with any platform.
SignalR is Client Server
To use SignalR you need to have Server (basically you can create serever with asp.net i'll add posts future)
And client application, (if you use javascript no need to have client nuget to consume SignalR) you can make any application by just adding SignalR nugets to your project.
Microsoft Asp.Net SignalR
Modern servers from Windows Server 2012 is support SignalR (Real time Communication perfectly )
There is life beyond Web Sockets
Lets meet with handons later :) enjoy
SignalR Coading
0 comments:
Post a Comment