Master technical and career interviews with structured answers—short definition, real examples, pitfalls, and how to answer in 60–90 seconds.
Short answer: Attach entity, then set only modified properties as Modified. Use context.Entry(entity).Property(p => p.PropertyName).IsModified = true. Useful for PATCH operations. Real-world example (ShopNest) ShopNes…
Short answer: Use libraries like EFCore.BulkExtensions, Z.EntityFramework.Extensions. These provide optimized bulk operations, bypassing EF change tracking for performance. Real-world example (ShopNest) ShopNest’s order…
Short answer: EF Core creates a dynamic proxy subclass of your entity at runtime. Proxy overrides virtual navigation properties to load related data on-demand. Requires navigation properties to be virtual and package Mic…
Short answer: How does the dynamic proxy work under the hood? EF Core creates a dynamic proxy subclass of your entity at runtime. Proxy overrides virtual navigation properties to load related data on-demand. Requires nav…
Entity Framework Core Entity Framework Core Tutorial · EF Core
Short answer: Attach entity, then set only modified properties as Modified. Use context.Entry(entity).Property(p => p.PropertyName).IsModified = true. Useful for PATCH operations.
ShopNest’s order service uses EF Core to save an Order and its line items in one SaveChangesAsync() call inside a transaction.
Entity Framework Core Entity Framework Core Tutorial · EF Core
Short answer: Use libraries like EFCore.BulkExtensions, Z.EntityFramework.Extensions. These provide optimized bulk operations, bypassing EF change tracking for performance.
ShopNest’s order service uses EF Core to save an Order and its line items in one SaveChangesAsync() call inside a transaction.
Entity Framework Core Entity Framework Core Tutorial · EF Core
Short answer: EF Core creates a dynamic proxy subclass of your entity at runtime. Proxy overrides virtual navigation properties to load related data on-demand. Requires navigation properties to be virtual and package Microsoft.EntityFrameworkCore.Proxies. Proxy intercepts access and triggers loading when property is accessed.
Loading orders with items uses .Include(o => o.Items). Without Include, listing 50 orders can trigger 50 extra queries (N+1).
Entity Framework Core Entity Framework Core Tutorial · EF Core
Short answer: How does the dynamic proxy work under the hood? EF Core creates a dynamic proxy subclass of your entity at runtime. Proxy overrides virtual navigation properties to load related data on-demand. Requires navigation properties to be virtual and package Microsoft.EntityFrameworkCore.Proxies. Proxy intercepts access and triggers loading when property is accessed.
Loading orders with items uses .Include(o => o.Items). Without Include, listing 50 orders can trigger 50 extra queries (N+1).
Install Toolliyo like an app Free
Home-screen access to tutorials, coding practice & career tools — no app store needed.
On iPhone/iPad: tap Share then Add to Home Screen.