Host WCF Service locally

I am trying to host the WCF service locally on my PC. Here is what happened:

1. Create a new website in IIS and point to the Host project in my solution: MyClient.Services.ServiceHost
You can see the .svc files.
It works fine.

2. Copy the deployed WCF from company network to my PC. Create a new website, point the physical location to where this WCF service is installed. You can see the .svc files in this folder. It does not work.

The question is:

How do I setup the WCF locally and correctly?

Thanks a lot in advance.
LVL 1
chuang4630Asked:
Who is Participating?
 
chuang4630Author Commented:
I created a new site, and a new entry in the AppPool.
If I have to create a new application, shall that be under default site of new site  created?
Actually, I tried both, it did not work
0
 
käµfm³d 👽Commented:
Create a new website...
I assume by this you mean you created a new entry in IIS. Did you create a site, or an application under IIS (it needs to be the latter)?
0
 
chuang4630Author Commented:
My answer is correct
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.