c# - Slow user authentication using TeamFoundationServerFactory -


I am writing a time registration web project where users can write time related to TFS work items. This includes finding work item IDs and displaying information about work items in the web, e.g. description.

This project is working properly, but when the user is accessing TFS for the first time, I am receiving a complaint about the website being slow.

The user credentials I am using to send the Kerberos to TFS server by using the following code:

  TeamFoundationServerFactory.GetServer (url); _tfs.EnsureAuthenticated (); // Only when necessary is necessary  

It takes about 10 seconds for the first time, but after that it's working fine, is there anything that I can customize it Can i In fact, for the first time when you open TFS, the development machine.


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -