Browse by Tags
All Tags »
.net 2.0 (
RSS)
Last week Shani Raba and I have performed a two days session about WCF. The presentations from both days are attached. Code will come soon. WCF Course – First Day WCF Course – Second Day
Configuration sections are our ability as developers to interfere in the structure of our configuration file and add some custom value in it. Yoav Michaely (my team mate) and I tried to make the use of it a little simpler. Our goals: 1) Make easy use of configuration section instance 2) To imitate the functionality of AppSetting of key value collection 3) Maybe get some extra functionality in the way – how knows…? So let see out class declaration: public abstract class ConfigurationSectionBase <...
WCF provides nice capability of extending the behavior of operations by implementing IOperationBehavior interface. I want to concentrate on ApplyDispatchBehavior method of that interface, which purpose is to do extention to server side calls. I will show how I use this extensability to provide a nice and easy cache mechanisam. I will make a class which derives from Attribute class and implements an IOperationBehavior interface. Now I want to interfire in the invoke process of the method so I need...
Asp.Net provides us very powerful cache mechanism that can be found under System.Web.Caching. You can access the cache using the folioing syntax: HttpContext.Current.Cache["key"] = value; HttpContext.Current.Cache.Add(params...); Lately I was looking for similar mechanism to use with WCF. The flax ability of WCF services provide them to live in supported as well not supported web environment. In that case HttpContext.Current would not be available. From curiosity I went and check how the...
In the past few days I been dealing with setting up continues integration (CI) process in my team. The process is not finished yet but be ready for a post at the minute when it will be done. CI is dealing with automated builds so I needed some automated build tool to handle the job. No so long ago I have been working with MSBuild , which is very powerful tool to manage your build process. However lately more and more often I run in to TFSBuild (which is a tool for automated build that come with TFS...
After my trip to Thailand Last month ( see some photos ) I back and jumped right in to coding. I wrote some code at work and tried to fix some unit tests for it using Rhino Mocks . I guess you all familiar with that powerful tool and I will not try to explain how to use it , it been done perfectly by some of my colleagues. I wrote a class like this: public class User { private void DoSomeLogic() { } public void Add() { DoSomeLogic(); // ... } } When I came up to write the test I realized that the...