I was wondering if, using CSLA, I could have a setup in which there is one ASP.NET web application and multiple application servers with possibility of load balancing between them.
Yes, you can.
Just make sure to not keep any state on the webserver and users can hit any of them in a load balanced environment.
Thanks for the reply. I believe there is a misunderstanding.
What I need to setup is a single web server (one ASP.NET application running on it) with multiple (load-balanced) application servers.
Jonny's answer still applies in most cases. A typical application server is accessed via WCF using http or tcp. Of course http uses tcp - so in almost every case the application server is accessed via tcp.
So put a TCP load balancing appliance between the web server and the application server cluster and it just works.
Thanks Rocky. Let me see if I understand correctly. I put a load-balancer in front of my app servers and configure my web application to connect to that which will redirect the requests to one of the available app servers.
Right.
Hi
I came across this while searching for how to have one user interface that offer interaction with multiple business applications hosted on different servers.
i.e. say you have a help desk and an order management system (both build using CSLA) and hosted on different servers but want to have one user interface for both without combining the two (or more) application into one application server.
In the project tracker, the service is located by the configuration settings - which doesn't seem to give you an option to have an application interfaec of the above nature.
Is this possible?
There's a lot of detail in the 'Using CSLA 4: Data Portal Configuration' book.
You can set the server URL via config file, or in code by setting Csla.ApplicationContext.DataPortalUrlString
Thanks, I will hv a look at the book
Copyright (c) Marimer LLC