Here is an example showing how to create a wcf service
http://www.c-sharpcorner.com/uploadfile/prathore/creating-and-consuming-a-wcf-service/[
^]
To host the service on local development machine you have to open properties window of the WCF service application and then selecting the Web tab
select the radio button Use IIS Server and create virtual directory by clicking on the button adjacent to it.
Now to host this service
Win + R and type inetmgr
this opens administrative tool (The machine Should have admin rights)
Now follow the path given below :
IIS --> Machine Name --> Websites --> Default Web Sites -- > Select the application which appears over here . Right click on it Properties -- Directory Security -- Edit -- Check the box Integrate Windows
Your Web Site is Hosted on ur Local Machine :)