Loading
Quick takes from developers at work.
Tips, fixes and short write-ups on what developers ran into this week, in their own words.
When an application needs to perform several steps for the same request, putting everything into one large method can quickly make the code hard to understand and maintain. The Pipeline Pattern is a simple way to solve this problem. It breaks the overall process into smaller steps, with each step responsible for one specific task.

Learn how to restore a deleted file in Git using git restore, previous commits, and parent commits without reverting the entire commit or branch.

Learn C# data management with Entity Framework Core. Set up connections, manage entities, and implement data operations for your applications.

Short example on JSON serialisation aimed to combat excessive use of JObjects

Build a high-performance, low-allocation Excel writer in .NET using streaming, IBufferWriter<byte>, and OOXML internals. Achieve 8-10x speed and 30-100x less memory.

Elevate .NET code reliability! Learn how `<TreatWarningsAsErrors>` transforms compiler warnings into errors, forcing developers to address potential issues early. Improve code quality and prevent runtime failures.

Learn how to add and customize headers and footers in Word documents using C# with the Spire.Doc library, including text, images, page numbers, and different page layouts.

Learn how to programmatically delete PDF pages in C# using a free .NET library. This step-by-step guide covers single and multiple page removal, error handling, and more. Automate your PDF processing and streamline document management tasks efficiently without Adobe Acrobat.

Master ASP.NET MVC DropDownList! Learn static, dynamic (database), and custom dropdowns with clear examples, best practices, and common mistake avoidance. Enhance your forms!

Server-Sent Events (SSE) offer a lightweight and efficient standard for handling real-time unidirectional data streams. By leveraging standard HTTP connections, SSE avoids the complexity of WebSockets for scenarios where the client only needs to receive updates.

Learn how to use CancellationToken in .NET 9.0 to gracefully stop async tasks, prevent resource waste, and improve application stability. Includes code example!

Simplify .NET debugging with [DebuggerDisplay]! Customize object display in Visual Studio for clearer data insights. Boost productivity & understand complex models faster. Works from .NET 2.0 to 9.0.

In modern application development, handling responses consistently is just as important as writing the core business logic. When a method executes, it may succeed and return useful data — or fail and produce one or more errors. Traditionally, developers return a bool for success, throw exceptions for errors, or return plain data. But these approaches often lead to scattered error handling and less maintainable code. To solve this problem, we can use a generic response wrapper. In C#, a popular way to achieve this is with a CommandResponse<T> class. This class encapsulates data, errors, and status in a single structured object, making code cleaner, consistent, and easier to work with.

Central Package Management lets you keep all NuGet package versions in one central file for your solution. Instead of writing the version number in every project file, you set it once in a file called Directory.Packages.props, and all projects use that version.

Learn how to migrate SQL Server databases from Azure to AWS using C#. This guide covers connection setup, schema transfer, data copy with SqlBulkCopy, error handling, and performance tips.

UpdatePanel offers an easy way to add AJAX-like behavior to your ASP.NET Web Forms without writing custom JavaScript. If you’re using Master Pages, just remember to centralize your ScriptManager and scope your content correctly.

This Web API project in ASP.NET handles financial chart data by processing multiple ISINs, validating client headers, executing SQL stored procedures, and returning structured JSON data for market analysis.

Discover how Layer-2 rollups like Optimistic and ZK-Rollups scale Ethereum by reducing gas fees and boosting speed. Learn how Coinbase’s Base leverages rollups to power the next wave of Web3 innovation.

Learn how to use the Repeater control in ASP.NET Web Forms with C# to display IPO data from a SQL Server database. This lightweight, customizable control is ideal for simple, flexible, HTML-driven data presentation.

Hello everyone, Today, I want to walk you through a step-by-step article to implementing simple CRUD operations using Fluent NHibernate with ASP.NET Core Web API.

A practical guide to implementing Dependency Injection in .NET Core using the built-in IoC container. Explore real-world examples, understand service lifetimes, and improve testability and architecture in your ASP.NET Core apps.

Performance marketing focuses on delivering measurable results like leads and sales, not just ads. Learn how to become a high-earning performance marketer by mastering strategy, copywriting, funnels, and data-driven optimization.

Learn how to create and use Oracle SEQUENCE objects to auto-generate unique IDs, and integrate them seamlessly into your C# .NET applications with ADO.NET for reliable database inserts.

.NET 8 simplifies polymorphic JSON serialization and deserialization with built-in support using JsonPolymorphic and JsonDerivedType, removing the need for workarounds or third-party libraries.

Learn how to send Firebase Cloud Messaging (FCM) push notifications using ASP.NET Core Web API. This step-by-step guide covers generating a Firebase Admin SDK private key, creating OAuth access tokens, setting up notification models, and implementing a secure Web API endpoint to send messages to Android or web devices.
Everything on .NET, not only its blogs: the .NET page →
Write a blog post and earn +250 SHARP when it is approved.
Write a blog