Click here to Skip to main content
15,891,864 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hello community.

I am looking for an article which would clearly explain how I can create a WCF project to replace an older .Net2.0 Web Service project. I have been looking around but cant seem to find anything that clearly out lines how to create a project which is an IIS hosted service and run successfully on my local development machine.

If anyone knows of an article I can follow, I would greatly appreciate they help.

Thanks
D
Posted

you may find this useful

WCF (Windows Communication Foundation) Example[^]

Also, I have one article currently in draft status which will be done in a couple of weeks. once it is done I will pass on the link to you for sure.(I will put it here)
 
Share this answer
 
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 :)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900