Trevoir Williams | Blog

Latest

Nov
18
Using Entity Framework with Postgres and Neon

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.
7 min read
Nov
15
Unveiling .NET 9: Enhancements, Quality Assurance, and Understanding

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.
4 min read
Nov
06
Transform Your .NET Skills with Generative AI – Introducing My New Course!

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.
3 min read
Oct
30
Getting Started with ASP.NET Core API, EF Core, and PostgreSQL on Neon

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.
5 min read
Oct
25
Reducing Memory Leaks with Dependency Injection in .NET Development

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.
5 min read
Oct
18
Understanding Memory Leaks in .NET and How to Prevent Them

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.
3 min read
Sep
27

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.
4 min read
Sep
20
Understanding the Aggregator Pattern in Microservices Development

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.
3 min read
Sep
13
Accessing Contiguous Memory in .NET Core: Best Practices and Techniques

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.
4 min read
Sep
06
Best Practices for Managing Object Lifetimes in .NET

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.
3 min read