#

dotnet

.NET framework and runtime

ProgrammingC# Version History: Release Dates & Why No 3.5

Official C# version history with exact release dates from 1.0 to 12.0. Discover key features per version and why C# 3.5 never existed—shipped with .NET 3.5 but language stayed at 3.0. Complete timeline for developers.

1 answer 4 views
ProgrammingTask.Delay vs Thread.Sleep in .NET: When to Use?

Learn when to use Task.Delay vs Thread.Sleep in .NET. Guidelines for async methods, minimum delays, overhead from context-switching, and efficiency in concurrent apps like web APIs and UIs.

1 answer 1 view
ProgrammingFix VSCode C# Unnecessary Using Directives Issue

Resolve VSCode dotnet false 'unnecessary using directive' warnings in C# Dev Kit. Clean caches, switch to OmniSharp, update SDK, and restore for reliable IntelliSense without build errors.

1 answer 1 view
Programmingdotnet User Secrets vs appsettings.Development.json

Benefits of dotnet user secrets over a gitignored appsettings.Development.json: security, per-developer scope, tooling, env var comparison, and local secrets best practices.

1 answer 1 view
DevOpsFilter Kubernetes dependency telemetry in App Insights

Drop internal Kubernetes HTTP dependencies in Application Insights with an ITelemetryProcessor. Filter by target/URL, type, or duration; or use OTEL/sampling.

1 answer 1 view
ProgrammingWinForms Modernization: .NET Migration & MVP Guide

Step-by-step path for modernizing legacy WinForms apps on .NET Framework 3.5 with God Object code-behind. Upgrade to 4.8, implement MVP pattern, refactor, and migrate to modern .NET with risks and roadmap.

1 answer 1 view
ProgrammingEntity Framework Core: Fix 'Second Operation Started' Error

Learn why Entity Framework Core throws 'A second operation was started...' and how to fix it: scope DbContext, await queries, or use IDbContextFactory.

1 answer 1 view
Programming.NET Minimal API Validation Fails Across Assemblies

Why .NET Minimal API validation breaks with generic endpoints in different assemblies. Source generator limits, resolver scanning issues, and workarounds like custom filters and FluentValidation for modular CQRS setups.

1 answer 1 view
ProgrammingC# HttpClient Deadlock: Fix Hanging API Calls

Resolve C# HttpClient deadlock issues causing hanging API calls. Learn proper async usage, ConfigureAwait, and IHttpClientFactory to prevent freezes.

1 answer 1 view
DevOpsResolving DevExpress License Issues in Docker Containers for .NET APIs

Complete guide to fixing DevExpress license recognition in Docker containers. Learn multi-stage build configurations, user permissions, and license validation for .NET APIs.

1 answer 1 view
ProgrammingFix ScottPlot WpfPlotGL FileNotFoundException in .NET 10.0

Resolve System.IO.FileNotFoundException when using ScottPlot WpfPlotGL with .NET 10.0. Learn about OpenTK compatibility issues, assembly binding redirects, and step-by-step solutions for WPF plotting in C# on Windows 11.

1 answer 1 view
ProgrammingComprehensive .NET Dependency Injection & Services Guide

Practical guide to .NET dependency injection and services: fundamentals, service lifetimes, keyed services, advanced patterns. Books, Microsoft docs, tutorials.

1 answer 1 view