<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Abayomioyaifo on Medium]]></title>
        <description><![CDATA[Stories by Abayomioyaifo on Medium]]></description>
        <link>https://medium.com/@abayomioyaifo?source=rss-45e62d0fc785------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*MPRssiNDEexccUuI</url>
            <title>Stories by Abayomioyaifo on Medium</title>
            <link>https://medium.com/@abayomioyaifo?source=rss-45e62d0fc785------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 06:18:03 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@abayomioyaifo/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Taking a Tour of the .NET Ecosystem — Part 3: Building a Load Testing Tool]]></title>
            <link>https://medium.com/@abayomioyaifo/taking-a-tour-of-the-net-ecosystem-part-3-building-a-load-testing-tool-5a7f4bec7d41?source=rss-45e62d0fc785------2</link>
            <guid isPermaLink="false">https://medium.com/p/5a7f4bec7d41</guid>
            <category><![CDATA[load-testing-tools]]></category>
            <category><![CDATA[dotnet]]></category>
            <category><![CDATA[load-testing]]></category>
            <category><![CDATA[console-application]]></category>
            <category><![CDATA[csharp]]></category>
            <dc:creator><![CDATA[Abayomioyaifo]]></dc:creator>
            <pubDate>Sat, 04 Apr 2026 22:26:34 GMT</pubDate>
            <atom:updated>2026-04-04T22:26:34.631Z</atom:updated>
            <content:encoded><![CDATA[<p>If you’ve been following along, you’ll know I’ve been on a bit of a <strong>tour through the .NET ecosystem</strong>. At this point, it’s starting to feel like I’m traveling from island to island… learning something new at each stop.</p><p>This time, the next island is the <strong>Console Application</strong>.</p><p>Now, technically, the previous island <em>did</em> have a console application, but let’s be honest — it wasn’t the main character of that story.</p><p>This time, the console app takes center stage.</p><p>Now, console apps are usually where most people start. They’re simple, beginner-friendly, and easy to understand… which is exactly why this was supposed to be a quick one. But I wasn’t about to dock on this island just to print <em>Hello World</em> and move on.</p><p><strong>The Task</strong></p><p>Build a small application that can load test a URL.</p><p>At a high level, the app should:</p><ul><li>Accept some arguments</li><li>Parse them</li><li>Hit a given URL multiple times</li><li>Do it concurrently</li></ul><p>As the senior developer that you are, I’m quite sure you know what concurrency means — so I’ll spare you the lecture.</p><h3>How It Works</h3><p>On startup, the application takes three arguments:</p><ul><li>The URL</li><li>The total number of requests</li><li>The number of concurrent requests</li></ul><p>To simulate load, I used a parallel loop to send requests concurrently.</p><p>Under the hood:</p><ul><li>Each iteration sends a GET request to the provided URL</li><li>Successful responses are counted</li><li>Failed responses are also counted</li></ul><p>To safely track these counts across multiple threads, I used the Interlocked class:</p><pre>Interlocked.Increment(ref successCount);</pre><p>This ensures the increment operation is atomic, which basically means it’s thread-safe.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*961MAvxQMaP4OOioOda7SQ.png" /><figcaption>Load Test function</figcaption></figure><h3>A Small Disclaimer</h3><p>Please don’t go around load testing random websites.</p><p>You might not get life imprisonment…<br>…but if I were the judge, we’d have a conversation.</p><h3>Where the Idea Came From</h3><p>I got this challenge from John Crickett’s Coding Challenges.</p><p><a href="https://codingchallenges.substack.com/archive?sort=new">Archive - Coding Challenges</a></p><p>If you enjoy hands-on learning and building practical tools, it’s definitely worth checking out.</p><h3>Current Limitations and Possible Improvements</h3><p>Right now, the tool is pretty basic:</p><ul><li>It only supports GET requests</li><li>It doesn’t handle payloads yet</li><li>It doesn’t produce detailed reports</li></ul><p>But that’s fine — it does what it was meant to do.</p><p>There’s a lot that could be added:</p><ul><li>Support for POST/PUT requests with payloads</li><li>Read inputs (URLs, request counts) from a file</li><li>Generate a report file with results</li><li>Track metrics like:<br>- Response time<br>- Throughput<br>- Error rates</li></ul><p>I’ve included the GitHub repository below if you want to check it out or build on top of it.</p><p><a href="https://github.com/Abayomi-Azeem/HttpsLoadTester">GitHub - Abayomi-Azeem/HttpsLoadTester</a></p><p>Also added a screenshot of a sample test run.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YYpraNkMb9r8Y1AB1qaZng.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5a7f4bec7d41" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Taking a Tour of the .NET Ecosystem — Part 2: Building a .NET Project Generator]]></title>
            <link>https://medium.com/@abayomioyaifo/taking-a-tour-of-the-net-ecosystem-part-2-building-a-net-project-generator-7520bb18fa56?source=rss-45e62d0fc785------2</link>
            <guid isPermaLink="false">https://medium.com/p/7520bb18fa56</guid>
            <category><![CDATA[software-architecture]]></category>
            <category><![CDATA[desktop-app]]></category>
            <category><![CDATA[application-development]]></category>
            <category><![CDATA[dotnet]]></category>
            <category><![CDATA[wpf]]></category>
            <dc:creator><![CDATA[Abayomioyaifo]]></dc:creator>
            <pubDate>Sun, 08 Mar 2026 20:04:47 GMT</pubDate>
            <atom:updated>2026-03-08T20:04:47.510Z</atom:updated>
            <content:encoded><![CDATA[<p>So remember that .NET WPF project I talked about in the last post? The one that started this tour of the .NET ecosystem? Well… this is it.</p><p>One of the hardest parts of starting a new project is deciding what architecture to use — for me anyway . It gets even more monotonous when you’re working with microservices, where you find yourself creating projects over and over again.</p><p>After a while, the process becomes repetitive. So I thought: why not build a small tool to help with that?</p><p>At the same time, I wanted to use the opportunity to learn WPF, so it had to be a desktop application. But the type of application I had in mind needed to run dotnet commands against the OS, which means it had to be as low-level as possible. That naturally points to a console application.</p><p>So I ended up building two applications:</p><ul><li>A WPF application (the “front end”, so to speak)</li><li>A Console application (the engine that does the real work)</li></ul><p>Next, I had to think about how the UI would look (We both know this is not my strong suit). I wanted it to be as simple as possible, so I used a grid layout with rows.</p><p>The idea behind the app is pretty straightforward:</p><p>Take some inputs from the user → pass them as arguments to a console application → run the commands → stream the output back to a textbox.</p><p>Sounds simple enough, right?</p><p>Well… not exactly.</p><p>Throughout the journey, I learned quite a bit about how WPF works under the hood, along with a few other interesting nuggets.</p><p><strong>The Application Layout</strong></p><p>The solution contains two projects:</p><ul><li>A WPF project</li><li>A Console application</li></ul><p>The WPF app is basically responsible for collecting configurations and forwarding them to the console application. There are four compulsory configurations:</p><ul><li>Architecture type</li><li>Working directory</li><li>Application name</li><li>.NET version</li></ul><p>The Architecture type is an enum representing the available architectures. Currently, I have:</p><ul><li>Clean Architecture</li><li>Clean Architecture + Domain Driven Design.</li></ul><p>Now, architectures can be a bit subjective. Everyone tends to have their own flavor on how they structure code. Because of this, I added another option that allows the user to decide whether Contracts and DTOs should live in a separate class library.</p><p>On the UI side, things are intentionally minimal.</p><p>There’s just:</p><ul><li>A Run button</li><li>A textbox that displays feedback from the process as it runs</li></ul><p><strong>The Console Application</strong></p><p>Now to the interesting part — the console application.</p><p>It receives the configurations as command line arguments and uses the architecture enum to determine which architecture implementation to activate. From that point on, it becomes a matter of executing the steps needed to build the project structure.</p><p>For this, I used the Chain of Responsibility pattern.</p><p>If you’re not familiar with it, the idea is simple: you create a chain of handlers and pass the same arguments through the chain. Each handler performs its responsibility and then passes control to the next handler.</p><p>I let the problem dictate the design pattern — That’s a senior engineer quality right there. Debating whether it’s the best solution is another discussion. Let me revel in my solution for now.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qnlo2I3X9_mzfB5a5MVzDA.png" /></figure><p><strong>The Handlers</strong></p><p>I created several handlers:</p><ul><li>AddFolder — Responsible for executing a command to create a new directory.</li><li>AddClassLibrary — Creates a new class library project.</li><li>AddProjectReference — Handles project dependencies.</li><li>CreateEmptySolution — You guessed it!</li><li>AddAspNetCoreWeb — You’re on a roll.</li></ul><p>The implementation could definitely be cleaner, but hey… it works.</p><p><strong>Handling Command Execution</strong></p><p>As someone who likes following SOLID principles, I prefer keeping responsibilities separate wherever possible. So the handlers define what needs to happen, while the Process Manager handles how the commands are executed. Each step writes output to the command line, and that output is streamed directly into the textbox in the WPF UI.</p><blockquote><strong>Giving credit to whom credit is due</strong></blockquote><blockquote>For the option that lets you create a separate Contracts library, I have to thank my good friend Danladi. Every project this guy builds must include a SharedKernel library.</blockquote><blockquote>Every. Single. Time.</blockquote><blockquote>The name never changes.</blockquote><blockquote>That idea inspired the configuration option in this tool.</blockquote><p><strong>A Few Small UX Improvements</strong></p><p>I also added a couple of small touches:</p><ul><li>When the process is running, the Run button is disabled</li><li>The UI thread remains responsive</li><li>Console output is streamed directly into the textbox</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PMVO1XEprzS0K5IH-DFTPg.png" /></figure><p>Nothing revolutionary, but it makes the tool feel a lot smoother to use.</p><p><strong>So… What Exactly Is WPF?</strong></p><p>By this point, you might be wondering what WPF actually stands for. Let me save you the trouble of another Google search (or a visit to ChatGPT).</p><p>WPF stands for Windows Presentation Foundation. It’s a UI framework developed by Microsoft for building Windows desktop applications using .NET.</p><p><strong>Final Thoughts</strong></p><p>This was a fun little project that helped me explore several parts of the .NET ecosystem:</p><ul><li>WPF</li><li>The .NET CLI</li><li>Process execution</li></ul><p>There’s definitely room for improvement, but the tool works — and adding new architectures should be pretty easy.</p><p>Below you’ll find a screen recording of the application along with the GitHub repository, as usual.</p><p><a href="https://github.com/Abayomi-Azeem/TemplateArchitect">GitHub - Abayomi-Azeem/TemplateArchitect</a></p><p><a href="https://youtu.be/YCgAMIv6M7c">https://youtu.be/YCgAMIv6M7c</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7520bb18fa56" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Taking a Tour of the .NET Ecosystem — Part 1: Building Centrix with .NET MAUI]]></title>
            <link>https://medium.com/@abayomioyaifo/taking-a-tour-of-the-net-ecosystem-part-1-building-centrix-with-net-maui-4adc92a91455?source=rss-45e62d0fc785------2</link>
            <guid isPermaLink="false">https://medium.com/p/4adc92a91455</guid>
            <dc:creator><![CDATA[Abayomioyaifo]]></dc:creator>
            <pubDate>Fri, 30 Jan 2026 18:39:48 GMT</pubDate>
            <atom:updated>2026-01-30T18:39:48.623Z</atom:updated>
            <content:encoded><![CDATA[<h3>Taking a Tour of the .NET Ecosystem — Part 1: Building Centrix with .NET MAUI</h3><p>A few weeks ago, I found myself working on a .NET WPF project (basically, a desktop application). Midway through, it hit me — I had just recently built a project with .NET MAUI.</p><p>That’s when the idea clicked.</p><p>Why not document this journey?<br>Why not build simple (or not-so-simple) projects across the .NET ecosystem and share what I learn along the way?</p><p>So here we are. This is the first post in that series.</p><p><strong>The Idea: A Simple Productivity Tool</strong></p><p>Some time ago, I came across a research idea around productivity. Instead of trying to grind through a long task in one stretch — say, 4 straight hours. It’s often more effective to break it into chunks. Work for 25 minutes, take a 5-minute break, and repeat.<br>Before you know it, the task is done.</p><p>Compare that with trying to work for 4 hours straight, losing focus after 1 hour, and somehow spending the remaining 3 hours “on a break” — scrolling through TikTok or Instagram.</p><p>This idea stuck with me. Around the same time, I had been thinking about trying out .NET MAUI, and I thought: why not build a simple productivity app around this concept?</p><p>That decision gave birth to my first MAUI project.</p><p><strong>Enter: Centrix</strong></p><p>Why Centrix?<br>Honestly… I think I was going for something along the lines of “centralisation” or “focus”. It made sense at the time — I promise</p><p>Centrix is a simple productivity app built around two states:</p><ul><li>Focus Mode</li><li>Break Mode</li></ul><p>Here’s how it works:</p><ul><li>You start in Focus Mode</li><li>A countdown timer runs</li><li>When it hits zero</li><li>The app switches to Break Mode</li><li>An alarm goes off</li><li>The phone vibrates</li><li>A push notification is sent</li><li>Break Mode counts down</li><li>Then the cycle repeats</li></ul><p>Simple on paper, right?<br>Not so simple when it’s your first .NET MAUI project!</p><p><strong>First Steps with .NET MAUI</strong></p><p>The first thing I did was go through a .NET MAUI crash course on Microsoft Learn. The course walks you through building a small app called “PhoneWord”, which converts letters into phone number digits.</p><p>Simple? Yes.<br>Useful? Very.</p><p>It helped me understand how to think in MAUI , how pages are structured, and how everything fits together.</p><p>One thing I immediately liked about MAUI is that you can write one codebase and target multiple platforms:</p><ul><li>Android</li><li>iOS</li><li>Windows</li><li>macOS (via MacCatalyst)</li><li>Even Samsung’s Tizen OS</li></ul><p>That alone makes it pretty powerful.</p><p><a href="https://learn.microsoft.com/en-us/training/modules/build-mobile-and-desktop-apps/">Here’s </a>a link to the crash course.</p><p><strong>UI Struggles (aka: Frontend Is Hard)</strong></p><p>Anyone who knows me knows I’m not a visuals-first developer. So I reached out to a creative friend to help with a quick design. She sent me a really nice design.<br>I tried to follow it.<br>Keyword: *tried* — Hey! At least it works</p><p>At some point, I had to call her just to ask how to “extract color codes from Figma”. When she showed me how easy it was, I remember thinking:</p><p>— “These frontend devs have it so easy.”</p><p>A few late nights later, I quietly apologized to myself.</p><p><strong>App Structure &amp; Architecture</strong></p><p>The app itself is fairly simple. It has just two pages:</p><ul><li>The Main page</li><li>The Settings page</li></ul><p>The settings page allows you to configure:</p><p>Focus duration<br>Break duration</p><p>To keep things clean, I structured the project with:</p><p>A Pages folder<br>A ViewModels folder</p><p>I tried to follow the MVVM architecture as much as possible. It wasn’t perfect, but it was intentional, as they always say — It’s the thought that counts.</p><p><strong>The Timer Logic</strong></p><p>At the heart of the app is a Timer Service that handles the countdown logic.</p><p>I used a C# `Timer` to:</p><ul><li>Start the countdown</li><li>Stop it</li><li>Tick every second</li></ul><p>The ViewModel simply listens for updates from the service and displays the remaining time. Looking back, that separation felt really good — low coupling, clearer responsibilities.</p><p><strong>A Feature I Didn’t Finish (On Purpose 👀?)</strong></p><p>You’ll notice an orange circular frame around the countdown timer.</p><p>Fun fact:<br>It was supposed to gradually shrink as time elapsed.</p><p>A friend already explained how the math would work, but by that point, I was tired and had already spent enough time on the project. So I left it as an exercise for anyone who wants to extend the app.</p><p>Here’s a hint:<br>👉 You already have the radius of the circle.</p><p>If you’d like to play with the app:</p><p>1. Clone the GitHub repo <a href="https://github.com/Abayomi-Azeem/Centrix">here</a><br>2. Build and run the project<br>3. Congrats — you’re officially a .NET MAUI developer😄</p><p>I would have loved to do a full step-by-step walkthrough of how I built everything and the roadblocks I faced, but honestly, that wasn’t the original plan when I started the project.</p><p>Still, this project was a great introduction to .NET MAUI — and the first stop in my ongoing tour of the .NET ecosystem.</p><p>Next stop: a desktop application 🚀<br>Stay tuned.</p><p>Here’s a screenshot of what I was supposed to build:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uhzgYeNJANSC1nFUgeVOmg.png" /><figcaption>What I was supposed to build</figcaption></figure><p>And what I ended up building:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/540/1*_7BrcTaEtFqJv57FmJOWqg.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/540/1*LHjbikrmuJX8tneoNTJwCQ.jpeg" /><figcaption>What I ended up building</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4adc92a91455" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>