Best of .NET — November 2023
- 1
- 2
- 3
- 4
The Art of Simplicity·3y
.NET 8–Http Logging
ASP.NET Core in .NET 8 introduces new capabilities in the HTTP logging middleware, eliminating the need for Serilog to achieve similar results. These capabilities include measuring the duration of request/response processing and consolidating all enabled logs into one.
- 5
- 6
Waseem .NET Newsletter·2y
EP 39 : How to organize your dependencies in .NET
The article discusses three different approaches of registering dependencies in .NET, which are inline dependency registration, extension method dependency registration, and modularized dependency registration. Each approach offers its own benefits, with modularized dependency registration providing a more organized and modular approach to dependency registration.
- 7
.NET Blog·3y
Announcing C# 12
C# 12 is now available and brings better developer productivity with simplified syntax and faster execution. The new features include collection expressions, primary constructors for all classes and structs, aliasing any type, and default parameters for lambda expressions. These features simplify code and improve performance. The article also mentions experimental features like the experimental attribute and interceptors.
- 8
Discover .NET·3y
What Is .NET Aspire? The Insane Future of .NET!
Introducing .NET Aspire, a cloud-ready stack for building observable distributed applications that aims to solve pain points in building distributed apps. It provides easy implementation and connectivity between services, along with features like output caching using Redis.
- 9
DevBlogs·3y
Announcing ASP.NET Core in .NET 8
ASP.NET Core in .NET 8 brings new features and improvements, including enhanced performance, support for native AOT, full stack web UI capabilities with Blazor, and a JavaScript SDK and project system in Visual Studio. It also introduces metrics, named pipes transport, Redis-based output caching, route tooling improvements, debugging enhancements, and more. To upgrade an existing project, follow the migration guide. The release of .NET 8 is being celebrated at .NET Conf 2023, a virtual developer event.
- 10
Milan Jovanović·3y
How To Easily Create PDF Documents in ASP.NET Core
Learn how to easily create PDF documents in ASP.NET Core using libraries like QuestPDF and IronPDF. The article discusses common problems faced by .NET developers when working with PDF files, features of QuestPDF and IronPDF, merging multiple PDF files, and exporting PDF files from an API.
- 11
Discover .NET·3y
Every New Feature Added in C# 12
C# 12 introduces several new features, including primary constructors, collection expressions, and ref readonly parameters. Primary constructors allow for simplified constructor syntax at the class level, collection expressions simplify array initialization, and ref readonly parameters allow for passing references to value types. Other features mentioned include default lambda parameters, alias any type, inline arrays, the experimental attribute, and interceptors.
- 12
- 13
- 14
Discover .NET·3y
A more flexible and enhanced way of logging in .NET 8
The latest version of .NET (version 8) introduces a more flexible and enhanced way of logging using the `LoggerMessageAttribute`. This attribute helps in defining logs and provides benefits like reduced code size and improved performance.
- 15
- 16
Discover .NET·2y
Primary constructors has caused concerns for C# developers
Concerns have been raised by C# developers regarding the use of primary constructors for dependency injection. While primary constructors reduce code bloat, the mutability of parameters can lead to instances being changed in other parts of the class, increasing the risk of runtime exceptions. There are discussions about adding read-only parameters to primary constructors in the future.
- 17