Solved

Host WCF Service locally

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

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
HTTP Error 403.14 - Forbidden 5 56
Allow Local User to Log On FTP 8 56
Sweet32 Vulnerability in Microsoft IIS7.5 6 380
Output Caching in IIS 2 30
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…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

809 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