Solved

WCF Service Scalability

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

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.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
how do i insert json value into database 10 42
w3wp.exe will not start 10 118
WCF Rest JSON Serialization 12 125
Excel create object is slow 43 66
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…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

808 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