• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 267
  • Last Modified:

Upgrading from Web Service to WCF


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.
1 Solution
käµfm³d 👽Commented:
Are you creating RESTful WCF service, or is it non-RESTful?

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


Real world example:

RBSAuthor Commented:

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.  


Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

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