locked
WCF RestFul Servivces Need Clarification...... RRS feed

  • Question

  • User-1875449188 posted

    Hi ,

    In What scenerio we consider to use WCF RestFul Services ?

    In What scenerio we consider to Design WCF RestFul Services ?

    If i have  WCF service with currently WshttpBinding ,can we simultaneously  also provide RestFul Services, if yes , what type client should be there so that we should consider to add RestFul Services in my already runing WCF ?

    Friday, June 13, 2014 2:20 AM

Answers

  • User-417640953 posted

    Hi Rajesh,

    Thank you post the issue to our forum.

    In What scenerio we consider to use WCF RestFul Services ?

    In What scenerio we consider to Design WCF RestFul Services ?

    WCF rest service is a web http programming model, which provides the basic elements required to build WEB HTTP services with WCF.

    WCF web http services are designed to be accessed by the widest range of possible clients, including Web browsers and have the following unique requirements:

    # URIs and URI Processing, URIs play a central role in the design of WEB HTTP services.

    # Support for GET and POST operations, WEB HTTP services make use of the GET verb for data retrieval, in addition to

       various invoke verbs for data modification and remote invocation.

    # Multiple data formats, Web-style services process many kinds of data in addition to SOAP messages.

    More information about it, please check below.

    http://msdn.microsoft.com/en-us/library/vstudio/bb412172(v=vs.100).aspx

    http://msdn.microsoft.com/en-us/magazine/dd315413.aspx#id0070023

    If i have  WCF service with currently WshttpBinding ,can we simultaneously  also provide RestFul Services, if yes , what type client should be there so that we should consider to add RestFul Services in my already runing WCF ?

    The rest service using WebHttpBinding and WebHttpBehavior, not using the WshttpBinding.

    Hope that helps, thanks.

    Best Regards!

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, June 16, 2014 6:05 AM

All replies

  • User-417640953 posted

    Hi Rajesh,

    Thank you post the issue to our forum.

    In What scenerio we consider to use WCF RestFul Services ?

    In What scenerio we consider to Design WCF RestFul Services ?

    WCF rest service is a web http programming model, which provides the basic elements required to build WEB HTTP services with WCF.

    WCF web http services are designed to be accessed by the widest range of possible clients, including Web browsers and have the following unique requirements:

    # URIs and URI Processing, URIs play a central role in the design of WEB HTTP services.

    # Support for GET and POST operations, WEB HTTP services make use of the GET verb for data retrieval, in addition to

       various invoke verbs for data modification and remote invocation.

    # Multiple data formats, Web-style services process many kinds of data in addition to SOAP messages.

    More information about it, please check below.

    http://msdn.microsoft.com/en-us/library/vstudio/bb412172(v=vs.100).aspx

    http://msdn.microsoft.com/en-us/magazine/dd315413.aspx#id0070023

    If i have  WCF service with currently WshttpBinding ,can we simultaneously  also provide RestFul Services, if yes , what type client should be there so that we should consider to add RestFul Services in my already runing WCF ?

    The rest service using WebHttpBinding and WebHttpBehavior, not using the WshttpBinding.

    Hope that helps, thanks.

    Best Regards!

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, June 16, 2014 6:05 AM
  • User-1875449188 posted

    Hi Fuxiang,

    Thanks for suggesting the answer. It will help me learn the Rest services.

    Thank You,

    Rajesh

    Monday, June 16, 2014 7:54 AM