Web Data Services with ADO.NET Data Services Article

February 24, 2009

Web Data Services with ADO.NET Data Services Article As a promo to the session I’m going to deliver next week a new article that I wrote, Web Data Services with ADO.NET Data Services, was published on the Hebrew MSDN site. The article describe the problems that were targeted by ADO.NET data services, what is a data service? a little about REST and data service architecture and a data service example. You...

Entity Framework Learning Guide

February 22, 2009

Entity Framework Learning Guide After I published yesterday the Entity Framework Supported Mapping Scenarios White Paper post, I got an e-mail today  from Zeeshan Hirani regarding an e-book that he published in his blog which is a free 514 pages guide for Entity Framework. I’ve only scanned the e-book and from what I saw it’s worth reading (which is what I’m going to do in the near future)....

Entity Framework Supported Mapping Scenarios White Paper

February 21, 2009

Entity Framework Supported Mapping Scenarios White Paper While preparing to the session I’m going to present on Sunday, March 1, 2009, I got back to one of the most important issues to be familiar when using Entity Framework – mapping scenarios. If you want to get to know with almost all the mapping scenarios that Entity Framework support, I suggest reading Asad Khan’s white paper. ...

Enum-Based Dictionaries and the Boxing Issue

Enum-Based Dictionaries and the Boxing Issue While reading today one of Ayende Rahien  (Oren Eini) posts - Dictionary<Enum,T> Puzzler – I have learned a new issue regarding enum-based dictionaries. Apparently, the use of enums as the keys for a dictionary makes us pay in performance. The reason for that is that enums don’t implement IEquatable<T>. Because of that when we use enum-based dictionaries the comparing of keys will ...
4 comments

Disabling Change Tracking in Entity Framework

February 20, 2009

Disabling Change Tracking in Entity Framework Entity Framework came along with a very helpful change tracking system. But with great power comes great responsibility. The responsibility of the developers is to make sure that the change tracking option will not be responsible to bad performance. How to Disable the Change Tracking Option In Entity Framework, change tracking is being done by the ObjectStateManager. The ObjectStateManager maintains object...

Web Developers Community (WDC): Start Thinking with ADO.NET 3.5 Session

Web Developers Community (WDC): Start Thinking with ADO.NET 3.5 Session I will be presenting introduction to ADO.NET 3.5 in the Israeli WDC (Web Developers Community) on Sunday, March 1, 2009 at Microsoft office in Ra’anana. The talk will introduce the following topics: Entity Framework ADO.NET Data Services Datasets Enhancements You can register the event here. I hope to see you there. ...

Back to Basics – Master Pages and Content Page Events

February 9, 2009

Back to Basics – Master Pages and Content Page Events The post is going to explain the concept of master page events during the page life cycle. The Problem Sometimes I get asked by colleagues when events occur during the page life cycle. This question is a very basic but very important thing to know. The problem starts when master pages are involved. Which event happens before...
no comments

How To Use Unity Container In ASP.NET MVC Framework

February 8, 2009

How To Use Unity Container In ASP.NET MVC Framework In the past I wrote the post How To Use Unity Container In ASP.NET. In this post I’m going to explain how we can  use Unity IoC container in ASP.NET MVC Framework. Building The Container As in the previous post the first thing to do is to build the container itself. I’ll use the same method I used in the previous post  in order to persist the Unity container’s state during the application execution. The right place to put the Unity container is as part of the Global.asax file as a property of...

ToTraceString Method in Entity Framework

February 6, 2009

ToTraceString Method in Entity Framework In this post I’m going to introduce the ToTraceString method which enables us to view the generated T-SQL statement of a specific query we execute in Entity Framework. The ToTraceString Method The ToTraceString method is a method that outputs the generated T-SQL statement that is going to be submitted to the database by a specific query in Entity Framework. The method is part of ...