Solved

WCF Service Scalability

Posted on 2011-03-03
2
460 Views
Last Modified: 2013-01-12
Hi,
I have just started to look at WCF for use in a new project I am working on. I have managed to build a simple WCF Service and host on my PC but now I want to address a couple of other issues.
Accessing from another computer
How do I make my service which will be hosted on WS 2003 available to other computers?
Can I scale the solution?
Rather than having 1 instance of the service running on a server can I have multiple instances running on many servers but with the client application addressing just a single address for eth service.
Is using a WCF Service best for this or can IIS 7.0 , WS 2008 offer a better solution  ?
I am looking or some detailed information that will enable me to take my simple WCF service and implement multiple load balanced instances of it but with the client application unaware of multiple instances.
Thanks in advance for nay help
Steve
0
Comment
Question by:prices1964
2 Comments
 
LVL 51

Accepted Solution

by:
Ted Bouskill earned 500 total points
ID: 35031893
The only issue is to make sure you use DNS alias names for the namespace and URL because then standard TCP/IP strategies can be used to create a virtual IP for hardware and/or software load balancing.

Remember, the web service namespace doesn't have to match the URL the web service is located (a common mistake made by web developers)  In fact, that is why MS uses the default http://tempuri.org/ as a placeholder.

Also, if you avoid using web service references in your code and instead generate an proxy class using WSDL you can change the location of the URL of the web service for testing by hosting the web service in development, QA and production.

Otherwise, the URL is bound into the web project and it's easy to accidently create an application that is pointing to the wrong URL for consuming the web service.
0
 

Author Comment

by:prices1964
ID: 38770438
I've requested that this question be deleted for the following reason:

n/a
0

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Display a WSDL file for a WCF web service 11 91
VB.net and soap 14 127
Hybrid Logging in WCF application in file system as well as in database 8 72
Wpf develop 5 59
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…
Here I am going to explain creating proxies at runtime for WCF Service. So basically we use to generate proxies using Add Service Reference and then giving the Url of the WCF service then generate proxy files at client side. Ok, what if something ge…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

770 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