Getting Started with Adobe After Effects - Part 6: Motion Blur


Upload Image Close it
Select File

I am Jalpesh Vadgama a Microsoft MVP for Visual C# and BrainBench Certified ASP.NET Developer having more then 6 years of experience in .NET Technology.
Browse by Tags · View All
#ASP.NET 88
#DOTNET 87
BRH 79
ASP.NET 72
#.NET 52
C#.NET 48
DOTNET 44
ASP.NET 4.0 31
ASP.NET MVC 29
VisualStudio 27

Archive · View All
December 2010 16
July 2011 13
April 2011 13
April 2012 12
January 2011 12
June 2011 11
May 2011 11
May 2012 8
February 2013 7
January 2013 7

ASP.NET Web API Basics

May 24 2012 2:17PM by Jalpesh   

We have seen that now web is really becoming cross plate form and you can see your services or API can be exposed to any client. Till now one of big challenges is to choose platform for this kind of service. There are so many options available like web services, WCF services,Generic Handlers, directly writing responses on aspx page etc. There are plenty of options available and each one has their own pros and cons.  But now we have one simpler answer for that is ASP.NET Web API.

What is Web API?

ASP.NET Web API is a framework for building web API on the top of .NET framework. It’s a framework for building and consuming web services that can be use at broad range of clients like browsers,tablets phones etc. You can expose JSON or XML whatever you want to use.

Why to use Web API?

Think about a situation where a jQuery script that is making a ajax request and we need some thing who can expose data from the server to the client at that time WEB API can be very handy you can expose server data in XML or JSON form and you can make that call with simple http request. No lengthy code required to call WEB API.

It has following features which could be really useful and handy whenever we are creating service or API for our web application.

  • Modern HTML Programming Model:We can directly access and manipulate http web request with strongly type HTTP model. The same programming model is available on the any HTTP client.
  • Full Support for routes: Web API supports the full set of route capabilities that you have in ASP.NET MVC and ASP.NET Web forms 4.0.
  • Exception Handling : It has full support for exception handling and exception filters so you can handle error in much better way.
  • Authorization: It has various support for authorization. You just need to add [Authorise] on the controller and actions that is needed by it.
  • Custom Validation: Just like model validations we need to add validation attributes to model and our custom validation is ready.
  • Content Negotiation: The client and server can work together to determine the right format for data being returned from API. XML and JSON support are directly provided. You can extend this support by adding your own formatters.

How to install Web API:

If you are having Visual Studio 11 Beta installed on your machine then it will directly will be available as built in project template but If you are using Visual Studio 2010 then you need to install ASP.NET WEB API and ASP.NET 4.0 via web platform installer. You can get ASP.NET Web API installer from the following link.

http://www.asp.net/web-api

That’s it. Hope you like it. Stay tuned more updates.Till then Happy Programming!!.

Shout it

Tags: dotnet


Jalpesh
15 · 11% · 3478
3
 
0
Lifesaver
 
0
Refreshed
 
0
Learned
 
0
Incorrect



Submit

1  Comments  

  • Waiting for next post on this web api with example..thanks jalpesh for the article.

    commented on May 30 2012 10:27AM
    Ramireddy
    2 · 41% · 12972

Your Comment


Sign Up or Login to post a comment.

"ASP.NET Web API Basics" rated 5 out of 5 by 3 readers
ASP.NET Web API Basics , 5.0 out of 5 based on 3 ratings
    Copyright © Rivera Informatic Private Ltd Contact us      Privacy Policy      Terms of use      Report Abuse      Advertising      [ZULU1097]