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

    What is difference between WCF vs WEB API

    My question is:
    What is difference between wcf and webapi
    when to use wcf and when to use webapi
    which one is best
    which one controls traffic best
    which one is best for security reason
  • #763612
    hello man check the TUTorial may help U Better understand both


    Delete Attachment

  • #763613
    it is not working version error

  • #763614
    check this one it should help you


    Delete Attachment

  • #763615
    it should definitly work man


    Delete Attachment

  • #763617

    If you search the same in Google you may get best links for the same. This is the one of the best link for the same ""

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

    Blog :

  • #763619
    WEB API is the specialist for Restful web service.

    WCF is used for multiple purpose (Act as webservices, Remoting , messaging etc..)

    According to your requirement you can select it.
    If you are doing single web service for 1 or 2 Web application. No need for any functionalities ( Remoting , messaging ), You can go for WEBAPI.

    If multiple type or kind of application pointing same service. You can go for WCF.

    By Nathan
    Direction is important than speed

  • #763631
    check this out man


    Delete Attachment

  • #763632
    definitly work


    Delete Attachment

  • #763673
    Below are the answers for your questions:
    1. What is difference between wcf and webapi?
    A. WebAPi is HTTP based while the WCF is supported by many technologies like asmx, web service etc.
    2. When to use wcf and when to use webapi?
    A. When we need to use the maximum HTTP features, we can go with Web API and we need to work with multiple protocols, we have to go with the WCF.
    3. Which one is best?
    A. Its all depends on the requirements. Web API is HTTP based so light weight but lacking in security, WCF is heavy but support many things.
    4. Which one controls traffic best?
    A. When we need to work with the Web Technologies, Mobile support etc, we have to go with the Web API.
    5. Which one is best for security reason?
    A. WCF is better for Security concerns as it comes with the Transport level as well as message level security.
    Hope it will be helpful to you.

    Pawan Awasthi(DNS MVM)
    +91 8123489140 (whatsApp), +60 14365 1476(Malaysia)

  • Sign In to post your comments