Quantcast
Channel: C# – Anthony Giretti's .NET blog
Browsing latest articles
Browse All 41 View Live

Introducing C#11: Auto Default structs

Introduction C# 11 improves Structs compared to C# 10 (and earlier). Before C# 11, every...

View Article


Introducing C#11: Raw string literals

Introduction C# 11 brings new syntax for writing plain text. Instead of relying on string...

View Article


Introducing C#11: List Pattern

Introduction With C# 11, it is possible to match an array or list that matches...

View Article

Introducing C#11: Required properties

Introduction C# 11 improves the initialization of objects and struct. Marking one or more properties...

View Article

Introducing C#11: Newlines in string interpolation expressions

Introduction C# 11 brings an improvement on string interpolation. Previously it was impossible, apart from...

View Article


Introducing C#11: Pattern match Span and ReadonlySpan on a constant string

Introduction Before C# 11 it was impossible to use pattern matching on a constant string...

View Article

Introducing C#11: Extended nameof parameter scope

Introduction C# 11 brings a novelty in the use of a method or parameter attribute....

View Article

Introducing C#11: UTF-8 String Literals

Introduction .NET encodes strings with UTF-16 encoding. However in the world of the web, the...

View Article


Introducing C# 11: Numeric IntPtr and UIntPtr

Introduction Before explaining to you what’s new in C# 11 on the IntPtr and UInPtr...

View Article


Introducing C#11: File local types

Introduction Have you ever developed/consumed identically named objects and pulled your hair out encapsulating them...

View Article

Introducing C# 12: Primary constructor on classes and struct

Introduction .NET 8 and C# 12 are available in preview and I’m glad to share...

View Article

C# 12: Introducing the spread operator on collections

Introduction .NET 8 and C# 12 are available in preview and I’m glad to share...

View Article

From .NET 6 to .NET 8, my migration experience: Using OpenApi on Azure...

Introduction I recently migrated an Azure function based on HttpTriggers. This function was running on...

View Article


ASP.NET Core: Using the ASP.NET Core integration on Azure functions

Introduction Since 2023, Azure Functions (HttpTriggers) have benefited from an improvement allowing the manipulation of...

View Article

From .NET 6 to .NET 8+,my migration experience:Using Azure AppConfiguration...

Introduction I recently migrated many Azure Functions . These functions were running on .NET 6...

View Article


From .NET 6 to .NET 8,my migration experience:Fixing missing x-forwarded...

Introduction We recently started migrating our applications from .NET 6 to .NET 8. The migration...

View Article

From .NET 6 to .NET 8, my migration experience: Migrating Durable Functions...

Introduction We recently started migrating our applications from .NET 6 to .NET 8. The migration...

View Article


C# 13: Extended params for Method Parameters

Introduction .NET 9 and C# 13 are now rolling out and once again, Microsoft has...

View Article

C# 13: Introducing System.Threading.Lock

Introduction With every new release, C# keeps evolving to offer better performance, cleaner syntax, and...

View Article

C# 13: Introducing the new escape sequence

Introduction C# 13 quietly introduced a new escape sequence that’ll make terminal and low-level devs...

View Article
Browsing latest articles
Browse All 41 View Live