Run from Server or Workstation

  • Thread starter Thread starter Rob
  • Start date Start date
R

Rob

What are some pros and cons associated with running a vb.net app from a
server and from a workstation ?

When run from the server, I assume that each instance that is executed is
"its own instance" i.e., variables are not shared ? Also, when run from
the server, how could you ensure that the same workstation does not have
more than 1 instance of the program running ?

Thanks
 
Do you mean if it's just on a network share? That is what I assume you mean
here.

Pros:

Don't have to deploy new version of application to every user

Cons:

User can't run the app when server is offline or user is disconnected from
the server
There may be security restrictions imposed on the application by the .net
runtime because it is being run from a network share

And yes, each instance of the application would be separate, in its own
appdomain, it's own variables, etc. You would have to ensure that a user
doesn't run the same program twice from the share the same way you would
that they dont' run it twice on their local PC.
 
You might also consider a Distributed aproach

thus :

1 server component running on one computer
2 client programs all connecting to this one server component


You lighten the load on the clients ( they may even be written as thin
clients )
you can share information between the clients and server verry easy
etc etc

regards

Michel Posseth [MCP]
 
Back
Top