Solved

WCF Service Scalability

Posted on 2011-03-03
2
436 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:
tedbilly earned 500 total points
Comment Utility
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
Comment Utility
I've requested that this question be deleted for the following reason:

n/a
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

This tutorial will show you how to add an attribute to an XML (http://en.wikipedia.org/wiki/XML) stream returned from a Windows Communication Foundation (http://en.wikipedia.org/wiki/Windows_Communication_Foundation) (WCF) Web Service.  Some knowled…
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…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

743 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

18 Experts available now in Live!

Get 1:1 Help Now