Quick takes from developers at work.
Tips, fixes and short write-ups on what developers ran into this week, in their own words.
Long polling is a technique used to achieve real-time communication between a client and a server. Unlike traditional polling, where the client repeatedly requests updates from the server, long polling keeps the connection open until the server has new information to send, reducing latency and improving efficiency. In this blog post, we'll explore how to implement long polling in a .NET application for real-time updates.

In .NET Core, various techniques and libraries are available for managing state, each catering to different scenarios and requirements. This article explores different state management techniques in .NET Core and provides code examples to illustrate their usage.

API performance play crucial role in determining the overall user experience of an application. In this blog post, we'll explore five effective methods to enhance the performance of APIs in .NET applications. Each method is accompanied by a detailed explanation and code snippets to demonstrate its implementation.

In this blog post, we'll explore how to connect and interact with Redshift tables from .NET applications using the Npgsql library. We'll cover the architecture of Redshift and basic CRUD operations and provide code examples to help you get started.

In this blog post, we'll explore a clean and elegant approach to streamline dependency injection registration using custom attributes in .NET Core. By leveraging custom attributes, we can annotate our service implementation classes with metadata that dictates their lifetime scope, such as scoped, transient, or singleton.

CAPTCHA (Completely Automated Public Turing test to tell Computers and Humans Apart) is a security mechanism used to differentiate between human users and automated bots. In this tutorial, we'll learn how to integrate Google reCAPTCHA with an ASP.NET Core web application to prevent spam and abuse.

In this blog post, we'll explore how to build a .NET Core web application that includes background services. Background services are long-running tasks that run independently of the main application thread, making them ideal for tasks like monitoring, scheduling, and other asynchronous operations. We'll specifically focus on creating two background services: InstrumentationService and PeriodicService.

In this detailed blog, we’ll explore how to integrate Kafka with C# web applications, covering the creation of Kafka topics, consumers, and retrieving messages from topics. We’ll provide a step-by-step guide with C# code snippets to help you get started.

However, logging sensitive data like passwords or personal information can pose security risks. In this blog post, we'll delve into implementing structured logging with Serilog and sanitizing sensitive data before logging it, utilizing the Console sink as an example.

In this blog post, we'll explore how to perform bulk data insertion using Entity Framework in a C# application. Bulk insertion is a common requirement when dealing with large datasets, and it's essential to handle errors gracefully and efficiently.

Enums in C# have long been the go-to choice for defining a fixed set of related constants. However, they come with limitations that can hinder flexibility and extensibility in certain scenarios. In this blog post, we will explore a powerful alternative in .NET: Enumeration Classes. We'll delve into what enumeration classes are, how they can be implemented, and why they offer a compelling alternative to traditional enums.

Apache Kafka is a powerful distributed event streaming platform that is widely used in .NET applications for building real-time data pipelines and stream processing solutions. In this blog post, we'll explore Kafka topics in the context of .NET development and delve into their significance and usage.

Carter is a library for building HTTP APIs in .NET. It simplifies the process of defining and organizing endpoints in your application. Here's a step-by-step guide on how to use Carter with Minimal API

In .NET programming, ref locals offer a powerful feature that allows developers to work with references to variables directly. One such capability is ref local reassignment, which enables modifying the value of a variable through a reference. This blog explores the concept of ref local reassignment, its syntax, and its practical applications in .NET development.

One of the major issues encountered when connecting to databases after porting the ASP.NET app to Docker Linux containers. Migrating ASP.NET apps to Linux Docker containers posed challenges, notably with Multiple Active Result Sets (MARS). Avoid enabling MARS on Linux for smoother deployments.

C# Plugin not called, and plugin trace logs not generated in Dynamic 365. Ensure C# plugins in Dynamics 365 work by adding related processes, plug-in assembly, and SDK message steps to your solution.

Testing is an integral part of the software development life cycle, ensuring the reliability and correctness of your code. In the .NET Core ecosystem, developers have several testing frameworks to choose from, each with its own set of features and conventions.

LINQ to XML: Demonstrate how LINQ can be used to query and manipulate XML data.

Multithreading is a potent technique enabling applications to concurrently execute multiple threads, thereby enhancing performance and responsiveness. However, along with its benefits, there arise challenges related to the synchronization and coordination between these threads. In the realm of .NET 6.0, two indispensable constructs for orchestrating synchronization are the 'lock' keyword and the Semaphore class.

Cross-Origin Resource Sharing, commonly known as CORS, plays a pivotal role in contemporary web development by empowering servers to regulate the domains permitted to access their resources. This blog post delves into the management of CORS in .NET 6.0 Minimal APIs.

C# 6.0 introduced several language enhancements to make code more expressive and developer-friendly. One notable addition was the introduction of the 'When' clause in catch blocks, providing developers with a powerful tool for more refined exception handling.

Entity Framework (EF) is a powerful and versatile Object-Relational Mapping (ORM) framework that simplifies database interactions in .NET applications. In this comprehensive guide, we'll unravel various approaches in Entity Framework, providing examples to make the concepts accessible for .NET beginners.

Deploying a .NET solution to a production environment involves several critical steps to ensure a smooth transition from development to production. In this comprehensive guide, we'll cover the deployment process using Git for version control, Azure for deployment, and deploying in a cloud environment.

Using ConcurrentQueue to solve timeout and maximum pool size error in .Net. By implementing a ConcurrentQueue and asynchronous processing, the strategy efficiently manages and bulk inserts data into the database, preventing connection pool exhaustion and timeout errors.

some key acronyms in the .NET ecosystem, such as IL, CIL, MSIL, CLI, JIT, and more. We'll provide clarity on each term, explore their roles in the .NET runtime, and offer code snippets along with real-world examples to enhance understanding.
Everything on .NET, not only its blogs: the .NET page →
DevSocialUpcoming · 3rd editionAI Agents ConferenceNov 23–27, 2026Live onlineMembers only16days leftRegisterMembers onlyWrite a blog post and earn +250 SHARP when it is approved.
Write a blog