Browsing Tag
csharp
85 posts
Securing APIs with YARP: Authentication and Authorization in .NET 8 Minimal APIs
As microservices and API-driven architectures continue to rise in popularity, securing these services becomes increasingly crucial. One of…
C# Tip: nameof
Let’s explore the nameof operator, introduced in C# 6, which allows you to get the name of variables,…
Unit testing with Xunit: Introduction
Wolf Fact: That’s how a pack of wolves sound Xunit.net is a free, open-source, community-focused unit testing tool…
Dica C#: Ref Locals and Returns
Vamos falar sobre Ref Locals and Returns, introduzidos no C# 7, que permitem que métodos retornem referências a…
Move IO to the Edges of Your App
I originally posted an extended version of this post on my blog a long time ago in a…
String methods
Substring – returns substring into substring. Example Code var longString = "This is very long string"; Console.WriteLine(longString.Substring(5)); Result…
Why Naming Domain Rules Is Essential for Code Semantics
One of the main concerns of every software developer is to write clean code — code that not…
.NET tarixi.
Assalamu Alaiykum programmers, today we will talk with you about the history of .NET. .NET Framework is a…
Understanding and Fixing “Object Reference Not Set to an Instance of an Object” in C#
Introduction One of the most common and frustrating errors that C# developers encounter is the infamous Object reference…
What’s New in .NET 9 Preview 6: Comprehensive Overview
On July 9th, 2024, Microsoft released .NET 9 Preview 6, featuring significant updates and enhancements across the framework.…