Keyed Services in the IServiceProvider in .NET 8 preview 7
Explains the new Keyed Services feature in .NET 8 Preview 7, showing how to register and inject named dependencies.
Explains the new Keyed Services feature in .NET 8 Preview 7, showing how to register and inject named dependencies.
Explores .NET 8's new TimeProvider and FakeTimeProvider for testing time-dependent code, enabling controlled manipulation of time in unit tests.
A developer's detailed experience upgrading projects to .NET 8 Preview 6, focusing on the Request Delegate Generator and C# 12 primary constructors.
A developer shares experiences and key findings from testing .NET 8 previews 1-5, covering container changes, analyzers, and build output.
Explores the benefits of upgrading to .NET 8, focusing on performance gains and long-term support, as the first part of a series.
Explains the new TimeProvider abstraction in .NET 8 for mocking and controlling time in tests, making time-dependent code easier to test.
Introduces the new terminal logger in .NET 8 Preview 4, highlighting its cleaner, colored output and how to use it.
Explores performance improvements in .NET 8 Preview 3, comparing benchmarks for string operations and other features against .NET 6 and 7.
Explains the new C# 12 primary constructor feature, comparing it to records and detailing its syntax and usage.
Explains the new C# 12 feature allowing default parameter values in lambda expressions, with examples and usage in Minimal APIs.
Explains the new Environment.IsPrivilegedProcess API in .NET 8 for checking if a process has administrator rights.
Explores new code analyzers coming in .NET 8, focusing on performance improvements like case-insensitive string comparisons.
Explains the new FrozenSet and FrozenDictionary collections in .NET 8, detailing their performance benefits and differences from read-only and immutable collections.