Browse by Tags
All Tags »
Entity Framework (
RSS)
VSLive Chicago Sessions Slide Decks and Demos Just finished delivering three sessions in VSLive Chicago. It was nice meeting all the attendees and talking about technologies that I like like HTML5, OData and Entity Framework. Here is a list of the sessions that I delivered: Working with Client-Side HTML5 Storage Technologies OData - Oh Yeah Not Just a Designer: Code First and Entity Framework You can find the slide decks and demos in this link .
New Speaking Engagement – VSLive Chicago Lately, I have been chosen to speak at VSLive Chicago conference. The conference will take place in May 13-16 at Hilton Chicago, USA. This is going to be the second time that I’m speaking in VSLive conferences and I’m very excited. In the conference I’ll have three sessions: Working with Client-Side HTML5 Storage Technologies HTML is the markup language that every web developer uses in order to structure and present content in the Internet. HTML5 is the standard...
Wrapping up the VSLive Redmond Week A few days ago I had the opportunity to deliver two sessions in the VSLive Redmond conference. In the conference I delivered two different sessions: Working with Client-Side HTML5 Storages – slide deck and demos are available to download from this link . Not Just a Designer: Code First in Entity Framework – slide deck and demos are available to download from this link . I want to thank all of the attendees in both of the sessions. I had the opportunity to meet...
Not Just a Designer: Code First in Entity Framework – VSLive Session Slide Deck and Demos Today I had the pleasure of delivering another session in VSLive conference. The session that I delivered was about Code First in Entity Framework and I covered Code First, DbContext API and Entity Framework Migrations. I want to thank all the attendees who came to my session and also to VSLive organizers for giving me the opportunity to speak in the conference. You can download the slide deck and demos from...
New Speaking Engagement – Visual Studio Live Lately, I have been chosen to speak at the Visual Studio Live (VSLive) conference . The conference will take place in August 6-10 at Microsoft headquarters in Redmond, WA, USA. I’m going to have a ~16 hours flight to go there, but I’m not flying alone. Ido Flatow , one of my Sela Group colleagues which is a “veteran” VSLive speaker, is going to the conference also and will have two sessions (one about ASP.NET Web APIs and the other about Windows Azure...
Avoiding Circular Reference for Entity in JSON Serialization One problem that I was facing yesterday while working on an ASP.NET MVC application was a JSON serialization issue. The problem was a circular reference caused by the DataContractJsonSerializer because of relations between the entity and other entities. In this post I’ll show you how you can use a simple workaround in order to avoid the problem. The JSON Serialization Error Returning the output of the JSON method in an...
Creating a Many To Many Mapping Using Code First Today I got a question about how to create a many to many mapping using Entity Framework Code First. The question was how to create the mapping with an existing database. Here is an explanation how to achieve that. Creating Many To Many Mapping Sometimes there is a need to create a many to many relation in the database. When we want to achieve that we will create a relation table which will hold the primary key from every table in the many to many...
Microsoft Entity Framework June 2011 CTP was Released Yesterday, ADO.NET team released a new EF CTP. If you attended my Sela Dev. Days EF4.1 tutorial day this week you heard about this release and the new features. Here is the list of new features to expect from EF4.2 that you can evaluate with the new EF CTP: Runtime Features The Enum data-type. At last we will have support for enums. You can use either the Entity Designer within Visual Studio to model entities that have Enum properties,...
My Sela Dev-Days Experience Today I finished my Sela Dev. Days experience. Sela Dev. Days is a conference which include 5 days, 15 top experts, 25 session, and a whole lot of attendees (around 600 people registered for this week). If you are not familiar with Sela Dev. Days you can go to the conference’s site . In the conference I had three tutorial days in three different subjects: ASP.NET MVC 3, EF Code First integration, and Razor: Oh My! In this one day tutorial I co-operated with Sebastian Pederiva...
How to Configure a Self Referencing Entity in Code First A few days ago a worker in Sela asked me how to configure a self referencing entity with EF Code First. In this post I’ll show you how to implement that configuration. Self Reference Scenarios There are a lot of scenarios that we will want to implement a self reference between an entity to itself. For example, we do that when we want to create hierarchies in our application - an employee entity that has a self reference to his/her manager is...
Creating a Code First Database Initializer Strategy Yesterday I helped a colleague with his ASP.NET MVC 3 site deployment. That colleague implemented the data access layer using EF4.1 Code First. One of the restrictions that he had was that he didn’t have database permissions to create a new database and couldn’t use SQL Express or SQL CE in his application. Instead he had an empty database for his disposal in the hosting environment without a way to run SQL scripts… In such a situation the provided...
Sela Dev. Days 2011 Next month, June 26-30 , Sela is going to have a mini conference – Sela Dev. Days . In the conference you will have the opportunity to meet Israel and world lead experts and learn about the new and coming Microsoft technologies that everyone will talk about in the next following years. The conference includes 25 one day workshop in subjects such as Silverlight 5, Parallel programing, Windows Phone Mango, ASP.NET MVC 3 and more. In the conference I’m having the following...
Not Just a Designer: Code First in Entity Framework Article on VS Magazine Lately I wrote an article about Code First approach in Entity Framework 4.1 for Visual Studio Magazine . The article was published a few days ago and you can read it here . Enjoy! CodeProject
Spreading Inheritance Tree Mapping Across Assemblies in Code First Today I helped a client to solve a problem regarding EF4.1 Code First. The issue that they banged their heads with was an inheritance tree mapping in their model which is spread across two different assemblies. When they run the application they always got the same exception – “mapping and metadata information could not be found for entitytype ‘entity name’”. So they sent me a sample solution and I checked it and gave them the solution...
MIX11 Second Day Sessions Summary Here is a summary of the sessions I attended in the second day of MIX11: An Overview of the MS Web Stack of Love In the session Scott Hanselman showed a lot of demos in the Microsoft web platform. The things that Scott showed: ASP.NET MVC 3 + new tools Scaffolding IIS Express NuGet EF4.1 Glimpse – a new open source package which is FireBug like tool for MVC framework. Get the insight of the flow of your MVC application. Knockout.js: Helping you build dynamic JavaScript...
More Posts
Next page »