Nic,

Regarding the TFSProxy server, there are two ways to control this in code. One is a registry setting, and there is also an environment variable that you can set in the local process if you didn't want the setting machine wide. I think the environment variable name is "TFSPROXY" but if you Google for "Martin Woodward TFSProxy environment variable" you should find a blog post about it. (I've not got proper internet access at the moment or I would find it myself)

Regarding WIT memory usage, are you connecting to a server with a lot of team projects? The WIT stuff works by downloading a large ammount of meta-data to support the client side rules etc and holds this in memory.

In normal API usage (when connecting from individual users machines) this meta-data is downloaded and stored per user - however if you are writing a server system used by many users (like Team System Web Access does) then there is a way to get it to share the meta-data cache between users. Give me a shout if you need information about that and I'll try to dig it up from where I am.

Hope that helps,

Martin.


Nic Stronell wrote:
We have built a custom application to enable our developers to track
time into TFS work items.  We are using the TFS libraries to make the
connection to the TFS server, essentially:

TeamFoundationServer tfs = new
TeamFoundationServer("http://ourTFSserver.ourDomain.com";, new
NetworkCredential("username", "password", "ourADdomain"));

WorkItemStore wistore = new WorkItemStore(tfs);

WorkItem workItem = wistore.GetWorkItem(workItemID);
Our issue is that some developers are offsite and need to go through the
proxy server at that site.  I can't figure out a way to have this TFS
access go through that proxy.

Help appreciated.

Also, if anyone know why the memory usage of the application jump 50MB
on the "WorkItemStore wistore = new WorkItemStore(tfs);" command and if
this can be reduced, that would also be helpful.

Nic.




OzTFS.com - to unsubscribe from this list, send a message back to the list with 
'unsubscribe' as the subject. View the web archives at 
http://www.mail-archive.com/[email protected]/

Powered by mailenable.com, supported by www.readify.net





OzTFS.com - to unsubscribe from this list, send a message back to the list with 
'unsubscribe' as the subject. View the web archives at 
http://www.mail-archive.com/[email protected]/
Powered by mailenable.com, supported by www.readify.net


Reply via email to