Solved

Host WCF Service locally

Posted on 2013-06-12
3
368 Views
Last Modified: 2013-10-16
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
Comment
Question by:chuang4630
  • 2
3 Comments
 
LVL 74

Expert Comment

by:käµfm³d 👽
ID: 39243033
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
 
LVL 1

Accepted Solution

by:
chuang4630 earned 0 total points
ID: 39462121
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
 
LVL 1

Author Closing Comment

by:chuang4630
ID: 39576172
My answer is correct
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Suggested Solutions

In previous Articles, we have discussed how we can upload a file using .asmx web service and isolated storage space. Here, in continuation to the topic, I am going to discuss how we can use WCF for the same purpose. Steps: 1.Create the silverli…
First of all, clustering IIS is something you should rarely consider doing. In almost all cases, Microsoft Network Load Balancing (NLB) (http://technet.microsoft.com/en-us/library/cc758834(WS.10).aspx) is a much better solution when you need to p…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now