My Session at DevGeekWeek 2014

Tuesday, June 24, 2014

Today I presented a session titled Entity Framework best practices at DevGeekWeek 2014 conference held in the Daniel Hotel in Hertzliya (Israel). The Slides and Demos are available here. Cheers, Offir
no comments

App Fabric cache Issue – Local Cache items are evicted using IIS

Wednesday, January 29, 2014

Local Cache One of the best features of app fabric cache is Local cache(near cache). The local cache is “in process” (in memory) cache of items that was recently used. The great thing is how items in this cache are invalidate. The local cache has two methods: Timeout base – trivial Notification base – meaning each time interval (default is 300 ms) the local cache will get a list of modification made on items from the distributed cache and invalidate only those who changed. (Note: the notification should be enable in the named cache side) The notification method is pretty awesome because it...

AppFabric Caching Service Using SSL

Friday, February 1, 2013

I really like AppFabric distributed cache (previously called Velocity). It’s so simple to use and it has really strong features like notification based local cache. It basically has two versions, one is targeting for on premise and one is for the cloud (Azure). The API is similar which makes it very easy to move your application in later phases to the cloud. But back to my customer which security was a strong requirement because of the nature of his system which I won’t mention here but I’m sure you get the idea. His security requirements are that all connection...

Azure Table Storage – limitations and solutions/workarounds(Part 2)

Wednesday, September 19, 2012

This is part two of 2 parts posts discussing the limitations in Azure table storage. It’s highly recommended to read first Part 1. In this part I will discuss the querying limitations. Using table storage as your persistence layer – you need to be able to query the storage efficiently. The .NET layer above Table Storage (CloudTableClient) exposes the CreateQuery method that returns DataServiceQuery that implements IQueryable<T>public DataServiceQuery<T> CreateQuery<T>(string entitySetName); meaning you can write whatever LINQ query you want and it will compile – but only a very small subset is supported as described here – Query Operators (Table Service...
one comment

Azure Table Storage – limitations and solutions/workarounds(Part 1)

Monday, August 13, 2012

Azure table storage – is the NoSQL storage key/value based part of Microsoft Azure cloud services. If you are not familiar with Azure table storage I recommend you to first read here. Recently I was working on a very simple application that is hosted on the cloud (simple web role). My previous experience with NoSQL was mostly using RavenDB (which I really love…) but in this application it was the natural decision to use the out of the box cloud NoSQL storage. Getting started was really easy thanks to the great documentation we have online but when I started...

TPL Data Flow Debugger Visualizer

Tuesday, June 5, 2012

TPL Data Flow I first encounter TPL data flow (part of .NET 4.5 - TPL DTF) during the build conference (I attended last year) but I must say I didn’t get it then. It sounded too much like RX which I was familiar with. Recently during one of my projects that required high performance CPU bounded – high throughput and low latency my colleague Alon the gave the idea – why not using TPL data flow and from then my world changed forever. It’s amazing to how many systems this technology can be...
no comments

Windows Build- my first impressions

Thursday, September 15, 2011

Well I’m here at Anaheim enjoying every second (I’m a geek what can I say). Wanted to share some of my thoughts. I’ll just note that these word are written using new cool Win 8 Samsung tablet.   So I heard a lot of keywords and pieces of information in the passed days here are some: Immersive Fast and Fluid Modern Metro style WinRT HTML5/JS Application Contracts …...
no comments

WCF Performance Using Datasets – Part 2

Saturday, July 23, 2011

start with reading WCF Performance Using Datasets – Part 1. Can it be ? I asked this question over and over – because WCF is clearly faster (see Eyal Vardi comment in part 1). I tried several Binding options including some custom binding , I asked some people to look at my code and up to now no one has manage to contradict my benchmark. I invite each one of you to try (write you own tester) my contract is simple: public interface IPerfService { DataSet LoadDataSet(DataSet...
one comment

Publish/Subscriber Using Routing Service (WCF4)

Sunday, February 20, 2011

Hi all. Download Code Few weeks ago I went to an interesting lecture of  Ido Flatow called: “What’s new in WCF4”. The lecture was very good mostly because it was the first time somebody gathered and organized the new abilities of WCF 4, and the material level in my opinion was pretty high. One of the features Ido talked about was the Routing Service. That feature just amazed me, I found it very powerful and useful in many scenarios: load balancing, on service failure, content base routing, bridge and more (MSDN Link). Pub/Sub Solutions I was at the time examining some pub/sub...
tags: ,

EF4 In real life and using Code Only – Yes We Can ?

Tuesday, June 8, 2010

Hi all it's been a while but i didn't have anything interesting to write about. Lately I was involved in a process of choosing the technology used in Data access infrastructure of new application, and let's just say it wasn't a simple decision but a fascinating one. General  The decision process was interesting and long, the dilemma was reduced at the end to decide between two ORM solutions: NHibernate and Entity Framework 4 – EF4 (I'll give some details below). Finally we decided to go with EF4. The risky part in this decision is that EF4 is...
tags: , ,