Two Days Course About WCF

יום ראשון, מרץ 2, 2008

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
תגיות: , ,
אין תגובות

Cache me if you can

יום חמישי, נובמבר 22, 2007

  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 to make another class that implements IOperationInvoker interface and would hold the cache logic. And...
תגיות: ,
3 תגובות

Caching with WCF

יום רביעי, נובמבר 21, 2007

  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 = 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 HttpContext.Current.Cache property is implemented and I was surprised to see the all it does is: return HttpRuntime.Cache. After googling I was more...
תגיות: ,
24 תגובות

Introduction to WCF

יום ראשון, יוני 3, 2007

WCF (Windows Communication Foundation) is part of WinFx technology. Its taking care of the communication between your components in you own machine and your components and the the out side world. I was learning about this for the last two months and already took advantage of it and use it in a new project in my work. Last week I made some introduction presentation for my team about it.The attachment includes it and some example of how to build and expose a simple wcf service More advanced examples coming soon.
2 תגובות