Hello world Restful service in WCF – Easy WCF
Skip to content

Hello world Restful service in WCF

In this article we will create a simple Hello world Restful service.

Visual studio –>File–>New–>project–>WCF–>WCF Service Application and rename it to BasicRestService
Delete all default code from service1.svc.cs and also from contract

Code for iService1.cs:

Code for Service1.svc.cs

Code for Service1.svc–>View markup

Comment this line from config file

Run the application to see output.

© 2015, admin. All rights reserved.

One thought on “Hello world Restful service in WCF

  1. Pingback: Five steps to create a WCF Rest service | Easy WCF

Leave a Reply

Your email address will not be published. Required fields are marked *