#CSharp Posts (Page - 2)
Writing Raw SQL When Entity Framework Isn’t Enough
Entity Framework makes database access straightforward, handling most queries with minimal code. However, there are situations where LINQ queries become difficult to optimise, database-specific features are required, or performance is critical. In these cases, writing raw SQL can provide greater control, improved efficiency, and access to capabilities that Entity Framework does not directly support.

Migrations in EF Core Without Breaking Production
Entity Framework Core migrations make database changes manageable, but applying them incorrectly can cause downtime, failed deployments, or data loss in production. This article explores practical strategies for safely managing EF Core migrations, including deployment planning, testing, rollback preparation, and handling schema changes in live environments without disrupting users.

Entity Framework Core Performance Tips
Entity Framework Core is a powerful ORM for .NET developers, but poor query design and inefficient data access can quickly create performance bottlenecks. This article explores practical techniques for improving application speed, reducing database load, and making EF Core applications more scalable and responsive in production environments.

Rendering Performance Tips for Large Blazor Apps
As Blazor applications grow, rendering performance can quickly become a challenge. Large component trees, excessive re-rendering and inefficient state handling can lead to sluggish interfaces and poor user experience. This article explores practical techniques for improving rendering performance in large Blazor applications while keeping code maintainable and scalable.

JavaScript Interop in Blazor Explained
Blazor allows developers to build interactive web applications using C# instead of JavaScript, but there are still situations where browser APIs or JavaScript libraries are required. JavaScript Interop provides the bridge between Blazor and JavaScript, enabling developers to call JavaScript functions from C# and vice versa while keeping applications modern, flexible, and efficient.

Recreating a Classic Amiga Demo Effect in Modern C#
The demoscene on the Commodore Amiga pushed hardware to its limits with clever tricks and tight optimisation. In this article, we revisit one of those iconic visual effects and recreate it using modern C#. By combining mathematical principles with today’s frameworks, we can bring retro visuals to life while appreciating the ingenuity of early developers.

Become a member
Get the latest news right in your inbox. It's free and you can unsubscribe at any time. We hate spam as much as we do, so we never spam!
