Upgrading from Web Service to WCF

Posted on 2012-08-26
Last Modified: 2012-09-11

I've been trying to upgrade an application that I have that calls a Web Service (created inside the solution) using javascript to one that calls a Windows Communication Foundation Service instead.  

I've been following along on the Microsoft instructions and am able to create a service and host it with a console application on my local host.  However, I'm at my wits end trying to create a service on  my web site which is in a shared hosting environment.  

All of Microsoft's examples use Console applications and I've been going round in circles - and am fairly sure that trying to change the service endpoints to on the console applications and then upload them is not the way to go.  

So I guess my question is - can anyone help me with a link to a tutorial that takes a real world situation (vs console apps that you host on your local machine) or help me with the steps that I would need to go through to create a Windows Communication Foundation service on my local machine and then publish that to a Server on the web where I could call that service.

I am so tired on demos and Console Application demos.  Any help getting me towards a real world understanding would be greatly appreciated.
Question by:RBS
    LVL 74

    Expert Comment

    by:käµfm³d 👽
    Are you creating RESTful WCF service, or is it non-RESTful?
    LVL 9

    Accepted Solution

    Hi RBS,

    You should read about hosting WCF in IIS which involve setting up the web.config:

    Real world example:

    Author Comment


    Thanks for your posts.  I have a fairly mature (read old) application and converting it to RESTFul would be a bit of a challenge.  My site is on a shared server and so I was intrigued to see that I could have my account posted on a shared IIS - will look into that.  


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Find Ransomware Secrets With All-Source Analysis

    Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

    For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK ( for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
    More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
    Internet Business Fax to Email Made Easy - With eFax Corporate (, 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…
    Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

    779 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

    12 Experts available now in Live!

    Get 1:1 Help Now