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.

Explore effective strategies for unit testing in .NET API development. Learn essential techniques like test-driven development (TDD), utilizing NUnit or xUnit frameworks, mocking dependencies, and ensuring robustness through integration testing.

.NET 8 introduces the GetItems() method in the Random class, enhancing random data selection in C# programming. This method simplifies selecting random items from collections, improving code efficiency and readability.

create a cascading dropdown functionality where the selection of a "Brand" in the first dropdown (BrandId) should dynamically populate the options in the second dropdown (BrandlistId). However, there are some issues and potential improvements that need to be addressed to ensure correct functionality.

Dropdown lists, or <select> elements, are essential in web forms, enabling users to choose from a predefined list of options. They enhance user experience by simplifying input selection and ensuring data consistency.

NumPy Broadcasting" explores an essential feature of NumPy arrays, enabling efficient element-wise operations on arrays of different shapes. Broadcasting extends operations to arrays with compatible dimensions, enhancing computational efficiency and code clarity in data manipulation tasks.

Enhance your web application's security by implementing an IP safelist in ASP.NET Core. This technique restricts access to trusted IP addresses only, preventing unauthorized access. Our guide covers creating middleware to enforce the safelist, ensuring sensitive data and endpoints are protected effectively.

When it comes to creating copies of objects in C#, there are several techniques available, each with its own advantages and use cases. This article will delve into the details of these two techniques, providing examples and comparisons to help you decide which approach is best for your needs.

The ESP32 is a versatile, low-cost microcontroller with built-in Wi-Fi and Bluetooth, ideal for IoT projects. Integrating it with C# and .NET allows developers to create robust applications for monitoring and controlling devices.

OWIN is the acronym of Open Web Interface for .NET and it is a specification that provides to decouple web servers with web applications. This specification is an also open standard for all .NET ecosystems.

Learn essential techniques for data persistence, leveraging MongoDB's document-oriented structure, implementing CRUD operations with C#, and optimizing performance using the MongoDB .NET driver.

Sessions in web development persist user data across requests despite HTTP's stateless nature. This article details sessions in .NET, showing initialization, data storage, and termination. It explains enabling sessions in ASP.NET Core, setting session data, and session benefits like state management and security.

State management in .NET 6 is essential for preserving and accessing data across web applications. Techniques include server-side (session state, database storage) and client-side (cookies, LocalStorage) methods.

In C#, the AsMemory method is a powerful tool for creating Memory<T> instances from arrays, array segments, or strings. It is part of the System.Memory namespace, which offers types designed to work with memory efficiently and safely without unnecessary heap allocations.

Learn how to optimize Entity Framework performance with practical code examples. This guide covers essential techniques to enhance database efficiency, improve query performance, and eliminate bottlenecks.

Concurrency control is crucial in multithreaded programming to prevent resource contention. In C#, the Semaphore class manages access to shared resources, allowing a defined number of threads to proceed simultaneously.

In multithreaded C# applications, synchronizing thread execution is crucial to avoid race conditions and ensure controlled access to shared resources. The AutoResetEvent class helps manage this by acting like a gate, blocking threads until signaled.

In this article, we will Discover advanced techniques in data cleaning, transformation, and automation, crucial for enhancing machine learning outcomes and overall operational efficiency.

Training Large Language Models (LLM) and Small Language Models (SLM) Using C# by John Godel" delves into advanced techniques for developing and optimizing AI language models.

Learn how to integrate SQL Server with your MVC application, configure connection strings, and perform CRUD operations. Ideal for developers seeking to enhance their data access techniques in ASP.NET.

Microsoft's technology ecosystem spans desktop, web, and mobile apps, each requiring specific frameworks. To upgrade applications effectively, use Visual Studio 2022 with .NET Framework or Core, and the Upgrade assistant extension.

This article will discuss the C# using a statement. Garbage collection (GC) in computer science reclaims unused memory automatically. Invented by John McCarthy in 1959, GC simplifies memory management. This series explores GC in .NET, focusing on managed, unmanaged code and the `using` statement for resource management.

Explore the .NET 9 preview with an in-depth overview of its new features and updates. Discover the latest enhancements, performance improvements, and innovations that this release brings to developers.

Explore .NET Reflection, a powerful API for runtime type introspection in .NET Framework. Learn about key classes like System.Reflection.Assembly and System.Type, essential for dynamic type loading and metadata querying. Utilize MethodInfo to invoke methods dynamically, GetType to fetch type information.

LINQ (Language Integrated Query) and PLINQ (Parallel LINQ) are .NET frameworks for querying data. LINQ offers a declarative syntax for querying various data sources with single-threaded execution, while PLINQ extends LINQ by enabling parallel execution.

Discuss the garbage collection with unmanaged code: How to manage the unmanaged code in .NET, Dispose pattern

Discuss the garbage collection with managed code: what is the process of the memory management of .NET in this article, while in (2) I will discuss How to manage the unmanaged code in .NET

.NET 6 introduced several new features and enhancements that streamline development in C#. One such feature is the . The chunk method, which provides a simple way to split collections into smaller, manageable parts.

Discover how to become a professional .NET developer in 2024 with this comprehensive guide. Learn essential skills, the latest .NET technologies, and effective learning paths.

Webhooks and callback URLs are key in web development, enabling real-time updates and automatic interactions. Webhooks push data on specific events, used in real-time notifications and CI/CD. Callback URLs, crucial in OAuth and API integrations, expect responses at specified URLs.

Explore how GraphQL and Hasura can significantly reduce query time-out issues in enterprise applications. By optimizing data fetching and improving API performance, these technologies enhance backend efficiency and scalability.
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