Entity Framework Free Tools List

October 27, 2009

Entity Framework Free Tools List In my last session at Microsoft I mentioned some EF free tools that you can use which can help you to be more productive. Since I got a comment about sharing my list, this is the free tool list and the places you can find them and download them: eSqlBlast – a suite of tools that target editing and executing ...

Building a Custom Site Map Provider

October 23, 2009

Building a Custom Site Map Provider In the last ASP.NET course I delivered I was asked how to build a custom site map provider. This post holds the answer. You can download the full example from here. Building a Custom Site Map Provider There are times that our requirements demand that our site navigation will not be based on the default site map provider. Such times...
no comments

ADO.NET Entity Framework Session Slide Deck

October 21, 2009

ADO.NET Entity Framework Session Slide Deck Two days ago I had a half day session at Microsoft  about Entity Framework. The agenda was as follows: Entity Framework Introduction Exploring the Entity Data Model Querying and Manipulating Entity Data Models Customizing Entity Data Models Examples EF4 As I promised the slide deck and demos can be downloaded from here. I want to thank the attendees of the session and I hope you had great time like I did. Also, I’m sorry for the late publishing but it was caused by technical problems to upload the files into the blog’s server. Instead I...

Calling User-Defined Functions (UDFs) in Entity Framework

October 20, 2009

Calling User-Defined Functions (UDFs) in Entity Framework Yesterday I answered a question in Entity Framework forum in regard of how to use User-Defined Functions (UDFs) in Entity Framework. This post holds the answer. The Problem I have a UDF in my database that I want to use with Entity Framework. When you use the Entity Data Model Wizard you can surface the function in the...
one comment

Table Splitting in Entity Framework

October 13, 2009

Table Splitting in Entity Framework Entity Framework include a lot of ways to customize the Entity Data Model. One such way is Table Splitting which enables to map multiple entity types to a single table. This post will show how we can achieve this ability. Why Using Table Splitting? Sometimes we want to delay the loading of properties which the columns that they map to hold very large amount of...
no comments

Back to Basics – Exposing UserControl Events

October 12, 2009

Back to Basics – Exposing UserControl Events This morning I saw Shlomo’s post (in Hebrew) that  explain how to expose events in a UserControl in order to enable the page to register to that event. This post will show a different solution to do the same thing and also explain my opinion in regard of whether to expose events through UserControl or not. Should We Expose UserControl...
no comments

Create Your First Dynamic Data Entities Web Application

October 7, 2009

Create Your First Dynamic Data Entities Web Application Two weeks ago I was asked if there is a way to build a web back office quickly. One thing that popped into my mind was the new ASP.NET Dynamic Data framework that was shipped with Visual Studio 2008 SP1. This post is the same introduction that I made to the team members that asked me the question. Since ...

Replacing ASP.NET Session with Velocity Session Provider

October 6, 2009

Replacing ASP.NET Session with Velocity Session Provider One nice feature of Microsoft Distributed Cache aka Velocity is a custom session provider that can replace the ASP.NET default session provider. In this post I’ll explain how to replace ASP.NET session with the Velocity session provider that is being provided with Velocity. Why Replacing the ASP.NET Session with Velocity Session? Sometimes we want to share a session across servers in a server farm. The ways to do so are to use a State Server or a database. When Velocity came out it was released (currently in CTP) with a custom session provider. The use...

Data Types For Caching

Data Types For Caching One of the big problems I see when I talk with people about caching is not recognizing the  different cached data types. Understanding the different types of data can help us to define what sort of caching do we need and also how to use caching systems to achieve the appropriate cache scenario we are going to use. This post will describe how to define data types for...
no comments

ADO.NET Entity Framework Session at Microsoft

October 1, 2009

ADO.NET Entity Framework Session at Microsoft A few months ago I wrote about a session I’m supposed to do on ADO.NET Entity Framework at Microsoft Israel. This is a reminder for that session which will take place on October 19 at Microsoft Ra’anana. In the session I’ll introduce Entity Framework and talk about how to use it. I’m also going to dedicate the end of the session for EF4 and show some of the features it include like POCO, Model-Defined Functions and more. If you are interested to hear about Entity Framework this is the place to be. You...