<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>C# on Jure</title><link>https://juredev.com/en/tags/c%23/</link><description>Recent content in C# on Jure</description><generator>Hugo</generator><language>en</language><lastBuildDate>Mon, 23 Nov 2026 06:33:23 -0400</lastBuildDate><atom:link href="https://juredev.com/en/tags/c%23/index.xml" rel="self" type="application/rss+xml"/><item><title>Blazor and the Rendering Vocabulary: SSR, CSR, SSG, and ISR in ASP.NET Core</title><link>https://juredev.com/en/blog/2026/blazor-rendering-vocabulary-ssr-csr-ssg-isr-aspnet-core/</link><pubDate>Mon, 23 Nov 2026 06:33:21 -0400</pubDate><guid>https://juredev.com/en/blog/2026/blazor-rendering-vocabulary-ssr-csr-ssg-isr-aspnet-core/</guid><description>&lt;p&gt;Blazor does not talk about CSR, SSR, SSG, or ISR: it talks about &lt;em&gt;render modes&lt;/em&gt;. But beneath those names lie the same familiar decisions: who generates the HTML, when, and where interactivity lives.&lt;/p&gt;
&lt;p&gt;In the previous article, &lt;em&gt;&lt;a href="https://juredev.com/en/blog/2026/understanding-rendering-strategies-ssr-csr-ssg-isr/"&gt;SSR, CSR, SSG, and ISR: Understanding Modern Rendering Strategies&lt;/a&gt;&lt;/em&gt;, we reviewed those four strategies in general. Here, we translate them into the ASP.NET Core world: which render mode corresponds to each acronym, which one doesn&amp;rsquo;t fit into any of them, and what is needed to get closer to SSG and ISR.&lt;/p&gt;</description></item><item><title>LINQ and EF Core in High-Performance Environments: Architecture at Scale</title><link>https://juredev.com/en/blog/2026/linq-ef-core-architecture-performance-at-scale/</link><pubDate>Mon, 18 May 2026 19:12:32 -0400</pubDate><guid>https://juredev.com/en/blog/2026/linq-ef-core-architecture-performance-at-scale/</guid><description>&lt;p&gt;In our previous articles, we laid the groundwork for writing &lt;a href="https://juredev.com/en/blog/2025/linq-in-dotnet-keys-to-powerful-and-elegant-code/"&gt;elegant code with LINQ&lt;/a&gt; and broke down how to master &lt;a href="https://juredev.com/en/blog/2025/advanced-joins-linq-entity-framework-csharp/"&gt;advanced joins&lt;/a&gt;. We also raised the red flags on why &lt;a href="https://juredev.com/en/blog/2026/ef-core-at-scale-millions-of-records/"&gt;applications struggle when handling millions of records&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;When your dataset scales from thousands to millions of rows, writing queries that simply &amp;ldquo;work&amp;rdquo; is no longer enough. You need to understand precisely how .NET internals operate and how the ORM interacts with the database engine. In this advanced guide, we&amp;rsquo;ll connect these concepts to build a data architecture that won&amp;rsquo;t collapse under pressure.&lt;/p&gt;</description></item><item><title>Blazor Web Apps: Real-World Architecture, Decisions, and Trade-offs</title><link>https://juredev.com/en/blog/2026/blazor-web-apps-real-world-architecture-decisions-trade-offs/</link><pubDate>Sun, 17 May 2026 07:04:51 -0400</pubDate><guid>https://juredev.com/en/blog/2026/blazor-web-apps-real-world-architecture-decisions-trade-offs/</guid><description>&lt;p&gt;If you&amp;rsquo;ve followed this series, you already know what Blazor Web Apps are, you master Render Modes, and you thoroughly understand how to handle the lifecycle and prerendering (you can catch up on the &lt;a href="https://juredev.com/en/blog/2026/blazor-web-apps-in-depth-state-lifecycle-pitfalls/"&gt;previous article here&lt;/a&gt;). At this point, your application works… but is it truly production-ready?&lt;/p&gt;
&lt;p&gt;As soon as you try to structure something serious, the second big shock of the series surfaces:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;“I have three projects, two implementations of the same service, and no idea where anything goes.”&lt;/p&gt;</description></item><item><title>Blazor Web Apps in Depth: State, Lifecycle, and Pitfalls</title><link>https://juredev.com/en/blog/2026/blazor-web-apps-in-depth-state-lifecycle-pitfalls/</link><pubDate>Sat, 09 May 2026 22:21:19 -0400</pubDate><guid>https://juredev.com/en/blog/2026/blazor-web-apps-in-depth-state-lifecycle-pitfalls/</guid><description>&lt;p&gt;In the &lt;a href="https://juredev.com/en/blog/2026/blazor-web-apps-choosing-render-modes/"&gt;previous article&lt;/a&gt;, we explored how to choose and apply the different &lt;strong&gt;Render Modes&lt;/strong&gt;. It seemed straightforward enough: drop in &lt;code&gt;@rendermode InteractiveAuto&lt;/code&gt; and you are good to go. But as soon as you start building real-world components with database queries, API calls, or JavaScript interop, you run into your first surprise:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&amp;ldquo;My component is executing requests twice… and it&amp;rsquo;s not a bug.&amp;rdquo;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;In this article, we&amp;rsquo;ll break down why this happens, how state behaves in this new hybrid model, and—most importantly—how to solve these issues using the tools provided by .NET 10.&lt;/p&gt;</description></item><item><title>C# vs Go: Understanding Their Key Differences</title><link>https://juredev.com/en/blog/2026/csharp-vs-go-key-differences/</link><pubDate>Wed, 06 May 2026 08:14:41 -0400</pubDate><guid>https://juredev.com/en/blog/2026/csharp-vs-go-key-differences/</guid><description>&lt;p&gt;If you&amp;rsquo;ve worked with C# in the .NET ecosystem, you&amp;rsquo;ve almost certainly heard of Go—the language Google created to address scalability and concurrency challenges in modern cloud environments.&lt;/p&gt;
&lt;p&gt;While both are powerful, modern languages, their philosophies differ sharply. C# focuses on flexibility, object-oriented design, and a comprehensive enterprise ecosystem. Go, on the other hand, prioritizes extreme simplicity, performance, and efficient concurrency built directly into the core language.&lt;/p&gt;
&lt;p&gt;I have used both in production: C# in large-scale enterprise applications and Go in cloud-native services handling thousands of requests per second. That experience made it clear that it&amp;rsquo;s never about deciding which language is &amp;ldquo;better,&amp;rdquo; but rather which tool is the right fit for the specific problem in front of you.&lt;/p&gt;</description></item><item><title>Blazor Web Apps in Practice: Choosing and Applying Render Modes</title><link>https://juredev.com/en/blog/2026/blazor-web-apps-choosing-render-modes/</link><pubDate>Fri, 01 May 2026 13:03:35 -0400</pubDate><guid>https://juredev.com/en/blog/2026/blazor-web-apps-choosing-render-modes/</guid><description>&lt;p&gt;In the &lt;a href="https://juredev.com/en/blog/2026/blazor-web-apps-evolution-or-paradigm-shift/"&gt;previous article&lt;/a&gt;, we saw how Blazor evolved from being &amp;ldquo;either WebAssembly or Server&amp;rdquo; to a much more powerful unified model. But knowing it exists is not the same as knowing &lt;strong&gt;how to use it well&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;Today we&amp;rsquo;re going to get our hands dirty with the most important decision you&amp;rsquo;ll make when working with Blazor Web Apps in .NET 10: &lt;strong&gt;Which Render Mode should I choose for each part of my application?&lt;/strong&gt;&lt;/p&gt;</description></item><item><title>6 Habits That Turn a Programmer into a Long-Term Professional</title><link>https://juredev.com/en/blog/2026/6-habits-that-turn-a-programmer-into-a-long-term-professional/</link><pubDate>Sat, 25 Apr 2026 12:48:45 -0400</pubDate><guid>https://juredev.com/en/blog/2026/6-habits-that-turn-a-programmer-into-a-long-term-professional/</guid><description>&lt;p&gt;It&amp;rsquo;s not about learning more frameworks or typing code faster. The real difference between an average developer and an exceptional one almost always lies in the habits they cultivate and how they apply them with sound judgment and discipline.&lt;/p&gt;
&lt;h2 id="habit-01-git-is-not-just-a-backup-system"&gt;Habit 01: Git Is Not Just a Backup System&lt;/h2&gt;
&lt;p&gt;Most developers use &lt;a href="https://juredev.com/blog/tag/git/"&gt;Git&lt;/a&gt; on autopilot: &lt;code&gt;add&lt;/code&gt;, &lt;code&gt;commit&lt;/code&gt;, &lt;code&gt;push&lt;/code&gt;. That&amp;rsquo;s enough to avoid losing your work, but it&amp;rsquo;s not enough if you want to collaborate effectively or debug issues easily months later.&lt;/p&gt;</description></item><item><title>Entity Framework Core at Scale: Why Your App Crumbles with Millions of Records (and How to Prevent It)</title><link>https://juredev.com/en/blog/2026/ef-core-at-scale-millions-of-records/</link><pubDate>Sat, 21 Mar 2026 08:55:20 -0400</pubDate><guid>https://juredev.com/en/blog/2026/ef-core-at-scale-millions-of-records/</guid><description>&lt;p&gt;When you&amp;rsquo;re working on small or medium projects with &lt;strong&gt;&lt;a href="https://en.wikipedia.org/wiki/Entity_Framework"&gt;Entity Framework Core&lt;/a&gt;&lt;/strong&gt;, everything runs like a charm: expressive queries, clean code, productivity through the roof.&lt;/p&gt;
&lt;p&gt;And then suddenly… millions of records arrive.&lt;/p&gt;
&lt;p&gt;It&amp;rsquo;s not that the data grows gradually and gives you time to react. No. One day you&amp;rsquo;re comfortable with 50,000 rows, and the next day your application starts struggling: queries that used to run in milliseconds now take seconds (or minutes), &lt;code&gt;SaveChanges()&lt;/code&gt; turns into torture, memory spikes, and timeouts pop up everywhere.&lt;/p&gt;</description></item><item><title>Middleware and the HTTP Pipeline in ASP.NET Core: How a Request Really Flows</title><link>https://juredev.com/en/blog/2026/middleware-http-pipeline-aspnet-core/</link><pubDate>Mon, 16 Mar 2026 20:11:16 -0400</pubDate><guid>https://juredev.com/en/blog/2026/middleware-http-pipeline-aspnet-core/</guid><description>&lt;p&gt;When an HTTP request reaches your &lt;a href="https://juredev.com/blog/?s=ASP.NET+Core"&gt;ASP.NET Core&lt;/a&gt; application, it doesn&amp;rsquo;t go straight to the controller, nor does it magically jump to your Minimal API endpoint.&lt;/p&gt;
&lt;p&gt;First, it has to traverse something almost all of us use daily, but many people don&amp;rsquo;t fully understand: &lt;strong&gt;the middleware pipeline&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;Each piece of middleware in that chain has the opportunity to:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;inspect the request&lt;/li&gt;
&lt;li&gt;modify the &lt;code&gt;HttpContext&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;short-circuit the flow right then and there&lt;/li&gt;
&lt;li&gt;or simply let the request continue its way to the next component&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Thoroughly understanding how this pipeline works will save you from plenty of headaches. It is key to:&lt;/p&gt;</description></item><item><title>12 Practical Rules to Get the Most Out of Dependency Injection in ASP.NET Core</title><link>https://juredev.com/en/blog/2026/12-practical-rules-dependency-injection-aspnet-core/</link><pubDate>Thu, 05 Mar 2026 08:37:05 -0400</pubDate><guid>https://juredev.com/en/blog/2026/12-practical-rules-dependency-injection-aspnet-core/</guid><description>&lt;p&gt;&lt;a href="https://en.wikipedia.org/wiki/Dependency_injection"&gt;Dependency injection (DI)&lt;/a&gt; in ASP.NET Core is not an add-on: it is a first-class citizen. The container comes built-in from day one and is part of the application&amp;rsquo;s very startup sequence.&lt;/p&gt;
&lt;p&gt;When used well, our applications become much easier to:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Maintain&lt;/li&gt;
&lt;li&gt;Test&lt;/li&gt;
&lt;li&gt;Understand (separation of concerns)&lt;/li&gt;
&lt;li&gt;Scale&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;But when used incorrectly… the problems can be silent and expensive: memory leaks, hard-to-reproduce race conditions, circular dependencies, and services that end up tightly coupled without us even realizing it.&lt;/p&gt;</description></item><item><title>C# vs. PHP: Understanding Their Key Differences</title><link>https://juredev.com/en/blog/2025/csharp-vs-php-key-differences/</link><pubDate>Sat, 19 Apr 2025 20:10:16 -0400</pubDate><guid>https://juredev.com/en/blog/2025/csharp-vs-php-key-differences/</guid><description>&lt;p&gt;If you are getting started in software development and trying to choose between C# and PHP, or simply want to understand what makes each of them unique, you&amp;rsquo;ve come to the right place. A few months ago, I wrote about &lt;a href="https://juredev.com/en/blog/2024/rust-vs-csharp-key-differences/"&gt;C# and Rust&lt;/a&gt;, comparing their strengths, and now it&amp;rsquo;s time to explore two languages I use heavily in my daily work: C# and PHP. Both are powerful and widely used, but they take different approaches and serve different purposes. In this article, we&amp;rsquo;ll compare C# and PHP in a clear, approachable way, with practical examples and an overview of their key differences. Let&amp;rsquo;s dive into what sets them apart and how they can help you with your projects!&lt;/p&gt;</description></item><item><title>Advanced Joins with LINQ and Entity Framework: Use Cases and Optimization in C#</title><link>https://juredev.com/en/blog/2025/advanced-joins-linq-entity-framework-csharp/</link><pubDate>Sat, 05 Apr 2025 19:13:19 -0400</pubDate><guid>https://juredev.com/en/blog/2025/advanced-joins-linq-entity-framework-csharp/</guid><description>&lt;p&gt;Working with databases almost always involves combining information from multiple tables. That is where joins become our greatest allies, enabling us to connect related data logically and efficiently. In C#, thanks to LINQ (Language Integrated Query) and Entity Framework (EF), this task becomes even simpler: we can do it directly in code, safely, and without wrestling with complex SQL queries.&lt;/p&gt;
&lt;p&gt;In a previous article, I explored the power of SQL joins and how to combine data with practical examples. If you want to check it out before moving forward, you can find it here: &lt;a href="https://juredev.com/en/blog/2025/sql-joins-explained-with-examples/"&gt;The Power of SQL Joins: Learn to Combine Your Data with Simple Examples&lt;/a&gt;. Now, in this guide, we will focus on how to use joins with LINQ and EF in a practical, accessible way. We will cover everything from the basics to more advanced use cases, all with clear examples and useful tips. Whether you are just getting started with these tools or looking to refresh your knowledge, this article is for you.&lt;/p&gt;</description></item><item><title>LINQ in .NET: Key Practices for Powerful and Elegant Code</title><link>https://juredev.com/en/blog/2025/linq-in-dotnet-keys-to-powerful-and-elegant-code/</link><pubDate>Sun, 16 Mar 2025 11:12:14 -0400</pubDate><guid>https://juredev.com/en/blog/2025/linq-in-dotnet-keys-to-powerful-and-elegant-code/</guid><description>&lt;p&gt;Whether you have been working with .NET for a while or are just getting started, you have almost certainly run into LINQ (Language Integrated Query). It is one of those tools that, once you discover it, makes you wonder how you ever lived without it. LINQ allows me to query and manipulate data—whether in lists or databases—in an incredibly fluid way, almost as if talking directly to the data, without having to write raw SQL queries whenever working with a database. Let&amp;rsquo;s admit it: that makes life a lot easier when dealing with data in your code.&lt;/p&gt;</description></item><item><title>Asynchronous Programming in .NET: A Practical Guide with CATAAS Examples</title><link>https://juredev.com/en/blog/2025/async-programming-dotnet-cataas-guide/</link><pubDate>Sun, 02 Mar 2025 20:22:46 -0400</pubDate><guid>https://juredev.com/en/blog/2025/async-programming-dotnet-cataas-guide/</guid><description>&lt;p&gt;Not long ago, I was reviewing an old program I wrote a while back, and I realized that I wasn&amp;rsquo;t using asynchrony anywhere; looking at it, I noticed just how much software development has changed. Nowadays, asynchronous programming in C# is essential for building responsive applications across various development scenarios, allowing long-running tasks—such as network requests or file reads—to execute without interrupting the user experience. However, if it isn&amp;rsquo;t used properly, it can lead to performance issues such as unnecessary resource consumption, application-freezing deadlocks, or unexpected behavior like swallowed exceptions and inconsistent results.&lt;/p&gt;</description></item><item><title>Rust vs C#: Understanding Their Key Differences</title><link>https://juredev.com/en/blog/2024/rust-vs-csharp-key-differences/</link><pubDate>Sat, 14 Sep 2024 17:05:29 -0400</pubDate><guid>https://juredev.com/en/blog/2024/rust-vs-csharp-key-differences/</guid><description>&lt;p&gt;If you are exploring the world of programming, you might have heard of Rust and C#. These two languages take very different approaches. In this article, I clearly and simply explain their main differences, including code examples so you can see them in action.&lt;/p&gt;
&lt;h2 id="1-memory-management-manual-or-automatic"&gt;1. Memory Management: Manual or Automatic?&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;Rust: Total control, zero surprises&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;In Rust, memory is managed through an ownership and borrowing system. What does this mean? You do not need a memory &amp;ldquo;garbage collector&amp;rdquo;, since Rust prevents bugs like null pointers and race conditions before the code even runs. The result: greater safety and performance. Memory is handled using an ownership and borrowing model, meaning you can write efficient code without worrying about garbage collection.&lt;/p&gt;</description></item></channel></rss>