Using Entity Framework with Postgres and Neon
This article explores the powerful integrations between Entity Framework Core (EF Core) and PostgreSQL. We also take a look at the advantages to hosting our PostgreSQL database on Neon, and give practical guidance on handling EF migrations and database scaffolding.
Unveiling .NET 9: Enhancements, Quality Assurance, and Understanding
This article explores vital improvements in .NET 9 with practical code examples and clarify the distinctions between STS and LTS releases.
Transform Your .NET Skills with Generative AI – Introducing My New Course!
I’m thrilled to announce the launch of my latest course, Generative AI for .NET Developers with Azure AI Services!
This comprehensive course is designed to elevate your expertise in AI, enabling you to create innovative, intelligent, and scalable applications using the robust Azure AI ecosystem.
Getting Started with ASP.NET Core API, EF Core, and PostgreSQL on Neon
In this guide, we’ll integrate Entity Framework Core with PostgreSQL, hosted on Neon.tech, to handle CRUD (Create, Read, Update, Delete) operations for a "Products" table.
Reducing Memory Leaks with Dependency Injection in .NET Development
Dependency injection is a powerful pattern that improves the structure of your code by promoting loose coupling and in .NET development, dependency injection plays a significant role in managing memory effectively and preventing memory leaks.
Understanding Memory Leaks in .NET and How to Prevent Them
In this post, we’ll explore a memory leak, why it can be detrimental to your application’s runtime, and how to avoid common pitfalls with real-world examples.
Classes and Structs in .NET: How They Affect Memory Allocation and Management
This blog post explores the key differences between classes and structs, how they affect memory allocation and best practices for choosing the right one.
Understanding the Aggregator Pattern in Microservices Development
In this blog post, we will dive into the Aggregator Pattern and how it works and explore its implementation using .NET, with code snippets to help you understand the concept better.
Accessing Contiguous Memory in .NET Core: Best Practices and Techniques
This article will explore contiguous memory, why it's essential, and how you can access and manage it effectively in .NET Core.
Best Practices for Managing Object Lifetimes in .NET
Managing object lifetimes is a critical aspect of memory management in .NET applications. Properly handling how long objects remain in memory can significantly impact the performance and efficiency of your software.