"Matthias Heuer" <ma************@web.de> wrote:
Hi, we try to deploy a quite heavyweight .NET (C#) Rich Client App (2 Tier)
via IIS Server Zero Touch, but it requires about 4-6 times more Processor
Time and is thus 3-4 times slower than if started locally.
We have already set up Dummy Resource Files and we can see from the Web
Server Log that no Web Server Access happens anymore.
What is it that eats up Performance and how can we switch this off? It is
especially blatant when just moving the Mouse across the Application, which
creates a 50% Processor Load on a 1.6 GHz Notebook.
Thanks in Advance!
Haven't got a clue -
But if it was me I'd start the .NET framework Configuration
Tool or Caspol and compare the effective Code groups and
Permissions on the local version and the zero touch version.
In the worst case the local version is running "full trust"
while the zero touch version is not. If you have a large
number of assemblies that delegate through one another quite
deeply the resulting (deep) stack will be "walked" quite a
lot when you call framework functionality (like polling the
current mouse position).
If that is the case, the simplest solution is to alter the
security policy to grant the zero touch version "full trust"
- just make sure you select some fairly stringent membership
conditions - otherwise the cat may drag something in.