Solved

Host WCF Service locally

Posted on 2013-06-12
3
369 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 75

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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Logparser is the smartest tool I have ever used in parsing IIS log files and there are many interesting things I wanted to share with everyone one of the  real-world  scenario from my current project. Let's get started with  scenario - How do w…
Running classic asp applications under Windows Server 2008 R2 (x64) and IIS 7 is not as easy as one may think. It took me a while to figure it out while getting error 8002801d a few times. After you install the OS you will need to install the fol…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

863 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

25 Experts available now in Live!

Get 1:1 Help Now