The scope of topics will expand beyond .NET to include microservice architecture, tech leadership, AI, and occasionally Azure.
If these topics sound interesting to you, stay subscribed or join the list to receive new issues in the coming year.
go.okyrylchuk.dev/vbokBk
Posts by Oleg Kyrylchuk 🇺🇦
Going forward, there will be a few changes:
The newsletter will no longer follow a strict weekly schedule. Issues will come out when there is something valuable to share and when time allows.
Both the new responsibilities and the training schedule took a significant amount of time and energy.
At one point, I seriously considered ending the newsletter. In the end, I realised that writing and sharing what I learn is something I still want to continue.
What’s next for the .NET Pulse Newsletter?
You may have noticed it has been a while since the last .NET Pulse issue. Over the past year, a lot has changed for me: I stepped into a Tech Lead role and had a very active sports season, completing three triathlons and a trail run.
C# 14 introduces user-defined compound assignment operators.
In previous versions, you could not overload the += operator.
C# 14 allows user types to customize the behavior of compound assignment operators in a way that the target of the assignment is modified in-place.
C# 14 in the preview introduces the field keyword.
It lets you write a property accessor body without declaring an explicit backing field.
The compiler will replace the field keyword with a backing field.
What do you think about this improvement?
C# 14 in the preview introduces partial constructors and events.
They must include exactly one defining declaration and one implementing declaration.
The implementation declaration of a partial event must include add and remove accessors.
C# 14 in the preview allows an unbound generic type as an argument to nameof.
For example, nameof(List<>) returns List.
Previously, you could pass only closed generic types, such as List<int>, to return List.
C# 14 in the preview allows the null conditional member access operator on the left-hand side of an assignment.
Previously, you had to check if the customer was null before assigning the order.
In C# 14, the GetCurrentOrder method is not called if the customer is null.
C# 14 in the preview introduces extension members
There is a new extension keyword that lets you define extension blocks for extension properties, methods, and operators
This means you can group related extension members, enhancing code readability and maintainability
Do you like the new feature?
🎉 I'm incredibly honored to receive the Microsoft Most Valuable Professional award for the 4th time in the Developer Technologies category!
I’m looking forward to another exciting year in the MVP program, continuing to learn, share, and grow with this amazing community.
Level up your .NET skills — join 2,960 engineers reading .NET Pulse!
Subscribe: go.okyrylchuk.dev/vbokBk
C# 14 in the preview allows the null conditional member access operator on the left-hand side of an assignment.
Previously, you had to check if the customer was null before assigning the order.
In C# 14, the GetCurrentOrder method is not called if the customer is null.
Level up your .NET skills — join 2,960 engineers reading .NET Pulse!
Subscribe: go.okyrylchuk.dev/vbokBk
C# 14 in the preview allows an unbound generic type as an argument to nameof.
For example, nameof(List<>) returns List.
Previously, you could pass only closed generic types, such as List<int>, to return List.
The MapOpenApi method registers OpenAPI endpoints.
---
Level up your .NET skills — join 2,940 engineers reading .NET Pulse!
Subscribe: go.okyrylchuk.dev/vbokBk
Since .NET 5, ASP NET Core has built-in support for the Swashbuckle project (Swagger).
ASP NET Core 9 removes Swashbuckle from the template.
However, the .NET team added support for OpenAPI document generation.
The AddOpenApi method registers the required dependencies.
Don't forget to join over 2,920 engineers reading the .NET Pulse newsletter.
Subscribe: go.okyrylchuk.dev/vbokBk
Remember to confirm your subscription!
C# 14 in the preview introduces the field keyword.
It lets you write a property accessor body without declaring an explicit backing field.
The compiler will replace the field keyword with a backing field.
What do you think about this improvement?
#3 This Friday in the .NET Pulse newsletter, we'll examine common EF Core performance pitfalls, why they happen, and, most importantly, how to avoid them.
Don't miss it and subscribe now!
Subscribe: go.okyrylchuk.dev/vbokBk
#2 But here's the catch:
The abstraction is only helpful until it gets in your way.
Understanding how EF Core works under the hood becomes essential when things go wrong, like performance issues.
#1 How to Avoid Common EF Core Performance Pitfalls
Entity Framework Core is one of the most popular ORMs in the .NET ecosystem, for good reason. It abstracts away the complexity of working with databases, allowing developers to focus on business logic rather than SQL queries.
Join over 2,910 engineers reading the .NET Pulse newsletter.
Subscribe: go.okyrylchuk.dev/vbokBk
Remember to confirm your subscription!
System.Text.Json 9 introduces respecting required constructor parameters.
You can control the behavior with the new RespectRequiredConstructorParameters JSON serialization option.
If it's true, the serializer throws the JsonException for missing required properties.
Join over 2,900 engineers already reading the .NET Pulse newsletter.
Subscribe: go.okyrylchuk.dev/vbokBk
When should you implement API versioning?
The short answer is that as soon as your API is consumed by more than just yourself.
This Friday, I'll show you how to manage API Versioning Like A Pro in ASP NET Core.
Don’t miss out! Subscribe now! The link is in the comments.
Don't forget to join over 2,890 engineers reading the .NET Pulse newsletter to get such posts directly into your inbox.
go.okyrylchuk.dev/RtblvE
“Fan out” refers to distributing or spreading functionality or data flow from a single point to multiple points. In messaging systems, it means to send one message to many recipients.
Check my post to learn how easily to fan out HTTP requests in .NET. Link in the comments.
Level up your .NET skills — join over 2,890 engineers reading .NET Pulse weekly!
Subscribe: go.okyrylchuk.dev/vbokBk
Remember to confirm your subscription!
.NET 9 introduces the new LINQ method CountBy.
It allows for calculating the frequency of a key.
This improvement looks nice.
What do you think?