Geeks With Blogs

News
Vitaly Dilmukhametov October 2009 Entries
Client part of WCF REST Starter Kit
WCF REST Starter Kit Preview 2 contains not only tools for creating REST services. It include rich set of client tools, that allow to do HTTP-requests and process service response in more convenient way. I create small overview of it basic features. We’ll create a simple WPF desktop client for Yahoo Shopping Web Services. Our client sill search products by the keyword. Details of Search API is available here, but information about GET-request format and service URI is enough. For example, if we want ......

Posted On Wednesday, October 28, 2009 1:05 PM

Thread-safe data structures .NET 4.0 (part 2)
Today I tell you about BlockingCollection<T>. It’s more complex and more interesting data storage. BlockingCollection<T> is a thread-safe data structure, which is called “blocking”, because it based on following principles: if the collection is empty, and some code try to take an element, the thread, that executes this code, is blocked while any at least one element is not added; if the collection already contains maximum elements, the thread, attempting to add new element, will be blocked ......

Posted On Sunday, October 25, 2009 4:01 AM

Thread-safe data structures .NET 4.0 (part 1)
.NET 4 contains rich set of tools, that allow to create parallelized code more easy. But when we start processing chunk of data in parallel threads, we need to synchronize these threads, and we need some storage for the results of work. Now exist a big number of methods, solving sync issues, and we can realize in code any of them. But MS Parallel Extensions team already do it, and .NET 4 beta versions include set of thread-safe data structures. They implement some popular types of collections, and ......

Posted On Saturday, October 24, 2009 10:20 AM

Copyright © Vitus | Powered by: GeeksWithBlogs.net