Playing with "Velocity" Distributed Caching

יום רביעי, נובמבר 19, 2008

Hi, I decided to take a look and play with MS "Velocity" Distributed Caching. “Velocity” is a distributed in-memory application cache platform for developing scalable, available, and high-performance applications. “Velocity” fuses memory across multiple computers to give a single unified cache view to applications. Applications can store any serializable CLR object without worrying about where the object gets stored. Well I download the latest version CTP2 install it on 2 computers and it works very nice. Velocity supports the common cache types: partitioned cache, replicated cache and local cache. Depending on the type of data, applications can choose the appropriate type...
one comment

WCF Practices: Writing single function for your entire WCF proxy calls

יום שלישי, יולי 1, 2008

Let's say you want that all your WCF proxy calls will come from one function. This could be very useful and save a lot of code.For example you can write your proxy exception handling in one place.Here is the code example that work on .NET framework 3.5 only: // The public function that execute the WCF proxy call public void WCFProxyCall() {    CreateConferenceRequest r = new CreateConferenceRequest();    Func createFunc = a => proxy.CreateConference(a);      CreateConferenceResponse ci = ProxyWrapperOperation(createFunc, r); }     // This is the single point function for the entire WCF proxy calls // Here you can write code for all your WCF proxy calls. private TResult...
tags: ,
no comments