Programming .NET Applications for Citrix / Terminal Server: Compliance and Errors

We lost a little here. We need to make our application available on a network with 80+ Citrix servers. Although our application works at 100% and .NET works, we experienced some (strange for us) behavior:

  • You cannot use the Documents and Settings folders to store data or settings. Apparently, these folders are virtualized and located in several places.
  • Checking for a file (i.e., in its own program files folder) does not work. Probably for the same reason.

  • Why does the file system behave like this?
  • How do you need to store your data in order for the application to work on Citrix?
  • Are there any other pitfalls or things you need to know about?
+7
terminal virtualization citrix terminal-services
source share
2 answers

The Citrix environment for practical purposes is the same as in the Remote Desktop Services environment (used for Terminal Services).

Microsoft has published Remote Desktop Services Programming Guide on MSDN, which is a good starting point to understand what you need to think about.

Microsoft UK Application Development Consulting has a guide to Developing .NET Applications for Deployment in Terminal Services or Citrix , which is more focused on performance.

You can get free development licenses for Citrix for 12 months , which can be useful for testing.

We did some deployment on Citrix, and what caught us was to be Citrix admins who allowed their users. They sometimes broke the main parts of Windows, and in this case, the only thing you can do is log lots :)

Good luck

+12
source share

It looks like you are not using System.Environment.GetFolderPath(...) , which is the right way to go to user profile directories. This is the approach that I have used in the past with success in Citrix environments.

+3
source share

All Articles