-
Space – A High-Performance, Compile-Time, Mediator Alternative for .NET
Introduction: Why We Need “Space” In the modern .NET ecosystem, the Mediator pattern has become a standard for keeping API architectures clean and loosely coupled. However, the industry standard libraries often rely on Runtime Reflection—scanning your entire application at startup to connect requests to handlers. While effective, this approach comes with a “tax”: slower startup…
-
Azure Functions – Middleware (dotnet-isolated)
Friends, let’s talk about a scenario I’m sure we’ve all encountered. You have a dozen, maybe a hundred, Azure Functions. Each one needs logging. Each one needs to have its execution time measured. Many need a custom authentication check. What do you do? If you’re like I was in the early days of Functions, you…
-
Extending Types in Rust with Traits
Rust is a powerful language that emphasizes safety and performance. While it doesn’t have traditional “extension methods” like some other languages, it achieves similar functionality through traits. This article will show you how to extend existing types with new behavior using traits in Rust. Part 1: Basic String Extensions Let’s start with a simple example.…
-
In place string reverse in Rust
Did you ever get asked in place string reverse in any programming language in interviews? Many years ago, I was asked 🙂Now let’s get into it in #RUST programming language. It’s pretty simple to be fair. The usage would be like; Any as you may expect, the output would be;
-
Roman Numbers to integer in Rust
In this post, I’ll be showing you how we can convert Roman Numbers to an integer value in Rust. First of all, a kind reminder, it is my solution to that problem. Yours could totally be different. 😊 Let’s start with creating a rust module. I’ll call it roman_numbers.rs. To be able to define a…
-
2 Ways of QueryString Transformation
Converting Objects To and From QueryStrings Hello fellow developers! Query strings are a fundamental part of web development, serving as a bridge for data exchange between clients and servers. In C#, converting objects to query strings and back again can sometimes be a bit tricky, especially when you venture beyond the conveniences of Minimal APIs.…
-
C# Nedir, .Net Framework Nedir? Farkları Nelerdir? Neden Karıştırılıyorlar?
Eğer siz de benim gibi bir “Dotnet Developer” iseniz siz de .NET Framework ve C# kavramlarını duymuş olmalısınız. Bu iki kavram neden ayrı ayrı ele alınıyor veya bunlar nedir kardeşim diyenler varsa etrafınızda ve bunları anlatmakta güçlük çekiyorsanız bu yazıda işinizi kolaylaştıracağız. Şuradaki linkteki kaynaktan görebileceğiniz üzere, C# ve .Net Framework kavramları yanlarına eklenen numaralar ile ayrı ayrı versiyonlaştırılmış. 2002 de versiyon 1.0 ile…
-
The Story behind NET MAUI
One of my favorite aspects of Microsoft is that they take full ownership of the ecosystem they have established. At first, they thought that they should have full control of this, but then they realized that this is not a good way in the modernizing world and they adopted the concept of open-source code. By…
-
Multiply Your Productivity with Visual Studio: Discover Lesser-Known Features!
I’ve been using the Visual Studio IDE for software development for a very long time. At this point, I can confidently say that it’s the best IDE in its field. Moreover, it contains numerous features that can significantly increase a developer’s productivity. I want to briefly discuss some of these features. I say briefly because…