C# Corner
Tech
News
Videos
Forums
Trainings
Books
Events
More
Interviews
Jobs
Live
Learn
Career
Members
Blogs
Challenges
Certifications
Bounties
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Refer
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
Tags
No tag found
Content Filter
Articles
Videos
Blogs
Resources
News
Forums
Interviews
Complexity Level
Beginner
Intermediate
Advanced
Refine by Author
[Clear]
Dashrath Hapani(7)
Vishal Yelve(6)
Sardar Mudassar Ali Khan (6)
Sandhiya Priya(5)
John Godel(5)
Jay Krishna Reddy (4)
Jignesh Kumar(4)
Micheal Xavier A (3)
Gowtham Rajamanickam(3)
George (3)
Praveen Raveendran Pillai(3)
Farrukh Rehman(2)
Deepak Pippal(2)
Jayraj Chhaya(2)
Aarav Patel(2)
Niharika Gupta(2)
Sridharan D(2)
Sangeetha S(2)
Ayush Gupta(2)
Mark Pelf(2)
Abhishek Yadav(1)
Pankajkumar Patel(1)
Rajesh Gami(1)
Tuhin Paul(1)
Mominul Islam(1)
Vipin Mittal(1)
Rahul Sen(1)
Yash Prajapati(1)
Patrick Kearns(1)
Shubham Sidnale(1)
Deepika Sawant(1)
Mariem Moalla(1)
Kripanshu Kumar(1)
Mohammed Altaf(1)
sasikala s(1)
Divyansh Gupta(1)
Praveen Kumar(1)
Ashish Bhatnagar(1)
Subham Ray(1)
Ashutosh Singh(1)
Emanuel Martins(1)
Rijwan Ansari(1)
Shafaet Hossain(1)
Mayooran Navamany(1)
Omar Rodriguez(1)
Rajiv Singh(1)
Manoj Kalla(1)
Hamed Niazmand(1)
Tural Suleymani(1)
Safyan Yaqoob(1)
Gurpreet Arora(1)
Geo J Thachankary(1)
Arpit Shrivastava(1)
Resources
No resource found
Entity Framework Core (EF Core) Health Checks — A Complete Guide
Nov 17, 2025.
Ensure database connectivity and stability in .NET applications using EF Core health checks. Implement diagnostics, prevent downtime, and enable smarter orchestration for production-ready systems. Monitor database health effectively.
How to Create Azure Cosmos DB Resources by using the Azure Portal?
Nov 15, 2025.
Learn how to create and manage Azure Cosmos DB resources using the Azure portal. This guide covers account creation, database/container setup, data addition, and cleanup.
Lesson 3  - Integrating MySQL (First Database)
Nov 14, 2025.
Integrate MySQL into your .NET application using Docker! This tutorial covers setup, DbContext creation, connection strings, and EF Core migrations. Build a robust e-commerce backend!
Implementing the Outbox Pattern in ASP.NET Core for Reliable Message Delivery
Nov 13, 2025.
Ensure reliable message delivery in ASP.NET Core with the Outbox Pattern. Learn how to implement it using EF Core and RabbitMQ/Kafka for robust microservices.
.NET Core Developer Roadmap 2025
Nov 08, 2025.
Master .NET Core development in 2025! This roadmap covers C#, ASP.NET Core, EF Core, security, testing, and advanced concepts for building modern applications.
Top .NET Interview Questions & Concepts Explained
Nov 04, 2025.
Ace your .NET & C# interviews! Covers core concepts, ASP.NET MVC, EF Core, SQL, real-time architecture, security, and common coding challenges. Master C#!
.NET Core & C# Full-Stack Advanced MCQ Pack
Nov 04, 2025.
Ace your .NET Core and C# skills! This MCQ pack covers advanced C#, DI, MVC, Web API, EF Core, SQL, System Design, Cloud & Microservices. Test your knowledge now!
đź§± Lesson 2B -Implementing Domain Entities in Clean Architecture (.NET 8)
Oct 31, 2025.
Explore Clean Architecture in .NET 8 by implementing domain entities for an e-commerce system. Learn to define Customer, Product, Order, and OrderItem entities. Dive into DDD!
AI-Centric Data Integration: From ETL Pipelines to Autonomous Data Planes
Oct 31, 2025.
AI-centric data integration automates mapping, matching, & governance, ensuring fresh, trustworthy, and explainable data for AI applications. Learn how!
Lambda Expressions and LINQ in ASP.NET Web Forms
Oct 29, 2025.
Master ASP.NET Web Forms with LINQ and Lambda expressions! Simplify data querying, filtering, and manipulation for cleaner, more efficient code. Boost performance!
Find the Largest and Smallest number in an array
Oct 29, 2025.
Learn how to find the largest and smallest numbers in an array using C# and ASP.NET. This real-time example demonstrates a simple web form with backend logic using LINQ for efficient processing.
AI Agents in Practice: Master Data & Entity Resolution Agent (Prompts + Code)
Oct 22, 2025.
Tired of fragmented data? This article presents an AI Agent for Master Data & Entity Resolution. Deduplicate records, link entities, and ensure consistent data across systems. Implement explainable proposals, governed approvals, and auditable receipts for a trustworthy view of customers, suppliers, and products. Say goodbye to duplicate data surprises!
How LINQ Turns Your C# Code into SQL Queries (With Real Examples)
Oct 21, 2025.
Unlock the power of LINQ! This article provides a comprehensive guide on how LINQ translates your C# code into efficient SQL queries. Learn with practical examples demonstrating filtering, joining, ordering, and grouping. Understand deferred execution and the difference between LINQ to Entities and LINQ to Objects. Master LINQ and optimize your database interactions in .NET!
Orchestrating GenAI Agents at Scale: Batch Processing and Stateful Entities for Enterprise Knowledge Synthesis
Oct 17, 2025.
Learn how NexusMind orchestrates GenAI agents at scale using Azure Functions, Event Hubs, and Durable Entities. Discover batch processing techniques to avoid API throttling and stateful coordination for long-lived agent tasks. Optimize your knowledge synthesis pipelines for efficiency and reliability, processing millions of documents daily with near-perfect success. Explore production-grade code examples for event-driven architectures and durable state management.
Entity Framework Core 9 Fundamentals: Part 6 - Mastering Data Modeling & Relationships Guide
Oct 15, 2025.
Master data modeling and relationships in Entity Framework Core 9! This guide covers data annotations, Fluent API, one-to-many, one-to-one, and many-to-many relationships. Learn to control your database schema, seed data, and handle exceptions for robust and scalable applications. Explore best practices and alternatives like Dapper for optimized performance. Elevate your data architecture skills!
JWT Authentication with ASP.NET Core Identity and Entity Framework (EF)
Oct 11, 2025.
Secure your ASP.NET Core Web APIs with JWT authentication! This tutorial guides you through integrating ASP.NET Core Identity, Entity Framework Core, and JSON Web Tokens for robust user authentication and authorization. Learn to configure Identity, generate and validate JWTs, protect API endpoints, and implement role-based access control. Build a scalable and secure authentication system for modern web applications.
Repository Pattern Over EF: Boon or Burden?
Oct 07, 2025.
Explore the Repository Pattern with Entity Framework in .NET. This article dives into whether wrapping EF with a repository is a boon or burden, covering Unit of Work, generic repositories, read/write separation, and the Specification Pattern. Learn how to build maintainable, testable, and scalable applications by decoupling domain logic from data access, ensuring cleaner code and controlled database interactions. Discover best practices for query optimization and transaction management.
Dapper + Entity Framework Core (EF Core) together against PostgreSQL in .NET 8
Oct 06, 2025.
Combine the power of Entity Framework Core (EF Core) for schema management and Dapper for raw SQL performance in .NET 8 with PostgreSQL. This guide explores two approaches: using EF Core for CRUD and Dapper for complex queries, or sharing a single transaction across both. Learn best practices, avoid common pitfalls, and optimize your data access layer for speed and efficiency. Leverage Dapper and EF Core for robust and performant .NET applications.
Implementing Entity Framework Core with PostgreSQL
Oct 02, 2025.
Learn how to seamlessly integrate Entity Framework Core (EF Core) with PostgreSQL for building robust .NET applications. This guide provides a step-by-step walkthrough, covering project setup, NuGet package installation, database context configuration, connection string setup, migrations, and API controller creation. Discover how to leverage EF Core's ORM capabilities to interact with PostgreSQL using C# models and LINQ, simplifying data access and management in your .NET projects. Start building data-driven applications with ease!
Mastering Delegates in C#
Sep 28, 2025.
This article goes beyond the basics, revealing how delegates enable flexible, extensible, and testable applications. Learn how they underpin events, LINQ, asynchronous programming, and design patterns. Master delegates for clean code, separation of concerns, and building robust systems that scale. Elevate your C# skills today!
LeftJoin in .NET 10 & EF Core 10 - A Game Changer for LINQ Developers
Sep 19, 2025.
Finally! .NET 10 and EF Core 10 introduce native LeftJoin and RightJoin LINQ methods, simplifying data queries and eliminating verbose workarounds. Learn how to use these game-changing features for cleaner, more readable code, mirroring SQL's LEFT JOIN functionality.
IEnumerable vs IQueryable in .NET
Sep 18, 2025.
Learn how IEnumerable handles in-memory data efficiently, while IQueryable shines with remote data sources like databases, translating LINQ to SQL for server-side filtering. Choosing the right interface can dramatically improve your application's speed and resource usage, preventing performance bottlenecks and ensuring smooth data handling.
How to Choose the Right Loading Strategy in EF Core?
Sep 14, 2025.
This article dives into Eager Loading and Lazy Loading strategies, explaining their pros, cons, and practical examples using Customers and Orders. Learn when to use each approach to optimize database queries, reduce memory usage, and prevent the N+1 problem. Choose the right loading strategy for efficient and scalable applications.
What Is Entity Framework Core and How Is It Different from EF6?
Sep 10, 2025.
Understand the key differences between Entity Framework 6 (EF6) and Entity Framework Core (EF Core). This article compares platform support, performance, and features to help you choose the right ORM for your .NET project. Learn when to use EF6 for legacy applications and when EF Core is the better choice for modern, cross-platform, and cloud-based development.
What Is Entity Framework Core and How Is It Different from EF6?
Sep 10, 2025.
Unlock the power of .NET data access! This article clarifies the differences between Entity Framework 6 (EF6) and Entity Framework Core (EF Core), guiding you to choose the right ORM for your project. Discover platform support, performance implications, and ideal use cases for each.
How to Use Migrations in EF Core?
Sep 10, 2025.
Learn how to use Entity Framework Core (EF Core) migrations to keep your database schema in sync with your application's data model. This guide provides a step-by-step explanation of creating, applying, updating, and rolling back migrations using simple commands. Automate database changes, avoid data loss, and streamline teamwork with EF Core migrations.
EF Core Bulk Operations
Sep 05, 2025.
Optimize EF Core performance when dealing with large datasets! This article explores various bulk operation techniques, from built-in options like ExecuteUpdate/Delete to powerful third-party libraries like EFCore.BulkExtensions and Z.EntityFramework.Extensions. Learn when to use each approach, including raw SQL for maximum control, and boost your application's efficiency. Discover the best solution for your needs, whether dealing with thousands or millions of rows.
Find vs GetBy in Entity Framework: Understanding the Right Approach
Aug 31, 2025.
Unlock EF Core efficiency! Compare Find() (primary key, cached) vs. GetBy() (flexible, direct DB query). Learn performance, usage, and error handling for optimal data access.
Entity Framework Unveiled: A Comprehensive Guide to .NET’s Premier ORM
Aug 26, 2025.
Explore Entity Framework, .NET's ORM, simplifying data access. Learn modeling, querying, migrations, and best practices for building scalable applications.
Soft Deletes using EF Core Interceptors
Aug 14, 2025.
Learn how to implement soft deletes in EF Core using interceptors. Mark entities as deleted without removing them, apply global query filters, and ensure automatic, transparent handling of deleted records
What are the Best Practices for EF Core Performance Optimization?
Aug 07, 2025.
Learn how to optimize Entity Framework Core (EF Core) for high-performance data access. This article covers best practices, from query tuning to memory management, with practical C# code examples. Ideal for developers building scalable .NET applications.
How to Use Multiple DbContexts in Entity Framework Core
Aug 05, 2025.
This Blog demonstrates how to use multiple DbContexts in an ASP.NET Core application with Entity Framework Core. It helps manage complex data models, avoid concurrency issues, and maintain clean architecture when working with different parts of a database or multiple databases.
Stop Looping: Use Dictionary<Guid, T> for Fast Entity Access in .NET
Aug 05, 2025.
This post explores a common performance issue in .NET, using collections for ID-based lookups, and presents a cleaner, faster alternative using Dictionary.
CRUD Application using .NET Core and React.js
Aug 01, 2025.
Build a full-stack Employee Management System using ASP.NET Core Web API and React.js with SQL Server. Perform CRUD operations, manage employees, and integrate frontend-backend with Axios and EF Core.
Understanding Entity Framework in .NET
Jul 25, 2025.
Entity Framework is an ORM tool for .NET that simplifies data access by mapping database tables to C# objects, supporting Code First, Database First, and Model First approaches for rapid development.
CRUD Operations in ASP.NET Core with Entity Framework – Real-World Example
Jul 22, 2025.
Got it! Let’s create a real-time CRUD REST API example for a Customer Service system using ASP.NET Core + Entity Framework Core.
Entity Framework Core in ASP.NET Core
Jul 22, 2025.
Learn how to set up Entity Framework Core in an ASP.NET Core MVC project, perform basic CRUD operations, configure DbContext, manage migrations, and follow best practices for scalable and maintainable development.
🔍 Power Pages: Fetch Data from a Dataverse Table and Display Using Liquid Template
Jul 21, 2025.
Learn how to display Dataverse table records on your Power Pages home page using Liquid templates. This guide covers permissions, Liquid syntax, and secure dynamic content rendering for real-world scenarios.
Common Mistakes Developers Make in EF Core : How to Avoid Them
Jul 19, 2025.
Avoid common pitfalls in Entity Framework Core with this practical guide. Learn about typical developer mistakes and how to fix them to write efficient, bug-free EF Core code.
Managing Relationships, Migrations, and Performance Optimization in ASP.NET Core MVC
Jul 18, 2025.
This ASP.NET Core MVC project demonstrates how to manage one-to-many relationships using Entity Framework Core, handle code-first migrations, and apply performance optimization techniques such as AsNoTracking, pagination, and in-memory caching.
Data View and LINQ in C# and VB.NET
Jul 07, 2025.
Learn how to fetch unique values from a DataTable using DataView and LINQ in C# and VB.NET. Explore sorting, filtering, and displaying distinct book records with examples compatible with .NET Core and .NET 9.
.Net 9 Web API Minimal API with Entity Framework
Jun 29, 2025.
Here we will discuss how to create an Entity framework in .Net Minimal Web API with an Authorized JWT (JSON- Wen Token) token in Swagger web view.
Mastering LINQ in C#
Jun 25, 2025.
Language Integrated Query (LINQ) is a game-changer in C#. It brings SQL-like data querying capabilities directly into your C# code, making data manipulation more intuitive, type-safe, and readable.
Understanding the .NET Ecosystem
Jun 24, 2025.
Explore the .NET ecosystem — from C#, ASP.NET Core, and Entity Framework to ML.NET and .NET MAUI — with clear explanations and real-world examples.
Entity Framework Change Tracking
Jun 20, 2025.
This article explains Entity Framework Core Change Tracking, covering how EF tracks entity states, manages updates, and boosts performance using no-tracking queries for efficient, read-only data access.
Understanding Select vs SelectMany in LINQ
Jun 19, 2025.
In this article, we are going to learn about the importance of LINQ features of select and SelectMany and the difference between them.
FirstOrDefault vs. SingleOrDefault in LINQ: Key Differences and Use Cases
Jun 16, 2025.
In this article, we'll dive into the key differences between FirstOrDefault and SingleOrDefault, examining their behaviours, ideal use cases, and guidance on when to use each one. By the end, you'll gain a better understanding of how to utilize these methods to optimize data queries in your C# applications.
Handle Entity Framework Transactions
Jun 15, 2025.
Learn how to manage transactions in Entity Framework to ensure data integrity. This article covers built-in handling, explicit transactions, rollbacks, commits, and managing multiple DbContexts for consistent operations.
Named Entity Recognition (NER) with spaCy and Transformers
Jun 06, 2025.
Learn how to use Named Entity Recognition (NER) with spaCy and transformer models like BERT to extract people, places, and organizations from text with high accuracy.
Liquid Objects in Power Pages Portal – Explained with Examples
Jun 02, 2025.
Learn how to use Liquid Objects in Power Pages Portal with clear examples. This guide helps you customize dynamic content, enhance user experience, and master Power Platform Liquid syntax.
EJB QUERY LANGUAGE (EJB QL)
May 30, 2025.
EJB QL is a query language used to query enterprise beans and their relationships, supporting string and arithmetic functions, with syntax defined using Backus-Naur Form (BNF) for structured query creation.
What is UEBA (User and Entity Behavior Analytics) in SIEM
May 28, 2025.
UEBA (User and Entity Behavior Analytics) enhances SIEM by using AI to detect unusual behavior from users or devices, helping identify insider threats, anomalies, and advanced cyberattacks in real-time.
PLINQ vs LINQ: Use Cases, and Performance Insights in C#
May 25, 2025.
Discover the key differences between LINQ and PLINQ in C#, including their syntax, execution models, performance benchmarks, use cases, and when to choose parallelism for processing large datasets efficiently.
Working with Entities in Power Platform Copilot Studio
May 23, 2025.
Learn how to use entities in Microsoft Copilot Studio to build smarter, AI-powered chatbots. Understand prebuilt and custom entities, improve conversation flows, and enhance user interaction and personalization.
Advanced C# Database Tricks into a Practical Solution
May 02, 2025.
This project demonstrates an advanced C# database architecture combining EF Core, Dapper, and ADO.NET to achieve optimal performance, flexibility, and maintainability—complete with clean architecture, logging, and benchmarks.
Advanced C# Database Tricks for Power Users
May 01, 2025.
Explore advanced C# database techniques using ADO.NET, Entity Framework Core, and Dapper.
How to Convert a DataTable to a List of Objects in C#
Apr 27, 2025.
Learn how to convert a DataTable to a List<T> in C#. Explore manual, reflection-based, and LINQ methods for better performance, type safety, and cleaner code. Improve maintainability in modern C# applications.
Order of Execution in LINQ Queries
Apr 22, 2025.
This article explains the difference between deferred and immediate execution, outlines the execution order, and shares best practices to write efficient and optimized LINQ queries for real-world applications.
LINQ in C# Tutorial for Beginners: 101 C# LINQ Operations
Apr 17, 2025.
Learn LINQ in C# with 101 essential operations for beginners. Simple examples of filtering, sorting, and joining data to make your code better and faster. Perfect for new C# developers.
Entity Framework Core - Deep Performance Optimization Guide
Apr 16, 2025.
Optimize your Entity Framework Core apps with proven performance tips: use AsNoTracking, prevent N+1 issues, project only needed fields, leverage caching, compiled queries, and bulk operations for faster, memory-efficient data access.
.NET 8 - System.Linq.Dynamic.Core – using SQL LIKE
Apr 11, 2025.
System.Linq.Dynamic.Core library does not support SQL LIKE, and I added support for it. Added SQL LIKE support to the System.Linq.Dynamic.Core in .NET 8 using a custom patch. Enables dynamic SQL pattern matching in EF8 projects where built-in LIKE functionality was missing.
Clean Code with Onion Architecture
Apr 11, 2025.
Onion Architecture structures code into layers—Domain, Application, Infrastructure, and UI—ensuring separation of concerns, maintainability, and testability by isolating business logic from external dependencies.
Simple Best Practices for Code Quality and Performance in .NET
Apr 07, 2025.
Let's break down some best practices for writing good and fast code in .NET, using simple examples and including important principles that anyone can understand.
Adding Objects to a Local Database in MAUI .NET 9 [GamesCatalog] - Part 10
Apr 02, 2025.
Learn how to store game reviews in a local SQLite database using MAUI .NET 9. This guide covers setting up repositories, handling images, adding games, and implementing dependency injection for seamless functionality.
Mastering Eager Loading in ASP.NET Core Web API
Mar 31, 2025.
Eager Loading in ASP.NET Core Web API is a technique using Entity Framework Core to load related data (like child entities) alongside the main entity in a single query. It helps improve performance by reducing database round-trip use.Include() and .ThenInclude(). Ideal for situations where related data is always needed.
New LINQ Features in .NET 9
Mar 29, 2025.
Discover the latest LINQ features in .NET 9 that enhance query performance, simplify data manipulation, and introduce new methods for better efficiency.
Exploring PLINQ (Parallel LINQ) for Parallel Processing
Mar 29, 2025.
PLINQ (Parallel LINQ) is a powerful feature in .NET that enables parallel processing of queries to improve performance on multi-core processors.
Lazy Loading in ASP.NET Core Web API
Mar 26, 2025.
Learn how to implement Lazy Loading in ASP.NET Core Web API using Entity Framework Core. This complete guide covers configuration, models, DTOs, controllers, and best practices with a working example.
Understanding Expressions in C#: Dynamic Code and Query Generation
Mar 19, 2025.
Expressions in C# allow dynamic query generation, runtime compilation, and code transformation using Expression Trees. They are widely used in LINQ, ORM frameworks like Entity Framework, and reflection to optimize performance and enable flexible, data-driven logic.
Explicit Loading in ASP.NET Core Web API
Mar 18, 2025.
Explicit Loading in ASP.NET Core Web API is a technique used to manually retrieve related data from the database when needed, using LoadAsync() on navigation properties. Unlike eager loading (Include()) or lazy loading, explicit loading provides better control over database queries, improving performance and efficiency. It is useful when related data is conditionally required.
Learn C#: Refactor Code
Mar 18, 2025.
Refactoring in C# enhances code readability, maintainability, and performance by eliminating redundancy, utilizing LINQ, extracting methods, applying null-coalescing operators, and implementing async/await patterns.
Select vs SelectMany in C# LINQ
Mar 17, 2025.
In C# LINQ, Select transforms each element of a collection individually, maintaining the original structure, while SelectMany flattens nested collections into a single sequence, combining all sub-elements.
Keyset Pagination in Entity Framework Core for Efficient Data Retrieval
Mar 10, 2025.
In this article, I will provide a comprehensive overview of Keyset Pagination in Entity Framework Core, highlighting its benefits, implementation strategies, and a performance comparison with traditional pagination methods
Entity Framework Core 9: Ultimate Performance Tuning & Best Practice
Feb 21, 2025.
Entity Framework is a versatile and powerful ORM, but its performance depends on how it’s used. By following these best practices and leveraging the new features in .NET 9, you can build high-performance applications that scale efficiently.
Entity Framework 9 - GroupBy Throwing Exception
Feb 19, 2025.
Entity Framework 9 (EF9) has a bug where using GroupBy with sorting may throw the exception: "The given key 'EmptyProjectionMember' was not present in the dictionary." Workarounds exist but aren't always practical.
Various Methods to Count Occurrences of Each Number in Array or List
Feb 17, 2025.
In this article, I'll show you different ways to count how often a number appears in C#. We'll look at methods like LINQ, Dictionary, GroupBy, and Parallel.ForEach, and see which ones work best for small and large datasets.
Mitigate OWASP A02 2021-Cryptographic Failures Web Security Tips
Feb 04, 2025.
ADO.NET offers low-level access to databases using SQL commands, while EF is an Object-Relational Mapping (ORM) tool that simplifies database operations by mapping objects to database tables, offering higher-level abstractions.
Be Careful Using Distinct and OrderBy in EF Core Queries
Feb 03, 2025.
Combining Distinct() and OrderBy() in EF Core queries can lead to performance issues. This article explains why and offers solutions for efficient data retrieval.
ADO.NET vs Entity Framework: Understanding the Differences
Feb 03, 2025.
This article compares ADO.NET and Entity Framework (EF), two popular data access technologies in .NET. It explores their differences in performance, data manipulation, and development approaches like code-first vs database-first, helping developers choose the right tool for their application needs.
Learn Quantifier Operations in LINQ
Jan 21, 2025.
Quantifier operations in LINQ simplify logical evaluations of collections using methods like `Any`, `All`, and `Contains`. They enhance readability, reduce boilerplate, and support efficient data validation and filtering.
Entity Framework (5-1), With .Net Core MVC, Database-First --- Scaffold-DbContext
Jan 18, 2025.
This article is to discuss the reverse engineering command Scaffold-DbContext by AI.
Understanding Connected Disconnected Scenarios in EF Core MVC
Jan 06, 2025.
This article explains the connected and disconnected scenarios in Entity Framework Core for ASP.NET Core MVC applications. It covers how EF Core handles data in these scenarios, including change tracking, entity states, and managing database contexts.
Optimize Relationships Migrations Performance in ASP.NET Core MVC
Jan 06, 2025.
This article covers Entity Framework Core, query optimization, caching strategies, lazy and eager loading, and best practices to enhance your MVC application's efficiency.
Modern Featured Entity Framework With SQLite DB Example
Dec 11, 2024.
Learn to build a .NET Core application using C# async/await and SQLite with Entity Framework. Implement CRUD operations, handle asynchronous tasks, and explore efficient database interaction using Visual Studio 2022.
New LINQ Methods in .NET 9: Index, CountBy, and AggregateBy
Dec 11, 2024.
In this article, I will showcase the new methods: Index, CountBy, and AggregateBy. These powerful additions in .NET 9 bring significant enhancements to LINQ, aimed at improving your coding experience and simplifying data manipulation tasks.
CRUD Operations with ASP.NET Core API and EF Core
Nov 29, 2024.
This article provides step-by-step instructions for building a RESTful API, integrating EF Core for database management, and performing essential data operations seamlessly.
C# Foundation - Implicitly Typed Variables
Nov 28, 2024.
Implicitly typed variables in C#, declared using the var keyword, let the compiler infer the data type from the initialization expression. This improves code readability and reduces verbosity, especially with complex types.
.NET 9 CountBy: A New LINQ Powerhouse
Nov 20, 2024.
.NET 9 introduces the CountBy method, a powerful addition to LINQ that enhances querying capabilities. This feature allows developers to count elements based on specified conditions efficiently.
Understanding IEnumerable In C#
Nov 14, 2024.
IEnumerable in C# is an interface that defines a standard way to iterate over a collection of objects. The IEnumerable interface in C# provides a standard, efficient way to iterate over collections using foreach, enabling cleaner, more readable code, and LINQ integration.
Creating a CQRS Architecture in .NET Core 8
Nov 04, 2024.
This guide outlines a practical implementation of the CQRS (Command Query Responsibility Segregation) architecture using C# and MediatR, emphasizing the separation of read and write operations for better scalability and maintainability.
How Select and SelectMany Works in C#
Oct 26, 2024.
Learn key differences, practical use cases, and examples that demonstrate how these methods simplify data manipulation, making it easier to work with nested and complex data structures in C#.
Overview of Minimal API
Oct 01, 2024.
Minimal API in ASP.NET Core provides a streamlined approach to building HTTP APIs with minimal configuration. Introduced in .NET 6, it allows for lightweight API development without controllers, making it ideal for small projects. This article covers key features, and differences from traditional APIs, HTTP verbs, and routing techniques.
How Func Delegates Work in LINQ
Sep 27, 2024.
In this article, we explore how Func delegates operate within LINQ (Language Integrated Query) in C#. Func delegates enable concise and powerful data manipulation by allowing developers to pass methods as parameters.
Solid Introduction to Expression Trees in C#
Sep 26, 2024.
This article provides a comprehensive introduction to Expression Trees in C#. You'll learn about their structure, how they represent code as data, and their applications in LINQ queries.
Understanding Key Concepts in Domain-Driven Design
Sep 23, 2024.
In this article, we will explore how these concepts drive effective software modeling, ensuring alignment between the business domain and your codebase.
Exploring the Performance Boosts in .NET 9
Sep 20, 2024.
.NET 9 introduces key performance improvements, including Native AOT for faster startup times and reduced memory usage, optimized garbage collection, enhanced threading for multicore systems, and HTTP/3 support for improved network performance.
POCO to Dictionary Conversion Techniques in C#
Sep 16, 2024.
This article explores five methods for converting a C# POCO to a dictionary using reflection, LINQ, JSON libraries, and ExpandoObject, comparing their performance through Benchmark.NET to find the best approach.
Entity Framework Core Code-First Approach with Seed Data
Sep 09, 2024.
It will be beneficial to beginners who are struggling with Entity Framework Core and Creating Code-First Approach. The EF-Core Code-First approach involves creating domain classes first and then generating the database using migrations.
Entity Framework (3-0), Entity Data Model (EDM)
Sep 07, 2024.
This article is to describe Entity Data Model for EF
Entity Framework (3), with .Net MVC, Model-First
Sep 01, 2024.
This article will discuss Entity Framework with .Net MVC, Model-First approach