<?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 Alex Maher on Medium]]></title>
        <description><![CDATA[Stories by Alex Maher on Medium]]></description>
        <link>https://medium.com/@maherz?source=rss-7a8d7fbf9bd0------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*Amy4TtPREph16PvjBLpnKw.jpeg</url>
            <title>Stories by Alex Maher on Medium</title>
            <link>https://medium.com/@maherz?source=rss-7a8d7fbf9bd0------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 14 Nov 2026 08:54:50 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@maherz/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[Master EF Core Exceptions Efficiently: Simplify Your Code Today]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://maherz.medium.com/master-ef-core-exceptions-efficiently-simplify-your-code-today-c59a4c9c86a6?source=rss-7a8d7fbf9bd0------2"><img src="https://cdn-images-1.medium.com/max/800/0*qRw0VjtCAyYyOswi.png" width="800"></a></p><p class="medium-feed-link"><a href="https://maherz.medium.com/master-ef-core-exceptions-efficiently-simplify-your-code-today-c59a4c9c86a6?source=rss-7a8d7fbf9bd0------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://maherz.medium.com/master-ef-core-exceptions-efficiently-simplify-your-code-today-c59a4c9c86a6?source=rss-7a8d7fbf9bd0------2</link>
            <guid isPermaLink="false">https://medium.com/p/c59a4c9c86a6</guid>
            <category><![CDATA[sql]]></category>
            <category><![CDATA[entity-framework-core]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[csharp]]></category>
            <dc:creator><![CDATA[Alex Maher]]></dc:creator>
            <pubDate>Sun, 15 Sep 2024 06:47:57 GMT</pubDate>
            <atom:updated>2024-09-15T06:47:57.074Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[C# Mastery: Why Data Design Should Always Come First]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://maherz.medium.com/c-mastery-why-data-design-should-always-come-first-dfb8b5fd813e?source=rss-7a8d7fbf9bd0------2"><img src="https://cdn-images-1.medium.com/max/600/0*AWnvlHRtVettbst-" width="600"></a></p><p class="medium-feed-link"><a href="https://maherz.medium.com/c-mastery-why-data-design-should-always-come-first-dfb8b5fd813e?source=rss-7a8d7fbf9bd0------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://maherz.medium.com/c-mastery-why-data-design-should-always-come-first-dfb8b5fd813e?source=rss-7a8d7fbf9bd0------2</link>
            <guid isPermaLink="false">https://medium.com/p/dfb8b5fd813e</guid>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[software]]></category>
            <category><![CDATA[csharp]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[coding]]></category>
            <dc:creator><![CDATA[Alex Maher]]></dc:creator>
            <pubDate>Sun, 08 Sep 2024 13:18:12 GMT</pubDate>
            <atom:updated>2024-09-08T13:18:12.040Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Master These 12 Essential C# Best Practices for Perfect Code]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://maherz.medium.com/master-these-12-essential-c-best-practices-for-perfect-code-3fe0f4fb3d57?source=rss-7a8d7fbf9bd0------2"><img src="https://cdn-images-1.medium.com/max/738/0*xlJMkbsufd7ehp4u.jpg" width="738"></a></p><p class="medium-feed-link"><a href="https://maherz.medium.com/master-these-12-essential-c-best-practices-for-perfect-code-3fe0f4fb3d57?source=rss-7a8d7fbf9bd0------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://maherz.medium.com/master-these-12-essential-c-best-practices-for-perfect-code-3fe0f4fb3d57?source=rss-7a8d7fbf9bd0------2</link>
            <guid isPermaLink="false">https://medium.com/p/3fe0f4fb3d57</guid>
            <category><![CDATA[tools]]></category>
            <category><![CDATA[csharp]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Alex Maher]]></dc:creator>
            <pubDate>Wed, 04 Sep 2024 07:54:13 GMT</pubDate>
            <atom:updated>2024-09-04T07:54:13.822Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Master C# Data Access: Easy SQL Server Connections with Dapper]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://maherz.medium.com/master-c-data-access-easy-sql-server-connections-with-dapper-6d424038487c?source=rss-7a8d7fbf9bd0------2"><img src="https://cdn-images-1.medium.com/max/600/0*URFOIIIb9C5ydxQA" width="600"></a></p><p class="medium-feed-link"><a href="https://maherz.medium.com/master-c-data-access-easy-sql-server-connections-with-dapper-6d424038487c?source=rss-7a8d7fbf9bd0------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://maherz.medium.com/master-c-data-access-easy-sql-server-connections-with-dapper-6d424038487c?source=rss-7a8d7fbf9bd0------2</link>
            <guid isPermaLink="false">https://medium.com/p/6d424038487c</guid>
            <category><![CDATA[csharp]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[sql]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Alex Maher]]></dc:creator>
            <pubDate>Tue, 03 Sep 2024 14:03:29 GMT</pubDate>
            <atom:updated>2024-09-03T14:03:29.016Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Stop Using Mocking Libraries: The Mistake Every Developer Makes]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://maherz.medium.com/stop-using-mocking-libraries-the-mistake-every-developer-makes-79a5d5189281?source=rss-7a8d7fbf9bd0------2"><img src="https://cdn-images-1.medium.com/max/600/0*rbcqFalW7j8A-XHi" width="600"></a></p><p class="medium-feed-link"><a href="https://maherz.medium.com/stop-using-mocking-libraries-the-mistake-every-developer-makes-79a5d5189281?source=rss-7a8d7fbf9bd0------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://maherz.medium.com/stop-using-mocking-libraries-the-mistake-every-developer-makes-79a5d5189281?source=rss-7a8d7fbf9bd0------2</link>
            <guid isPermaLink="false">https://medium.com/p/79a5d5189281</guid>
            <category><![CDATA[csharp]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[unit-testing]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Alex Maher]]></dc:creator>
            <pubDate>Tue, 03 Sep 2024 08:12:25 GMT</pubDate>
            <atom:updated>2024-09-03T08:12:25.327Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Master Redis Messaging: Real-Time PubSub & Event Notifications]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://maherz.medium.com/master-redis-messaging-real-time-pubsub-event-notifications-612e1f3bfac8?source=rss-7a8d7fbf9bd0------2"><img src="https://cdn-images-1.medium.com/max/1024/0*2Uni_BVbvji9ch8P" width="1024"></a></p><p class="medium-feed-link"><a href="https://maherz.medium.com/master-redis-messaging-real-time-pubsub-event-notifications-612e1f3bfac8?source=rss-7a8d7fbf9bd0------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://maherz.medium.com/master-redis-messaging-real-time-pubsub-event-notifications-612e1f3bfac8?source=rss-7a8d7fbf9bd0------2</link>
            <guid isPermaLink="false">https://medium.com/p/612e1f3bfac8</guid>
            <category><![CDATA[csharp]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[tools]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[coding]]></category>
            <dc:creator><![CDATA[Alex Maher]]></dc:creator>
            <pubDate>Mon, 02 Sep 2024 12:27:23 GMT</pubDate>
            <atom:updated>2024-09-02T12:27:23.941Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Top 22 Free C# Books]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://maherz.medium.com/top-22-free-c-books-4ea126386893?source=rss-7a8d7fbf9bd0------2"><img src="https://cdn-images-1.medium.com/max/800/0*L8D93Y81MzX9DIRM.jpg" width="800"></a></p><p class="medium-feed-snippet">Csharp books, free material to become a master.</p><p class="medium-feed-link"><a href="https://maherz.medium.com/top-22-free-c-books-4ea126386893?source=rss-7a8d7fbf9bd0------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://maherz.medium.com/top-22-free-c-books-4ea126386893?source=rss-7a8d7fbf9bd0------2</link>
            <guid isPermaLink="false">https://medium.com/p/4ea126386893</guid>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[learning]]></category>
            <category><![CDATA[csharp]]></category>
            <category><![CDATA[books]]></category>
            <dc:creator><![CDATA[Alex Maher]]></dc:creator>
            <pubDate>Fri, 30 Aug 2024 12:50:49 GMT</pubDate>
            <atom:updated>2024-08-30T12:50:49.737Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Secure Your .NET 6 Endpoints with JWT in 5 Easy Steps]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://maherz.medium.com/secure-your-net-6-endpoints-with-jwt-in-5-easy-steps-b8cd70b6ee2f?source=rss-7a8d7fbf9bd0------2"><img src="https://cdn-images-1.medium.com/max/740/0*L7IqGZHeEJNnZExi.png" width="740"></a></p><p class="medium-feed-snippet">Easy JWT Protection for&#xA0;.NET</p><p class="medium-feed-link"><a href="https://maherz.medium.com/secure-your-net-6-endpoints-with-jwt-in-5-easy-steps-b8cd70b6ee2f?source=rss-7a8d7fbf9bd0------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://maherz.medium.com/secure-your-net-6-endpoints-with-jwt-in-5-easy-steps-b8cd70b6ee2f?source=rss-7a8d7fbf9bd0------2</link>
            <guid isPermaLink="false">https://medium.com/p/b8cd70b6ee2f</guid>
            <category><![CDATA[security]]></category>
            <category><![CDATA[jwt]]></category>
            <category><![CDATA[csharp]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[software-engineering]]></category>
            <dc:creator><![CDATA[Alex Maher]]></dc:creator>
            <pubDate>Fri, 30 Aug 2024 07:59:50 GMT</pubDate>
            <atom:updated>2024-08-30T07:59:50.970Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Unlocking C# 13: Discover the Game-Changing EVERYTHING]]></title>
            <link>https://maherz.medium.com/unlocking-c-13-discover-the-game-changing-everything-feature-ff57a01827f4?source=rss-7a8d7fbf9bd0------2</link>
            <guid isPermaLink="false">https://medium.com/p/ff57a01827f4</guid>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[csharp]]></category>
            <category><![CDATA[tools]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[coding]]></category>
            <dc:creator><![CDATA[Alex Maher]]></dc:creator>
            <pubDate>Thu, 29 Aug 2024 06:01:53 GMT</pubDate>
            <atom:updated>2024-08-29T10:15:39.347Z</atom:updated>
            <content:encoded><![CDATA[<h4>(This is an article written by a troll). An introduction to C# 13</h4><figure><img alt="C# 13 New Feature" src="https://cdn-images-1.medium.com/proxy/0*fQn1oYfxTkyR-SmP" /></figure><h4><strong>What is the EVERYTHING Feature?</strong></h4><p>C# 13 now has a new feature called EVERYTHING. It helps make coding easier and quicker. It puts different parts of the code together, making it simpler for developers. EVERYTHING might be one of the best things added to C# in a long time.</p><p><strong>How EVERYTHING Works</strong></p><p>EVERYTHING helps by putting many tasks into one place. Developers can use it to do different things without having to change the code too much.</p><p><strong>Syntax of EVERYTHING</strong></p><p>The syntax is easy to use. Here’s an example:</p><pre>public class Example<br>{<br>    public void Show()<br>    {<br>        int result = EVERYTHING(5, 3);<br>        Console.WriteLine(&quot;The result is: &quot; + result);<br>    }<br><br>    private int EVERYTHING(int a, int b)<br>    {<br>        return a + b; // Puts different logic together in one place<br>    }<br>}</pre><p><strong>Key Benefits of EVERYTHING</strong></p><ul><li><strong>More Work Done:</strong> It handles many things in fewer lines.</li><li><strong>Easier to Read:</strong> The code is easier to follow.</li><li><strong>Saves Time:</strong> It helps write, debug, and maintain code faster.</li></ul><h3><strong>Practical Examples</strong></h3><p><strong>Simplifying Logic</strong></p><p>EVERYTHING lets you put different logic together easily. This is helpful in business apps where you need to do a lot in one function.</p><pre>public class Business<br>{<br>    public double CalculateRevenue(int sales, int returns)<br>    {<br>        return EVERYTHING(sales, returns);<br>    }<br><br>    private double EVERYTHING(int sales, int returns)<br>    {<br>        double netSales = sales - returns;<br>        double revenue = netSales * 1.05; // Adding tax, etc.<br>        return revenue;<br>    }<br>}</pre><p><strong>Making Data Processing Easy</strong></p><p>EVERYTHING can be used in data processing. Instead of writing a lot of code, you can do it all in one place.</p><pre>public class DataProcessor<br>{<br>    public int ProcessData(int val1, int val2)<br>    {<br>        return EVERYTHING(val1, val2);<br>    }<br><br>    private int EVERYTHING(int val1, int val2)<br>    {<br>        int temp = val1 * 2;<br>        int result = temp + val2;<br>        return result;<br>    }<br>}</pre><p><strong>EVERYTHING in Old Code</strong></p><p>EVERYTHING works well in older projects. You can add it slowly without changing everything at once.</p><p><strong>Example of Upgrading Old Code</strong></p><p>Here’s how you can change old code to use EVERYTHING:</p><pre>// Old Code<br>public int CalculateOldMethod(int a, int b)<br>{<br>    int sum = a + b;<br>    int square = sum * sum;<br>    return square - b;<br>}<br><br>// New Code with EVERYTHING<br>public int CalculateNewMethod(int a, int b)<br>{<br>    return EVERYTHING(a, b);<br>}<br>private int EVERYTHING(int a, int b)<br>{<br>    int sum = a + b;<br>    int square = sum * sum;<br>    return square - b;<br>}</pre><p><strong>Checking Performance</strong></p><p>When using EVERYTHING, it’s important to see if it affects performance. Sometimes, the added steps might slow things down. It’s good to test before and after you use it.</p><p><strong>Performance Test Example</strong></p><p>Here’s how you can test if EVERYTHING is faster:</p><pre>public class Benchmark<br>{<br>    public void TestPerformance()<br>    {<br>        Stopwatch sw = new Stopwatch();<br>        <br>        // Test old method<br>        sw.Start();<br>        CalculateOldMethod(5, 3);<br>        sw.Stop();<br>        Console.WriteLine(&quot;Old Method: &quot; + sw.ElapsedMilliseconds + &quot;ms&quot;);<br><br>        // Test new method with EVERYTHING<br>        sw.Reset();<br>        sw.Start();<br>        CalculateNewMethod(5, 3);<br>        sw.Stop();<br>        Console.WriteLine(&quot;New Method: &quot; + sw.ElapsedMilliseconds + &quot;ms&quot;);<br>    }<br>    public int CalculateOldMethod(int a, int b)<br>    {<br>        int sum = a + b;<br>        int square = sum * sum;<br>        return square - b;<br>    }<br>    <br>    public int CalculateNewMethod(int a, int b)<br>    {<br>        return EVERYTHING(a, b);<br>    }<br>    <br>    private int EVERYTHING(int a, int b)<br>    {<br>        int sum = a + b;<br>        int square = sum * sum;<br>        return square - b;<br>    }<br>}</pre><p><strong>Best Practices When Using EVERYTHING</strong></p><ul><li><strong>Keep It Simple:</strong> Use EVERYTHING for small tasks.</li><li><strong>Check Performance:</strong> Always test before and after using it.</li><li><strong>Add Slowly:</strong> Introduce EVERYTHING to your projects step by step.</li></ul><p><strong>Common Mistakes to Avoid</strong></p><ul><li><strong>Don’t Overcomplicate:</strong> Don’t try to do too much with EVERYTHING.</li><li><strong>Don’t Skip Tests:</strong> Always check if EVERYTHING is working well.</li><li><strong>Document Your Code:</strong> Make sure to explain what your EVERYTHING block does.</li></ul><p><strong>Conclusion</strong></p><p>EVERYTHING in C# 13 can change how developers write code. It helps make code cleaner and faster to write. Whether you’re starting a new project or updating an old one, EVERYTHING can be a helpful tool.</p><p>Give EVERYTHING a try in C# 13, and see how it can make your coding easier!</p><p>See more here:</p><p><a href="https://learn.microsoft.com/en-us/dotnet/csharp/whats-new/csharp-13">What&#39;s new in C# 13</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ff57a01827f4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[10 Must-Know C# Code Smells and How to Fix Them]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://maherz.medium.com/10-must-know-c-code-smells-and-how-to-fix-them-9b9310c5f809?source=rss-7a8d7fbf9bd0------2"><img src="https://cdn-images-1.medium.com/max/887/0*YHw_kg5_e_wF6-rA.png" width="887"></a></p><p class="medium-feed-snippet">Detect and Fix C# Code Flaws</p><p class="medium-feed-link"><a href="https://maherz.medium.com/10-must-know-c-code-smells-and-how-to-fix-them-9b9310c5f809?source=rss-7a8d7fbf9bd0------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://maherz.medium.com/10-must-know-c-code-smells-and-how-to-fix-them-9b9310c5f809?source=rss-7a8d7fbf9bd0------2</link>
            <guid isPermaLink="false">https://medium.com/p/9b9310c5f809</guid>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[tools]]></category>
            <category><![CDATA[code]]></category>
            <category><![CDATA[csharp]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Alex Maher]]></dc:creator>
            <pubDate>Wed, 28 Aug 2024 08:45:36 GMT</pubDate>
            <atom:updated>2024-08-28T08:45:36.004Z</atom:updated>
        </item>
    </channel>
</rss>