473,320 Members | 1,766 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Run from Server or Workstation

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
Jan 27 '06 #1
2 1191
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.

"Rob" <rw*****@comcast.net> wrote in message
news:9K********************@comcast.com...
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

Jan 27 '06 #2
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]

"Marina Levit [MVP]" <so*****@nospam.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
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.

"Rob" <rw*****@comcast.net> wrote in message
news:9K********************@comcast.com...
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


Jan 29 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

12
by: Rich | last post by:
Hello, I would like to turn on/invoke a VB6 app which resides on the server/folder where IIS is running from an ASP page. As for security, this would be all happening within an intranet with...
10
by: ThunderMusic | last post by:
Hi, How can I get if the Windows running is a server version? Is there a property somewhere that can tell me if the Windows version is a server edition (including server, advanced server, web...
10
by: Zeng | last post by:
I just realized that there are 2 modes for garbage collection modes: server gs and workstation gs. Would someone know how I can go about changing the mode for my web application written in C#? I...
10
by: Roy | last post by:
Judging from the sheer number of posts on this topic, I'm sensing this is a fairly common problem. Only problem is, I've tried just about every recommendation in all the posts I've found thus far...
1
by: lecnac | last post by:
Here's some details: Server and workstation both in the same workgroup Logged into server as local Administrator Logged into workstation as a local user that is only in the Users group The...
1
by: lecnac | last post by:
Sorry for the repost. I must have done something wrong when I tried to post my reply (I can't seem to find it). Anyway, I'd really appreciate any help that anyone could provide. My issue is...
1
by: kito | last post by:
Hi, I have a problem, when I want to access to my SQL Server Express database from my ASP.NET application. My workstation ID is KITOLAP-HP My username is user01 Now I built the following...
1
by: gnusmsa | last post by:
ASP.NET 2.0 (C#) application Using Windows authentication and impersonation Windows Server 2003 (IIS6) Server is a member server on a domain Logged into server as a domain user that is in the...
5
by: lmttag | last post by:
ASP.NET 2.0 (C#) application Intranet application (not on the Internet) Using Windows authentication and impersonation Windows Server 2003 (IIS6) Server is a member server on a domain Logged...
0
by: 85ssp | last post by:
I am creating a small server client program that is meant for up to 70 connections from 70 different computers on a network. Everything in the program functions correctly except when testing...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.