You must Sign In to post a response.
  • Category: .NET

    What are Web application programming interface?

    In some Job requirements I am seeing this word Web application programming interface what exactly a Web application programming interface is Web client, http request are called as Web Web application programming interface invoking url through this and getting result after their execution is called a Web Web application programming interface. Knowledgeable members please respond to the question.
  • #766907
    Hi Sriram,

    what you thought is exactly correct, Web API, we called as Web Application Programming Interface.

    --------------------------------------------------------------------------------
    Give respect to your work, Instead of trying to impress your boss.

    N@veen
    Blog : http://naveens-dotnet.blogspot.in/

  • #766914
    web application programming interface is now easily identified with the name of WEB API, it is used to building HTTP services that can be consumed by a broad range of clients including browsers, mobiles, iphone and tablets
    here are some features of it
    1. it works with HTTP verbs GET,POST,PUT and DELETE.
    2. Responses have an Accept header and HTTP status code
    3. Return response can be format to format JSON, XML or whatever format you want to add as a MediaTypeFormatter.
    4. Accept and process contents like images, PDF files
    5. supports the MVC features such as routing, controllers, action results, filter, model binders, IOC container

    Thanks
    Koolprasd2003
    Editor, DotNetSpider MVM
    Microsoft MVP 2014 [ASP.NET/IIS]

  • #766918
    Hi,
    Web API is an application programming interface (API) for either a web server or a web browser. It is a web development concept, usually limited to a web application's client-side, and thus usually does not include web server or browser implementation details such as SAPIs or web browser engine APIs unless publicly accessible by a remote web application.

    Please find more details through wikipedia for Web-API.

  • #766931
    Can we say Webclient and Httprequest class are WebAPI then What is WebAPI2?
    SRI RAMA PHANI BHUSHAN KAMBHAMPATI

  • #766934
    WEB API is the short form of "Web application programming interface". It is almost like webservice. It will mainly constructed for "REST" calls. In our application if we are often using some methods we can keep that methods in the WEB API. We can consume that business logics in our application. You can access the WEP APl using simple HTTP calls. Following are the sample code to access the web API from the Client

    using (var Myclient = new HttpClient())
    {
    Myclient.BaseAddress = new Uri("http://localhost/AppName/");
    Myclient.DefaultRequestHeaders.Accept.Clear();
    Myclient.DefaultRequestHeaders.Accept.Add(new MediaTypeWithQualityHeaderValue("application/json"));
    HttpResponseMessage Myresponse = await client.GetAsync("webapi/Items");
    if (Myresponse.IsSuccessStatusCode)
    {
    Item MyItem = await response.Content.ReadAsAsync>Item>();
    Console.WriteLine(MyItem.Name);
    }
    }

    By Nathan
    Direction is important than speed

  • #766942
    WebApi 2 is a next version or build released by Microsoft.
    It introduces lots of new features than previous WebApi like Open Web Interface for .NET
    CORS - Cross Origin Resource Sharing etc.
    You can find its details over here:
    http://www.strathweb.com/2013/10/asp-net-web-api-2-is-out-overview-of-features/


  • Sign In to post your comments