Solved

WCF Service Scalability

Posted on 2011-03-03
2
450 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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Windows Entity Framework WCF and WPF 1 48
Best way to do logging in WCF application 10 255
entity framework No LOCK 2 876
AJAX call to web service 4 89
While working on Silverlight and WCF application, I faced one issue where fault exception occurred at WCF operation contract is not getting propagated to Silverlight client. So after searching net I came to know that it was behavior by default for s…
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…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), 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…

911 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

16 Experts available now in Live!

Get 1:1 Help Now