Khalid Abuhakmeh

Khalid Abuhakmeh's Blog
  • Resumé
  • About
  • 🔍 Search

Tag - "entity-framework" | Page #2

A collection of 26 posts

August 16, 2022

Using LINQ and Getting Chunky With .NET

Using LINQ and Getting Chunky With .NET

Sometimes you need to break down a large number into smaller chunks. For me, I regularly chunk data when I need to bulk import data records into a database. I find that fine-tuning the chunks can help improve data-loading performance...

Continue Reading

dotnet entity-framework

June 14, 2022

Storing Dynamic User Data With Entity Framework Core

Storing Dynamic User Data With Entity Framework Core

Recently, a follower on Twitter asked how they could store “dynamic” user data using Entity Framework Core. Dynamic in the sense that you may not know what the key/value pairs of data will be but they’re still important to store,...

Continue Reading

dotnet entity-framework

May 17, 2022

Using SQL Server Cursors with Entity Framework Core

Using SQL Server Cursors with Entity Framework Core

Most relational databases are a modern marvel, with many features waiting for you to use. However, for .NET developers, you often need to discover methods to get data into and out of our database instances that work for our use...

Continue Reading

entity-framework dotnet sql

October 19, 2021

Bulk Import Records Into SQLite With C#

Bulk Import Records Into SQLite With C#

I’ve grown fond of SQLite during my time as a developer advocate. The file-based database with native drivers for every operating system allows me to ship self-contained data-driven sample apps to developers worldwide. Developers can clone a demo and run...

Continue Reading

sql entity-framework

October 12, 2021

Cursor Paging With Entity Framework Core and ASP.NET Core

Cursor Paging With Entity Framework Core and ASP.NET Core

When building APIs that return a non-trivial amount of data, we need to make design decisions based on our underlying database. For example, a developer may implement a specific endpoint in APIs that allows clients to return a window-based collection....

Continue Reading

entity-framework

October 5, 2021

Entity Framework Core ConnectionStrings For .NET Apps

Entity Framework Core ConnectionStrings For .NET Apps

If you’re anything like me, you set up your Entity Framework Core DbContext and your connectionString once in a blue moon and forget about it. Connection strings are essential parts of a functioning application, but we forget the nuance in...

Continue Reading

entity-framework

April 8, 2021

Recursive Data With Entity Framework Core and SQL Server

Recursive Data With Entity Framework Core and SQL Server

One of the most powerful features of relational database engines is the ability for tables to be self-referential. Having rows reference other rows within the same table allows us to create complex hierarchies and tree structures with minimal effort.

Continue Reading

entity-framework dotnet

April 6, 2021

Modeling Most SQL Relationships In Entity Framework Core

Modeling Most SQL Relationships In Entity Framework Core

Object Relational Mappers (ORMs) allow us to define relationships between entities in our relational database using C# objects. Depending on which ORM we use, we can also get the library to generate the relationships’ schema. Entity Framework Core is one...

Continue Reading

entity-framework dotnet

March 23, 2021

How To Add A View To An Entity Framework Core DbContext

How To Add A View To An Entity Framework Core DbContext

Working with databases is a fun yet challenging task. As our application’s mature, we see opportunities to optimize our codebase along with query performance. Views are a great way to achieve both goals. With Entity Framework Core 5 (EF Core),...

Continue Reading

sql entity-framework

March 4, 2021

Raw SQL Queries With Entity Framework Core 5

Raw SQL Queries With Entity Framework Core 5

Entity Framework Core 5 (EF Core) and LINQ allow developers to write powerful expressions that translate into SQL. Ultimately, ORMs are about balancing convenience and power. Generally, EF Core’s default features are enough to accomplish most data access-related tasks, but...

Continue Reading

entity-framework

Newer Posts Page 2 of 3 Older Posts

mastodon logo Mastodon GitHub RSS Feed

Khalid Abuhakmeh © 2025 .
Powered by Jekyll.

Back to top

Explore Site

  • Resumé
  • About
  • 🔍 Search

About Khalid Abuhakmeh

Khalid is a product designer, traveler, respected community member, and open source contributor.

Recent Articles

  • April 22, 2025
    Server-Sent Events in ASP.NET Core and .NET 10
    Server-Sent Events in ASP.NET Core and .NET 10
  • March 4, 2025
    Generic C# Methods with Enum Constraints for .NET
    Generic C# Methods with Enum Constraints for .NET
  • February 25, 2025
    Strongly-Typed Markdown for ASP.NET Core Content Apps
    Strongly-Typed Markdown for ASP.NET Core Content Apps

Tags

11ty Blazor HTML JavaScript MAUI OpenAPI TypeScript aspire aspnet aspnetcore astro avalonia azure beginners blazor blog console csharp css database development docker dotnet efcore entity-framework fsharp general github html htmx http javascript jekyll jetbrains json kotlin macOS machine-learning markdown maui mobile mvc nuget oss playwright question razor regex ruby rust search security sql static style terminal tips twitter typescript vite wasm web xamarin xunit