ASP. NET Web API Tutorial 02: CRUD Operations

http://www.asp.net/web-api/overview/creating-web-apis/creating-a-web-api-that-supports-crud-operations[Excerpt]This tutorial shows how to support CRUD operations in an HTTP service using ASP.NET Web API.CRUD stands for "Create, Read, Update, and Delete," which are the four basic

C# (936.4 KB)
 
 
 
 
 
4.7 Star
(13)
54,425 times
Add to favorites
9/14/2012
E-mail Twitter del.icio.us Digg Facebook
Sign in to ask a question


  • Add
    1 Posts | Last post August 21, 2013
    • hi, i am trying to add new data of items using fiddler, but its giving me an error of argumentnullexception. please help me how to resolve it.
      the error line is:
      item.Id = _nextId++;
      value can not be null.parameter name=item
      
      thanks in advance.
  • Add
    1 Posts | Last post August 21, 2013
    • hi, i am trying to add new data of items using fiddler, but its giving me an error of argumentnullexception. please help me how to resolve it.
      the error line is:
      item.Id = _nextId++;
      value can not be null.parameter name=item
      
      thanks in advance.
  • Add, Update, Delete
    1 Posts | Last post June 26, 2013
    • How could I Add a new product in the web browser? 
      i mean by http://hostname/api/products, i'm able to see the products.
      now i want to debug the code for adding a new product.
      is it possible to debug the 'add' part by this code?
      
      
  • Undefined Methods
    2 Posts | Last post June 20, 2012
    • Url.Link(
      Link gets underlined in red and error reads that System.Web.Http.Routing.UrlHelper does not contain a definition for Link
      
      Request.CreateResponse<Product>(HttpStatusCode.Created, item);
      Says it contains no such definition. Only one overload with HttpStatusCode
    • Do you have the RC version of MVC 4 installed?