Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: .NET3.5 WCF VS2010 .NET4 , +
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 30-Apr-12 10:55am
Dan_YYC229
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

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)
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

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 Smile | :)
  Permalink  

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

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 335
1 OriginalGriff 250
2 DamithSL 170
3 Kornfeld Eliyahu Peter 130
4 Peter Leow 95
0 OriginalGriff 7,315
1 DamithSL 5,199
2 Sergey Alexandrovich Kryukov 4,917
3 Maciej Los 4,866
4 Kornfeld Eliyahu Peter 4,514


Advertise | Privacy | Mobile
Web02 | 2.8.141223.1 | Last Updated 8 May 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100