Techaray

Shailendra Saxena's Technical Blog

What is ASP.NET SignalR

clock May 27, 2013 09:48 by author ShailendraSaxena

ASP.NET SignalR is a new library for ASP.NET developers that makes it incredibly simple to add real-time web functionality to your applications. What is "real-time web" functionality? It's the ability to have your server-side code push content to the connected clients as it happens, in real-time.

You may have heard of WebSockets, a new HTML5 API that enables bi-directional communication between the browser and server. SignalR will use WebSockets under the covers when it's available, and gracefully fallback to other techniques and technologies when it isn't, while your application code stays the same.

SignalR also provides a very simple, high-level API for doing server to client RPC (call JavaScript functions in your clients' browsers from server-side .NET code) in your ASP.NET application, as well as adding useful hooks for connection management, e.g. connect/disconnect events, grouping connections, authorization.



WEB API

clock May 27, 2013 09:22 by author ShailendraSaxena

 

1.       Supports HTTP Only

 

2.       Web API is open source an ideal platform for building REST-ful services over the .NET Framework.

 

3.       Enables building Web APIs that support wide variety of media types including XML, JSON etc.

 

4.       Uses basic protocol and formats such as HTTP, WebSockets, SSL, JQuery, JSON, and XML. There is no support for higher level protocols such as Reliable Messaging or Transactions.

 

5.       HTTP is request/response but additional patterns can be supported through SignalR and WebSockets integration.

 

6.       It also supports the MVC features such as routing, controllers, action results, filter, model binders, IOC container or dependency injection, unit testing that makes it more simple and robust.

 

7.       It is light weight architecture and good for devices which have limited bandwidth like browsers, mobiles, smart phones and tablets.

 



Search

Calendar

<<  August 2017  >>
SuMoTuWeThFrSa
303112345
6789101112
13141516171819
20212223242526
272829303112
3456789

Archive

Tags

Categories


Visitors

FlagCounter

Flag Counter

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

© Copyright 2017

Sign In