proxy performance issues

546
0
10-24-2012 12:00 PM
JatinPatel
Occasional Contributor
I am currently using windows auth for feature layers. I have alwaysuserproxy to be set to true and have added the following code to the proxy.ashx page template to automate wa:
req.UseDefaultCredentials = true;
req.ImpersonationLevel = System.Security.Principal.TokenImpersonationLevel.Delegation;
req.PreAuthenticate = true;
req.KeepAlive = true;
req.AuthenticationLevel = AuthenticationLevel.MutualAuthRequested | AuthenticationLevel.MutualAuthRequired;


It seems time taken to load the services is far more than what it took when there was no wa and no proxy. i.e. almost 4-5 times more. Is that normal?

Note: proxy, webservice, and feature layer services are all on the same server.

Thanks
0 Kudos
0 Replies