Signal R

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 5

SignalR

Introduction
SignalR is a server-side software System designed for
writing scalable Internet applications, notably web servers.
Programs are written on the server side in a .NET language, using
event-Driven, asynchronous I/O, to minimize overhead and
maximize scalability.
Description
ASP.NET SignalR is a library for ASP.NET developers
that simplifies the process of adding real-time web functionality to
applications. Real-time web functionality is the ability to have
server code push content to connected clients instantly as it
becomes available, rather than having the server wait for a client
to request new data.
SignalR can be used to add any sort of "real-time" web
functionality to your ASP.NET application. While chat is often used
as an example, you can do a whole lot more. Any time a user
refreshes a web page to see new data, or the page
implements long polling to retrieve new data, it is a candidate for
using SignalR. Examples include dashboards and monitoring
applications, collaborative applications (such as simultaneous
editing of documents), job progress updates, and real-time forms.
SignalR also enables completely new types of web applications
that require high frequency updates from the server, for example,
real-time gaming. For a great example of this, see the ShootR
Game .
SignalR handles connection management automatically, and lets
you broadcast messages to all connected clients simultaneously,

like a chat room. You can also send messages to specific clients.
The connection between the client and server is persistent, unlike
a classic HTTP connection, which is re-established for each
communication.
SignalR provides a simple API for creating server-to-client remote
procedure calls (RPC) that call JavaScript functions in client
browsers (and other client platforms) from server-side .NET code.
SignalR also includes API for connection management (for
instance, connect and disconnect events), and grouping
connections.
SignalR supports "server push" functionality, in which server
code can call out to client code in the browser using Remote
Procedure Calls (RPC), rather than the request-response model
common on the web today.
SignalR applications can scale out to thousands of clients using
Service Bus, SQL Server.

MCQs
1. SignalR is a ------------- Software System.
a. Client Side.
b. Server Side.
c. Environment Side.
d. Any Other.
2. SignalR is a library of---------------

a. ASP.NET.
b. ASP.SET.
c. ADO.NET.
d. ADO.SET.
3. To Add Real-Time Web functionality in our applications
we use
a.
b.
c.
d.

SEO.
nLOG.
SignalR.
Web Applications.

4. SignalR uses the Web Sockets


a. True.
b. False.
5. SignalR handles -------------management automatically.
a. Disconnection.
b. Connection.
c. Auto.
d. Exit.
6. The Connection between the Client and Server is--------a. Constant.
b. Consistence.
c. Persistent.
d. Nothing.
7. SignalR Supports ------------- Functionality.
a. Client Push.
b. Server Push.
c. Server-Client Push.
d. Server Pull.

8. SignalR provides simple API for creating ----------------Remote


procedures call (rpc).

a.
b.
c.
d.

Server to Server.
Client to Client.
Server to Client.
Client to Server.

9. SignalR also includes API for Connection management


and------------a. Chat.
b. Grouping connections.
c. Grouping.
d. Signaling.
10. Program written on server side in a ------------------language.
a. Java.
b. C++.
c. C#.
d. .NET.
11. Examples of SignalR is----------a. Dashboard and Monitering applications.
b. Job progress updates.
c. Real-time applications.
d. All.

12. SignalR take advantage of WebSocket API and provide


------------communication between browser and server.
a.
b.
c.
d.

Uni-directional.
Bi-directional.
Single-directional.
Statement not clear.

13. SignalR use in Real time gamming example is---------a. ShootR game.
b. GTA vice City.
c. Candy Crush.
d. Snake.

You might also like