I have a .net 2.0 winform application that I would like users to run from from a network share. Are there any disadvantages to doing this?
|
feedback
|
|
If the application was coded to use configuration files in the same directory, users will encounter problems. I'm sure you also don't want to give write permissions to the network share for users. Make sure the application can be configured to write user settings to their home directory if it saves any. .NET applications also don't allow you to use DLLs on networked or mapped drives. You can read how to fix this here. | |||||
feedback
|
|
There are a few gotcha's you have to watch out for running .NET applications from a network share. Specifically, .NET applications fun from a network share by default run at low trust, meaning they will not be granted to several system resources including file access, registry, etc. So if the application is not specifically designed to run at low trust, you will likely run into problems. According to Brad Adams at Microsoft, there are no security concerns running applications like this and there is a nice tutorial from a Microsoft blog on how to work around this low-trust issue. Once that is fixed, your application should run just like any other .NET app. | |||
|
feedback
|