Articles tagged #Entity Framework
10 article(s)
-
Implement Repository Pattern with ASP.NET Core Web API
Implement the Repository Pattern with ASP.NET Core Web API on .NET 10 — EF Core 10, DTO mapping with extension methods, async CRUD operations, and the built-in OpenAPI support with Scalar.
@llaxmikant · Jul 13, 2026 -
AutoMapper in ASP.NET Core Web API — and the Modern Alternatives
AutoMapper usage in ASP.NET Core Web API, its 2025 commercial licensing change, and the modern alternatives — hand-written mapping extension methods and the Mapperly source generator.
@llaxmikant · Jun 12, 2026 -
Modern .NET Backend Roadmap — Part 2: Repository Pattern
Implement the repository pattern over EF Core the useful way: use-case-shaped interfaces, AsNoTracking reads, unit-of-work saves, correct lifetimes, and the anti-patterns to dodge.
@llaxmikant · May 29, 2026 -
Getting Started with ASP.NET Core Web API and Entity Framework
Build your first ASP.NET Core Web API on .NET 10 with Entity Framework Core — scaffold models from SQL Server, add an async controller, and test with the built-in OpenAPI document and Scalar.
@llaxmikant · May 28, 2026 -
Using Fluent API in EF Core Code First
EF Core Fluent API configuration in OnModelCreating — tables, columns, keys, indexes, relationships, query filters, value conversions, and when to prefer it over DataAnnotations.
@llaxmikant · Feb 16, 2026 -
How to Configure Entity Relationships using Fluent API in Entity Framework Core
Configure one-to-one, one-to-many, and many-to-many relationships with the EF Core Fluent API — HasOne/WithOne, HasForeignKey, OnDelete behaviors, and EF Core 5+ skip navigations without a join entity
@llaxmikant · Feb 11, 2026 -
EF Core Code First Migrations with DataAnnotations Attributes
Shape your SQL Server schema with DataAnnotations — Table, Column, Key, Required, MaxLength, Index, Timestamp, ConcurrencyCheck — and apply it with EF Core migrations, verified against a real database
@llaxmikant · Jan 27, 2026 -
Entity Framework Core Database-First Tutorial
Scaffold a DbContext and entities from an existing SQL Server database with dotnet ef dbcontext scaffold — what gets generated, re-scaffolding on schema changes, and extending via partial classes.
@llaxmikant · Jan 15, 2026 -
Autocomplete in ASP.NET Core — Native datalist, fetch, and jQuery UI
Add autocomplete to ASP.NET Core pages with the native datalist element and fetch — debounced requests, capped suggestions, a custom dropdown variant, and the legacy jQuery UI hookup.
@llaxmikant · Dec 7, 2025 -
ASP.NET Core MVC Model Binding
How ASP.NET Core turns route values, query strings, forms, and JSON bodies into typed action parameters — binding sources, complex types, collections, and the classic empty-model gotcha.
@llaxmikant · Aug 11, 2025