Local AI in .NET: ONNX Runtime, Ollama and Foundry Local
Run LLMs locally in .NET with ONNX Runtime GenAI, Ollama and Foundry Local: small language models, GPUs and NPUs, quantization and IChatClient.
82 articles about Performance: in-depth .NET and AI guides, senior interview questions and AI news on DotNet AI Hub.
Run LLMs locally in .NET with ONNX Runtime GenAI, Ollama and Foundry Local: small language models, GPUs and NPUs, quantization and IChatClient.
Learn how ASP.NET Core architecture works: WebApplication hosting, Kestrel, IIS and reverse proxies, HTTP/3, endpoint routing, middleware and configuration.
Blazor in .NET 10 explained: static SSR, streaming, Interactive Server, WebAssembly and Auto render modes, lifecycle, state, forms, JS interop and auth.
Speed up and protect ASP.NET Core apps with output caching, HybridCache L1/L2 caching and rate limiting: policies, tags, Redis, partitions and 429s.
Build fast gRPC services in .NET with Protobuf contracts, streaming, client factory, interceptors, deadlines, gRPC-Web, JSON transcoding and load balancing.
Razor Pages vs MVC in ASP.NET Core: page models, controllers, tag helpers, view components, validation, antiforgery, htmx and when to choose Blazor SSR.
Build real-time features with ASP.NET Core SignalR, covering hubs, transports, groups, streaming, authentication, MessagePack and scaling out with Redis.
Run ASP.NET Core on Kubernetes in production: health probes, ConfigMaps, GC and CPU limits, graceful shutdown, HPA and KEDA autoscaling, AKS and Helm.
Async/await in C# explained in depth: the compiler state machine, SynchronizationContext, ConfigureAwait, ValueTask, async streams, cancellation and deadlocks.
C# 14 new features explained with examples: extension members, the field keyword, null-conditional assignment, first-class spans and more in .NET 10.
Understand C# delegates, Func and Action, multicast delegates, events, closures, static lambdas, expression trees and how EF Core turns LINQ lambdas into SQL.
C# generics in depth: constraints up to allows ref struct, covariance and contravariance, how the CLR implements generics, and generic math with INumber.
LINQ in depth for C# developers: deferred execution, IEnumerable vs IQueryable, new operators from .NET 6 to 10, hot-path performance and custom operators.
Build incremental Roslyn source generators and analyzers in .NET: ForAttributeWithMetadataName, caching, code fixes, testing, NuGet packaging and interceptors.
Learn Span, ReadOnlySpan, Memory and ref structs in .NET: zero-copy slicing, stackalloc, ArrayPool, SearchValues, async buffers and C# 14 span conversions.
Caching in .NET explained: IMemoryCache, IDistributedCache, Redis and HybridCache, plus invalidation, TTL design, cache keys, serialization and hit ratio.
Learn when to go below EF Core with ADO.NET and Dapper: readers, pooling, multi-mapping, safe parameters, transactions, Dapper.AOT and SqlBulkCopy.
Speed up EF Core with proven techniques: no-tracking queries, projections, split queries, pooling, compiled queries, bulk updates, indexes and SQL logging.
A practical guide to PostgreSQL in .NET: Npgsql pooling and multiplexing, EF Core JSONB, arrays, full-text search, COPY imports and pgvector search.
SQL Server for .NET developers: design indexes, read execution plans, fix parameter sniffing, choose isolation levels, handle deadlocks and use SQL Server 2025.
A deep dive into CLR internals: IL and metadata, the type loader, MethodTables, precode and JIT, interface dispatch, object layout, AssemblyLoadContext and SOS.
A practical tour of .NET 10 LTS: JIT de-abstraction, stack allocation, post-quantum crypto, strict JSON, file-based apps, C# 14 and the .NET 11 outlook.
How the .NET garbage collector works: generations, LOH and POH, regions, workstation vs server GC, DATAS, container limits, finalization and tuning.
How RyuJIT, tier 0/tier 1 compilation, On-Stack Replacement and Dynamic PGO trade startup time for throughput, and how to inspect and tune them.
A practical guide to Native AOT in .NET, PublishAot, trim warnings, AOT-friendly source generators for JSON, config and logging, and ASP.NET Core support.
Learn to benchmark .NET code correctly with BenchmarkDotNet: core attributes, memory diagnostics, parameters, baselines and CI regression checks.
A practical guide to dotnet-counters, dotnet-trace, dotnet-dump, dotnet-gcdump and dotnet-monitor for diagnosing .NET apps in production.
How memory leaks happen in a garbage-collected runtime, the most common causes, and a step-by-step workflow to find and fix them with gcdump and SOS.
A practical guide to parallel programming in .NET with Parallel.For/ForEach, PLINQ, degree of parallelism, System.Threading.Lock and Channels pipelines.
Practical high-performance .NET techniques: measure first, cut allocations, pick fast collections, vectorize hot loops and tune the GC in .NET 8 to 11.
A deep dive into System.Text.Json covering JsonSerializerOptions, source generation, custom converters, polymorphism, streaming and security options.
Master MSBuild, SDK-style projects, Directory.Build.props, Central Package Management, multi-targeting, the .slnx format and binary logs.
Learn Blazor Hybrid and BlazorWebView in .NET MAUI, WPF and Windows Forms: sharing Razor class libraries, native APIs, security and performance.
Build .NET MAUI apps for Android, iOS, macOS and Windows with C# and XAML: handlers, MVVM Toolkit, Shell, performance and what's new in .NET 10.
Windows Forms still runs on .NET 8 through 10. See what changed: dark mode, high-DPI, async forms, MVVM data binding and migration from .NET Framework.
WinUI 3 and the Windows App SDK explained: packaged vs unpackaged apps, windowing, app lifecycle, Fluent controls, Windows AI APIs and deployment.
A practical guide to WPF on .NET 8 to 10: MVVM with CommunityToolkit.Mvvm source generators, generic host DI, the Fluent theme and migration tips.
Senior .NET interview questions on ML.NET and ONNX: pipeline design, feature engineering, evaluation metrics, PredictionEnginePool deployment and model drift.
10 architect-level ASP.NET Core interview questions on statelessness, caching, rate limiting, socket exhaustion, thread-pool starvation and capacity planning.
Senior-level Blazor interview questions covering render modes, circuits, state management, prerendering pitfalls, WebAssembly performance and authentication.
Senior-level interview questions on gRPC streaming, deadlines and HTTP/2 load balancing, plus SignalR scale-out, sticky sessions and delivery guarantees.
Ten senior-level questions on C# async/await internals: the compiler state machine, awaiters, SynchronizationContext, ConfigureAwait and ExecutionContext.
Senior .NET interview questions on ValueTask, IAsyncEnumerable and async streams: when ValueTask pays off, IValueTaskSource pooling, and cancellation.
Senior .NET interview questions on System.Threading.Channels: bounded vs unbounded channels, BoundedChannelFullMode, backpressure, and graceful shutdown.
Senior .NET interview questions on ConcurrentDictionary, ConcurrentQueue, ImmutableInterlocked, compare-and-swap loops, the ABA problem, and false sharing.
Senior-level thread synchronization interview questions covering lock, Monitor, the .NET 9 Lock type, SemaphoreSlim, ReaderWriterLockSlim and the memory model.
Senior-level TPL interview questions covering CPU-bound vs I/O-bound work, Parallel.ForEachAsync, PLINQ, partitioners and limiting concurrency.
Ten architect-level interview questions on autoscaling signals, capacity planning, caching, FinOps, reservations and right-sizing .NET workloads.
Senior Azure Functions interview questions: the isolated worker model, cold starts, Durable Functions, scaling limits, idempotency and Flex Consumption.
Ten lead-level interview questions on test pyramids, contract testing, Testcontainers, flaky tests, load testing and mutation testing in .NET.
Senior .NET interview questions on CLR internals: IL and metadata, type loading, AssemblyLoadContext, CoreCLR vs Mono vs NativeAOT and method dispatch.
Ten senior .NET interview questions on exception cost, the two-pass model, filters, ExceptionDispatchInfo, IExceptionHandler and Result patterns.
Senior .NET interview questions on GC internals: generations, card tables, LOH/POH and regions, server vs workstation GC, DATAS, latency modes and containers.
Senior .NET interview questions on tiered compilation, OSR, Dynamic PGO, ReadyToRun, inlining, devirtualization, bounds-check elimination and Native AOT.
Ten senior .NET interview questions on Native AOT compilation, trim warnings, AOT-compatible libraries and startup optimization.
Ten thread pool interview questions covering worker vs I/O threads, hill-climbing, starvation, SetMinThreads and the .NET 6 portable pool.
Senior .NET interview questions on the object header, boxing costs, struct design, StructLayout, readonly structs, ref returns, in parameters and equality.
Senior-level C# generics interview questions on constraints, variance, CLR specialization, static abstract members, generic math and reflection over open types.
Senior C# interview questions on the dispose pattern, finalizers, SafeHandle, IAsyncDisposable, DI disposal rules and HttpClient socket exhaustion.
Senior C# interview questions on deferred execution, IQueryable translation, expression trees, compiled queries and EF Core client vs server evaluation.
Senior .NET interview questions on reflection costs, delegate caching, Reflection.Emit, UnsafeAccessor, custom attributes and Native AOT trade-offs.
Senior .NET interview questions on ADO.NET and Dapper covering connection pooling, DataReader streaming, SqlBulkCopy, multi-mapping and SQL injection.
Senior-level EF Core internals interview questions on change tracking, identity resolution, query translation, compiled models and interceptors.
Senior EF Core performance interview questions on N+1 queries, split queries, tracking, bulk updates, compiled queries and DbContext pooling.
Architect-level SQL Server interview questions on indexing, execution plans, parameter sniffing, statistics, Query Store, partitioning and sharding.
Senior .NET interview questions on cutting allocations: ArrayPool, ObjectPool, RecyclableMemoryStream, string.Create, hidden boxing, closures and LINQ costs.
Senior .NET interview questions on BenchmarkDotNet and load testing: microbenchmark design, statistics, CI benchmarks, k6, NBomber and p50/p95/p99 latency.
Architect interview questions on cache-aside vs write-through, stampede prevention, HybridCache, TTL design, cache keys and Redis failure modes.
Senior-level interview questions on Dictionary and HashSet internals, List growth, ConcurrentDictionary, frozen and immutable collections and presizing.
Architect-level interview questions on Kestrel tuning, async I/O, System.IO.Pipelines, pooling, backpressure, Server GC with DATAS and tail latency.
Senior .NET interview questions on System.Text.Json vs Newtonsoft.Json, source generation, polymorphic types, streaming and untrusted-input security.
Lead-level .NET interview questions on diagnosing memory leaks: counters, gcdump, SOS dumpheap and gcroot, unmanaged leaks, fixes and regression monitoring.
Senior .NET interview questions on performance profiling: sampling vs instrumentation, dotnet-trace, PerfView, flame graphs, lock contention and starvation.
Senior .NET interview questions on Span<T> and Memory<T>: ref struct rules, stackalloc safety, ArrayPool pooling, allocation-free parsing and review pitfalls.
Senior .NET system design interview questions on notification systems covering multi-channel delivery, queueing, templating, rate limits and failover.
Architect-level system design questions on distributed rate limiters in .NET: algorithms, Redis and Lua, ASP.NET Core limits and failure modes.
Senior .NET system design interview questions on building a URL shortener: ID generation, storage, caching, redirects, analytics and abuse controls.
Google announced TPU 8t and TPU 8i at Cloud Next on April 22, 2026, splitting its eighth-generation TPU into separate chips for training and inference.
Microsoft unveiled Maia 200 on January 26, 2026, a 3nm Azure inference chip it says offers 30% better performance per dollar than its existing systems.
OpenAI signed a multiyear deal on January 14, 2026 for 750 MW of Cerebras computing power, reportedly worth over $10 billion, to speed up AI inference.
Microsoft released .NET 10 and C# 14 on November 11, 2025, as a three-year LTS with a faster runtime, post-quantum crypto and SDK tools for MCP servers.
Google DeepMind introduced AlphaEvolve in May 2025, a Gemini-powered evolutionary coding agent that found faster algorithms and saves 0.7% of Google's compute.