Learn it from developers who built it.
Tutorials, how-tos and deep dives on AI, .NET, C#, cloud and developer tools, written by the community.

CORS (Cross-Origin Resource Sharing) errors occur when a web application tries to access resources from a different domain, violating the same-origin policy.

Span<T> and Memory<T> in C# provide efficient ways to handle memory without allocations, improving performance in .NET applications. Span<T> is stack-allocated for fast access, while Memory<T> supports heap-based scenarios.

SQL date and time functions help efficiently manipulate and retrieve date-related information. Common functions include GETDATE() for the current timestamp, DATEADD() for adding time intervals, DATEDIFF() for date differences, FORMAT() for formatting, and EOMONTH() for month-end dates.

Serial port communication in C# enables seamless data exchange between software and hardware devices like microcontrollers, industrial machines, and IoT systems.

System-versioned tables in SQL automatically track data changes, maintaining historical records for auditing and recovery. They consist of a main table (current data) and a history table (past records).

Recently, I came across several discussions on Communities where users shared their experiences with accidental data deletion.

Error handling might not be the most exciting part of API development, but it’s one of the most important. A well-designed error handling strategy can dramatically improve the developer experience, reduce support costs, and make your API more robust.

Handling cancellation in asynchronous workflows can often lead to repetitive, error-prone code. Whether we’re processing a single task or multiple tasks.

Learn how to implement a filterable auto-suggestion dropdown list in ASP.NET. This guide covers creating a dynamic dropdown with search functionality, enabling users to quickly find options as they type.

The Object Oriented Programming (OOP) improves the scalability and reusability of the code. This comprise of class and objects.

Middleware is an essential component of the ASP.NET request pipeline. It allows developers to run code during both the request and response lifecycle. This article, explains what middleware is, how it works, and provide real-world practical use cases with complete code examples.

A Web API should support multiple database options such as SQL Server, PostgreSQL, MySQL, and SQLite without major code changes. In this article, we will build a .NET 9 Web API using Clean Architecture, Domain-Driven Design (DDD), and MediatR, while implementing dynamic database selection using Entity Framework Core (EF Core).

?In ASP.NET Web Forms, client-side scripts like JavaScript and jQuery can call server-side methods using the [WebMethod] and [ScriptMethod] attributes. These methods must be declared as static (C#) or Shared (VB.NET). This approach enables AJAX functionality, allowing asynchronous data exchange without full page reloads.

In .NET, Controllers provide a structured MVC approach for complex applications, offering features like action filters and model binding. Minimal APIs offer a streamlined syntax for lightweight, high-performance APIs, ideal for microservices.

Learn how .NET IL weaving modifies compiled assemblies for cross-cutting concerns such as logging, security, tracing, and performance, using tools such as Mono.Cecil and Fody.

LoggerMessage in Microsoft.Extensions.Logging provides high-performance logging by reducing memory allocations and improving efficiency. Unlike traditional logging methods, it uses precompiled delegates to format log messages, making it faster.

Learn how to dynamically support different TLS versions in .NET applications to ensure secure communication. This guide covers configuring TLS settings, enabling version negotiation, and maintaining compatibility across .NET frameworks.

This article covers data preparation, model training, and evaluation to help you build predictive analytics solutions. Enhance decision-making with AI-powered insights and integrate machine learning into your .NET applications.

The System.Text.Json library in .NET 9 has been significantly enhanced to provide developers with more robust and flexible JSON processing capabilities. These improvements focus on JSON schema support, intelligent application features, and increased customization options for serialization and deserialization processes.

This article covers how to integrate Scalar UI, set up role-based authorization, and implement secure user authentication within your .NET API to ensure smooth, secure interactions.

This article covers setting up Scalar, integrating it with your .NET 9 project, and generating interactive API documentation. Improve API usability with clear schemas, request/response details, and testing tools, making development more efficient.

The Chain of Responsibility (CoR) pattern enables flexible processing pipelines, used in ASP.NET Core middleware, HttpClient handlers, and validation pipelines like FluentValidation. It supports dynamic rules, async execution, and extensibility.

Learn how to build a Sentiment Analysis API using ML.NET and .NET 9. This guide covers setting up an ASP.NET Core Web API, training a model, and integrating machine learning for text sentiment prediction.

.NET 10 introduces runtime optimizations, library enhancements, and SDK improvements, boosting performance, usability, and productivity. With LTS support, it ensures stability while offering cutting-edge features for modern application development.

Quartz.NET is a powerful and flexible job scheduling library that seamlessly integrates with ASP.NET Core. It enables developers to automate background tasks, schedule recurring jobs, and manage workflows efficiently. This article explains what is Quartz.NET and how to impkemnt it to schedule a background job.

Optimize async/await in C# with best practices like avoiding blocking calls, using `ConfigureAwait(false)`, leveraging `ValueTask<T>`, parallel execution, and proper exception handling to enhance application performance and responsiveness.

Escape characters in .NET, especially in C#, allow special characters to be represented within strings. They are used to format text, and include new lines (\n), tabs (\t), quotes (\"), and more.

This article covers OAuth 2.0, OpenID Connect, and step-by-step implementation to enable seamless Single Sign-On (SSO), enhancing security and user experience.

In this article, I'll show you different ways to count how often a number appears in C#. We'll look at methods like LINQ, Dictionary, GroupBy, and Parallel.ForEach, and see which ones work best for small and large datasets.

Authenticating .NET applications to Azure services securely and efficiently is critical for modern cloud development. This article explores how to use the Azure Identity library and the DefaultAzureC class to streamline authentication across various environments, ensuring your application can access Azure resources.
Everything on .NET, not only its articles: the .NET page →
DevSocialUpcoming · 3rd editionAI Agents ConferenceNov 23–27, 2026Live onlineMembers only16days leftRegisterMembers onlyWrite an article and earn +1,000 SHARP when it is approved.
Write an article