Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 403
  • Last Modified:

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.
0
chuang4630
Asked:
chuang4630
  • 2
1 Solution
 
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:
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
 
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.

Join & Write a Comment

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now