All Articles
13 articles on .NET development and cloud hosting
EF Core Raw SQL Queries — When and How to Use Them
Learn when raw SQL beats LINQ in EF Core, how to use FromSqlRaw, FromSqlInterpolated, and ExecuteSqlRaw safely, and how to prevent SQL injection with parameterization.
AWS Elastic Beanstalk vs Azure App Service for .NET
Side-by-side comparison of AWS Elastic Beanstalk and Azure App Service for .NET workloads: setup, pricing, scaling, runtime support, CI/CD, monitoring, and a clear verdict.
ValueTask vs Task in C# — Performance Deep Dive
A thorough comparison of ValueTask and Task in C#: heap allocation differences, when ValueTask genuinely improves performance, benchmarks, and when to stick with Task.
EF Core Many-to-Many Relationships in .NET 8
Complete guide to EF Core many-to-many relationships: implicit junction tables, explicit join entities, querying through collections, and adding or removing items with EF Core 8.
Deploy a .NET App to Railway in 10 Minutes
Step-by-step guide to deploying a .NET 8 app on Railway: Dockerfile setup, railway.json config, environment variables, custom domains, Railway CLI, pricing, and honest pros and cons.
How to Avoid Async Deadlocks in C#
Understand why async deadlocks happen in C# with .Result and .Wait(), how SynchronizationContext causes them, and the patterns that prevent them entirely.
EF Core One-to-Many Relationships — The Complete Explanation
Master EF Core one-to-many relationships: navigation properties, foreign keys, Fluent API configuration, eager/lazy/explicit loading, and cascade delete options.
Azure App Service for .NET — Setup, Pricing & Configuration
Step-by-step guide to deploying .NET 8 apps on Azure App Service: CLI setup, pricing tiers, deployment slots, environment variables, scaling, and GitHub Actions CI/CD.
async/await vs Task.Run in C# — When to Use Which
Understand the critical difference between async/await for I/O-bound work and Task.Run for CPU-bound work in C#, with practical examples and common mistakes to avoid.
EF Core Migrations: The Definitive Walkthrough
A complete walkthrough of EF Core migrations: adding, understanding, applying, rolling back, squashing, and safely deploying migrations to production databases.
C# async/await Complete Guide — Task, ValueTask, ConfigureAwait
Master C# async/await from first principles: Task, Task<T>, ValueTask, ConfigureAwait(false), common pitfalls, and error handling with practical runnable examples.
Entity Framework Core Complete Guide — Setup, Queries, Migrations
Everything you need to get started with Entity Framework Core 8: installation, DbContext, entities, migrations, CRUD, LINQ queries, and relationships with runnable code examples.
Best .NET Hosting in 2025 — Full Comparison (Azure, AWS, Railway, Fly.io)
A thorough comparison of the top .NET hosting platforms in 2025, including Azure, AWS, Railway, Fly.io, Render, and DigitalOcean — with pricing, DX, and a recommendation matrix.