Coupon for my EF Core Video Course

I blogged previously about the courses on Entity Framework Core that are published on PacktPub.  I am excited to offer a valuable coupon for the fist 10 people who claim it Just a reminder that this couple applies to the second course. Course Names: Mastering Entity Framework Core – Mapping, Querying and Manipulating Data Mastering …

Continue reading ‘Coupon for my EF Core Video Course’ »

Write your First API with ASP.NET Core and Entity Framework Core

In this post I will quickly describe how to create a simple API in ASP.NET Core that supports a set of CRUD operations on a database.  Before we get started, make sure to download and install ASP.NET Core on your machine.  You can find the installer here.  Let’s get started. Start Visual Studio and create …

Continue reading ‘Write your First API with ASP.NET Core and Entity Framework Core’ »

Entity Framework 7 Migrations API Video

I created a short, 30 minutes video on how to get started with Entity Framework 7 Migrations inside ASP.NET v. next (ASP.NET 5).  I decided that video would be much better than huge blog post with a ton of screenshots.  II uploaded it to YouTube to my channel as a means to share my experiment.  …

Continue reading ‘Entity Framework 7 Migrations API Video’ »

Getting Started with EF 7 Video

I created a short, 25 minutes video on how to get started with Entity Framework 7 inside ASP.NET v. next (ASP.NET 5).  I decided that video would be much better than huge blog post with a ton of screenshots.  I based this decision on something I would want to watch.  Looking out for number 1 …

Continue reading ‘Getting Started with EF 7 Video’ »

Measuring Entity Framework Performance using ETW

ETW, or Event Tracing for Windows, is a technology from Microsoft that allows for extremely fast logging from a running application.  Windows itself is using ETW, and technology has been part of Windows since Windows 2000.  A developer can write code to start and stop tracing sessions, given that an application being traced has been …

Continue reading ‘Measuring Entity Framework Performance using ETW’ »

Building Recursive Interfaces in Angular and Entity Framework

I had an interesting problem to study today.  The business problem is quite simple.  I want to allow users to enter a number of items on a screen that are recursively related.  To illustrate here is what I have in mind Item 1 Item 1.1 Item 1.2 Item 1.2.1 Etc.. I do not want to …

Continue reading ‘Building Recursive Interfaces in Angular and Entity Framework’ »

Use Reflection and Expression to Find an Entity by Primary Key

On occasion I maintain a project based on Entity Framework Database First approach.  This project is using ObjectContext.  I was recently working on a generic feature that was requiring me to find an entity based on primary key. In order to do this I have to dynamically create a where clause that filders data based …

Continue reading ‘Use Reflection and Expression to Find an Entity by Primary Key’ »