Skip to content

rajasekhard2015/wcf_rest_service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Convert WCF Service to RESTFUL Service

To convert WCF to RESTFUL service, an operation contract needs to be decorated with “WebInvoke (or) WebGet” to define the Request and Response format.

This WebInvoke attribute resides inside the “System.ServiceModel.Web” namespace is used to define the below parameters at the end point to convert it to RESTFUL Service.

  1. Service Method to Invoke (POST/GET/PUT/DELETE)

  2. URI template to invoke using friendly URL

  3. Request and Response Format

To start with create a new “WCF Service Application” and follow the below steps to modify the WCF end point to JSON RESTFUL Service.

test urls from browser,

==>getbyid

==>getall

About

Convert WCF Service to RESTFUL Service

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy