locked
What is Web Service and Web Api RRS feed

  • Question

  • Hi Good day to all developer here.
    I'am in new in web developing our company need to upgrade in web. I choose to use the ASP.net MVC. I'am just asking is what is Web Service and Web API?
    How the 2 are wroking in WEB? and When and Where to use the 2? 
    All reply and exmaple are really much appreciated. thank you in advance
    • Moved by CoolDadTx Friday, January 13, 2017 2:46 PM ASP.NET related
    Friday, January 13, 2017 2:14 AM

Answers

  • Hello TinVin727,

    Depending on who you talk to, you will probably get different answers as these are loaded terms depending someone's background and opinion.  

    Web Service - Out of Webopedia,  MSDN and Wikipedia, I would say Wikipedia has the closest definition to how I think of web services:

    "... a method of communication between two electronic devices over a network."

    Web API is a Microsoft framework for creating web services.

    Take a look at this post: http://stackoverflow.com/questions/19336347/what-is-the-difference-between-a-web-api-and-a-web-service

    Note that an API is different from Web API.  This is also described in the post above.


    Cheers, Jeff

    • Marked as answer by TinVin727 Tuesday, January 17, 2017 12:07 AM
    Friday, January 13, 2017 3:43 AM

All replies

  • Hello TinVin727,

    Depending on who you talk to, you will probably get different answers as these are loaded terms depending someone's background and opinion.  

    Web Service - Out of Webopedia,  MSDN and Wikipedia, I would say Wikipedia has the closest definition to how I think of web services:

    "... a method of communication between two electronic devices over a network."

    Web API is a Microsoft framework for creating web services.

    Take a look at this post: http://stackoverflow.com/questions/19336347/what-is-the-difference-between-a-web-api-and-a-web-service

    Note that an API is different from Web API.  This is also described in the post above.


    Cheers, Jeff

    • Marked as answer by TinVin727 Tuesday, January 17, 2017 12:07 AM
    Friday, January 13, 2017 3:43 AM
  • Hi TinVin,

    This is Visual C# forum. As your issue is related to Web, please ask your question into ASP.Net forum for getting quick response.

    https://forums.asp.net/

    Your understanding and cooperation will be grateful.

    Thanks,
    Sabah Shariq

    [If a post helps to resolve your issue, please click the "Mark as Answer" of that post or click Answered "Vote as helpful" button of that post. By marking a post as Answered or Helpful, you help others find the answer faster. ]

    Friday, January 13, 2017 9:32 AM