Getting Started with Entity Framework 4.0 Screencast Recorded session from Cairo Code Camp - Part 4

by mosessaur| 07 August 2010| 3 Comments

About Part 4

Fourth part is about 10 min in length. Covers how to implement table per hierarchy inheritance model (TPH) with Entity Framework 4.0

More...

Getting Started with Entity Framework 4.0 Screencast Recorded session from Cairo Code Camp - Part 3

by mosessaur| 10 July 2010| 3 Comments

About Part 3

Third part is about 8:20 min in length. Covers how to use stored procedures with EF4 to do CRUD operations on the database. The demo shows how to do mapping to existing stored procedures. The Demo also shows how to use IntilleTrace to view executed statements made by EF object services.

More...

Getting Started with Entity Framework 4.0 Screencast Recorded session from Cairo Code Camp - Part 2

by mosessaur| 18 June 2010| 2 Comments

About Part 2

Second part is about 6:30 min in length. Covers Object Services and how to do CRUD operations using EF 4.0 object services. The demo explores EF change tracking capabilities. The demo also shows how to map return result of a stored procedure to existing entity in your EDM.

More...

Getting Started with Entity Framework 4.0 Screencast Recorded session from Cairo Code Camp - Part 1

by mosessaur| 15 June 2010| 4 Comments

Introduction

I finally decided not to wait till I finish the whole recording which it seems is going to take some good time. And so I started to split this recording session/screencast into multiple parts and post them.

About Part 1

First part is about 10 min in length. And is an introduction to Entity Framework 4.0 with brief about its short history. This part also include a demo about new vs2010 designer enhancements for EF4. Also the screencast shows how to do a refactor to complex type using EDM designer.

More...

Introducing Shrinkr The URL Shrinking Service built with ASP.NET MVC 2

by mosessaur| 20 April 2010| 6 Comments

Few months ago, on September 2009 my friend Rashid started to blog about this open source project “Shrinkr”. And I got a chance to assist him on this.

In the last few weeks we were working on preparing this first stable release. And now we got it and it’s live on http://rdir.in.

Yesterday Rashid announced the first release which you can download from here.

In this post I’m going to show few screenshots of the live Shrinkr. And highlights few technologies used on it.

More...

Mapping Conceptual Model Function to Complex Type in Entity Framework 4.0

by mosessaur| 07 April 2010| 8 Comments

Introduction

You might hear of KiGG, the open source project that is currently live as http://dotnetshoutout.com. I wanted to expose part of KiGG data as an OData Service for read only. But I figured out that exposing raw KiGG schema might not be useful. So I had to choose between 2 options that were up to my mind:

  • Build some views on the physical store -database-. Create a new entity data model for those views and use the new data model context for DataServiceContext.
  • Use Entity Framework 4.0 conceptual model function feature with complex types to simulate views. It’s like building views on the conceptual model itself and not the store model.

I picked the 2nd option. The sample downloadable sample is available at the end of this post.

More...

Getting Started with Entity Framework 4.0 – Session given at Cairo CodeCamp 2010

by mosessaur| 05 March 2010| 1 Comments

At the end of last month (27-28 Feb 2010) I got the opportunity to participate in Cairo CodeCamp event by giving a session about “Getting Started with Entity Framework 4.0”.

Here is summary of my session –taken from Cairo CodeCamp web site-:

An introduction to Entity Framework 4.0 that will be shipped as part of .Net 4.0 and VS.Net 2010. Exploring new and enhanced features of Entity Framework 4.0. Walking through building entity data model using VS.Net 2010 and Entity Framework 4.0. Examining new design features in Entity Framework introducing Persistence Ignorance.

I uploaded my session and demos. You can download them now. I hope you’ll enjoy the demos and presentation. Click here to download.

All sessions should be posted soon to Cairo CodeCamp web site. Keep tracked for updates.

I have a plan to record my session as screen cast in English and post it here as well. But can’t promise when this will be as I have many other things I committed to recently.

Keep tuned anyway you might find interesting stuff posted soon.

Entity Framework 4.0 Beta 1 Sneak Peak Session at DotNetWork User Group in Cairo, Egypt

by mosessaur| 05 October 2009| 4 Comments

Introduction

Again I was honored to present a talk on first Egyptian .Net user group “DotNetWork”. My previous session -the first- was a joint session with Bishoy Ghaly about Entity Framework v1 in .Net 3.5 SP1. This session was about Entity Framework 4.0.

After we introduced Entity Framework to Egyptian community, I decided to give them a sneak peak at the new version of it. Comparing between both versions, showing the evolution and the massive enhancement made on the new version. The session covered the early CTP 1 of Entity Framework 4.0 Beta 1 that is released last June.

Presentation is available to download here.

More...

Microsoft ADO.NET Entity Framework Feature CTP 1 Post Beta 1

by mosessaur| 30 June 2009| 0 Comments

Microsoft ADO.Net team released (this month June 2009) a set of features that build on top of Entity Framework 4.0 Beta 1
The features included in this CTP are :

  1. that allows you to write Entity Data Model based applications without requiring external artifacts

CTP can be downloaded here

Enjoy it.

Entity Framework 4 Persistence-Ignorance First Look

by mosessaur| 20 May 2009| 8 Comments

Introduction:

From the moment I put my hands on Visual Studio.Net 2010 Beta 1 and I’m targeting EF4 –Entity Framework 4- as I was very excited to checkout the new cool feature of it.

Here I am going to highlight my first look at Persistence-Ignorance support in EF4.

More...