VS2008 → Tools → Source Control → Visual Studio Foundation Service → Configure User Tools:
|
Thursday, June 25, 2009
Use Beyond Compare with Team Foundation Server in VS 2008/VS2005
| Reactions: |
Sunday, June 21, 2009
ThreadPool.QueueUserWorkItem() could be very slow
ThreadPool.QueueUserWorkItem() could be very slow if callback being executed as a work item calls Thread.Sleep(). Consider the following example: It seems that if waitTime is more than something around 100 ms - .NET thread pool applies some euristic that causes it to start enqueue new thread, while the one that is currently executing is sleeping (seems that it happens every 500ms). Thus - code above would take around 500ms*10 ~~ 5 sec to complete!!! |
Labels:
.NET
| Reactions: |
Wednesday, June 17, 2009
Howto: publish metadata for net.tcp endpoint and add reference to WCF service hosted in process/service/console
|
Metadata contains a reference that cannot be resolved net.tcp
Error "Metadata contains a reference that cannot be resolved: 'service reference'. If the service is defined in the current solution, try building the solution and adding the service reference again." could be caused by specifying specific contract rather than IMetadataExchange in Contract section of service endpoint configuration. |
Barrier multithreading primitive in C#
|
Subscribe to:
Posts (Atom)