.NET LINQ vs Java Stream API

Information

In Java, the closest equivalent to .NET's LINQ (Language Integrated Query) is the Stream API introduced in Java 8. Both LINQ in .NET and the Stream API in Java provide a functional approach to handling collections, enabling operations like filtering, mapping, reducing, and sorting in a concise and readable manner. However, there are significant differences in how these two approaches leverage hardware acceleration, which can impact performance.

Read more...

Simplifying Dependency Injection

Programming

Dependency Injection (DI) is a cornerstone of modern .NET applications, ensuring loose coupling, testability, and maintainability. However, traditional DI configurations can quickly become verbose and boilerplate-heavy. Developers often find themselves manually registering every service, leading to cluttered Program.cs files and a tedious onboarding experience. Campsis.AutoInject comes to the rescue!

Read more...

Critical: .NET Install links are changing

Information

.NET binaries and installers have moved to a new domain -- builds.dotnet.microsoft.com -- backed by a new Content Delivery Network (CDN). You may need to make changes to adjust.

Read more...

Global and implicit Using statements in C# 10

Programming

Global and implicit Using statements in C# 10 reduce the number of usings you need to specify at the top of each file.

Read more...

File-scoped Namespaces in C# 10

Programming

File-scoped Namespaces in C# 10 simplify your code and removes a level of nesting.

Read more...

Parsing Command Line Arguments in .NET Core

Programming

Using the natemcmaster/CommandLineUtils in C# for parsing CommandLine Arguments and Options with easy.

Read more...

MSFT Workshop - All about Microservices

Video

Video Series from .NET Conf 2020: What are microservices? How they work? Their benefits and challenges? The problems they solve. How to design and deploy them (~4.5 hours).

Read more...

ASP.NET Response Compression

Programming

Response Compression for both classic ASP.NET MVC and ASP.NET Core

Read more...

QueryStrings in ASP.NET Core

Programming

In ASP.NET Core we have the QueryHelpers class for automatically creating QueryStrings. No more dealing with encoding/decoding strings, ampersand and question marks manually!

Read more...

Replace JavaScript with client-side C#

Video

Replace JavaScript with C# code on the client side with Blazor in ASP.NET Core 3.0

Read more...