<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>C# Insights</title>
    <description>Join 600+ .NET developers discovering new C# insights every wednesday.</description>
    
    <link>https://newsletter.csharpinsights.com/</link>
    <atom:link href="https://rss.beehiiv.com/feeds/KFw7JcP1WL.xml" rel="self"/>
    
    <lastBuildDate>Wed, 4 Nov 2026 00:50:13 +0000</lastBuildDate>
    <pubDate>Wed, 08 Jan 2025 15:31:25 +0000</pubDate>
    <atom:published>2025-01-08T15:31:25Z</atom:published>
    <atom:updated>2026-11-04T00:50:13Z</atom:updated>
    
      <category>Programming</category>
      <category>Software Engineering</category>
      <category>Technology</category>
    <copyright>Copyright 2026, C# Insights</copyright>
    
    <image>
      <url>https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/publication/logo/dea45f58-ec5f-4b08-8830-5b075e9385ac/logo_klein.png</url>
      <title>C# Insights</title>
      <link>https://newsletter.csharpinsights.com/</link>
    </image>
    
    <docs>https://www.rssboard.org/rss-specification</docs>
    <generator>beehiiv</generator>
    <language>en-us</language>
    <webMaster>support@beehiiv.com (Beehiiv Support)</webMaster>

      <item>
  <title>⚙️ .NET Aspire Quick Tip – Managing Container &amp; Data Lifetime</title>
  <description>Discover C# performance tips, new features in .NET 9, MongoDB&#39;s EF Core updates, and more in this week&#39;s edition of C# Insights.</description>
      <enclosure url="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/ff85e6c4-5e82-41d0-b7ec-83e3ed731179/beehiiv_banner.png" length="39783" type="image/png"/>
  <link>https://newsletter.csharpinsights.com/p/net-aspire-quick-tip-managing-container-data-lifetime</link>
  <guid isPermaLink="true">https://newsletter.csharpinsights.com/p/net-aspire-quick-tip-managing-container-data-lifetime</guid>
  <pubDate>Wed, 08 Jan 2025 15:31:25 +0000</pubDate>
  <atom:published>2025-01-08T15:31:25Z</atom:published>
  <content:encoded><![CDATA[
    <div class='beehiiv'><style>
  .bh__table, .bh__table_header, .bh__table_cell { border: 1px solid #C0C0C0; }
  .bh__table_cell { padding: 5px; background-color: #FFFFFF; }
  .bh__table_cell p { color: #2D2D2D; font-family: 'Helvetica',Arial,sans-serif !important; overflow-wrap: break-word; }
  .bh__table_header { padding: 5px; background-color:#F1F1F1; }
  .bh__table_header p { color: #2A2A2A; font-family:'Trebuchet MS','Lucida Grande',Tahoma,sans-serif !important; overflow-wrap: break-word; }
</style><div class='beehiiv__body'><h3 class="heading" style="text-align:left;" id="writer-rag-tool-build-productionrea">Writer RAG tool: build production-ready RAG apps in minutes</h3><div class="image"><a class="image__link" href="https://writer.com/engineering/rag-tool/?utm_source=beehiiv&utm_medium=newsletter&utm_campaign=rag-tool_8LRS7JYDM4_c_insights&_bhiiv=opp_d9658e2b-507b-44fb-b434-b7f3b6f625a9_3b00bf9b&bhcl_id=65238573-7f26-45ce-87ce-3f8e9cfb112e_{{subscriber_id}}_{{email_address_id}}" rel="noopener" target="_blank"><img class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/e2028307-3de3-43f9-b7a5-f2c31418a552/2024-12_Writer_RAG_tool__build_production-ready_RAG_apps_in_minutes_-_16_9_Newsletter.png?t=1734711822"/></a></div><ul><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://writer.com/engineering/rag-tool/?utm_source=beehiiv&utm_medium=newsletter&utm_campaign=rag-tool_8LRS7JYDM4_c_insights&_bhiiv=opp_d9658e2b-507b-44fb-b434-b7f3b6f625a9_3b00bf9b&bhcl_id=65238573-7f26-45ce-87ce-3f8e9cfb112e_{{subscriber_id}}_{{email_address_id}}" target="_blank" rel="noopener noreferrer nofollow">Writer RAG Tool</a>: build production-ready RAG apps in minutes with simple API calls.</p></li><li><p class="paragraph" style="text-align:left;">Knowledge Graph integration for intelligent data retrieval and AI-powered interactions.</p></li><li><p class="paragraph" style="text-align:left;">Streamlined full-stack platform eliminates complex setups for scalable, accurate AI workflows.</p></li></ul><p class="paragraph" style="text-align:left;"><a class="link" href="https://writer.com/engineering/rag-tool/?utm_source=beehiiv&utm_medium=newsletter&utm_campaign=rag-tool_8LRS7JYDM4_c_insights&_bhiiv=opp_d9658e2b-507b-44fb-b434-b7f3b6f625a9_3b00bf9b&bhcl_id=65238573-7f26-45ce-87ce-3f8e9cfb112e_{{subscriber_id}}_{{email_address_id}}" target="_blank" rel="noopener noreferrer nofollow">Learn more about our production ready RAG tooling here.</a></p><hr class="content_break"><p class="paragraph" style="text-align:center;"><a class="link" href="https://sponsorships.csharpinsights.com/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=net-aspire-quick-tip-managing-container-data-lifetime" target="_blank" rel="noopener noreferrer nofollow"><span style="text-decoration:underline;">Sponsor</span></a></p><p class="paragraph" style="text-align:left;">Hey {{ First_Name | There }}! ✌️</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://devblogs.microsoft.com/dotnet/dotnet-aspire-container-lifetime/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=net-aspire-quick-tip-managing-container-data-lifetime" target="_blank" rel="noopener noreferrer nofollow">.NET Aspire Quick Tip – Managing Container & Data Lifetime</a></p><p class="paragraph" style="text-align:left;">Learn about data persistence, volume customization, and real-time bind mounts to elevate your containerized .NET projects.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://www.telerik.com/blogs/creating-complete-api-visual-studio-scaffolding?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=net-aspire-quick-tip-managing-container-data-lifetime" target="_blank" rel="noopener noreferrer nofollow">Creating a Complete API with Visual Studio Scaffolding</a></p><p class="paragraph" style="text-align:left;">Discover how to create a complete CRUD API using scaffolding in Visual Studio, including database integration with Entity Framework Core.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://endjin.com/blog/2025/01/csharp-12-collection-expressions?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=net-aspire-quick-tip-managing-container-data-lifetime" target="_blank" rel="noopener noreferrer nofollow">C# 12.0: Collection Expressions</a></p><p class="paragraph" style="text-align:left;">Explore how this syntax simplifies code, boosts speed (over 3x faster than traditional methods), and extends support for immutable collections, while still leaving room for future enhancements like dictionary initialization.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://goatreview.com/building-a-high-performance-message-queue-with-redis-streams/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=net-aspire-quick-tip-managing-container-data-lifetime" target="_blank" rel="noopener noreferrer nofollow">Building a High-Performance Message Queue with Redis Streams</a></p><p class="paragraph" style="text-align:left;">Learn to build scalable distributed systems using consumer groups, batch processing, and advanced optimizations—ideal for order processing, task distribution, and event pipelines.</p><hr class="content_break"><h3 class="heading" style="text-align:left;">Fact-based news without bias awaits. Make 1440 your choice today.</h3><p class="paragraph" style="text-align:left;">Overwhelmed by biased news? Cut through the clutter and get straight facts with your daily 1440 digest. From politics to sports, join millions who start their day informed.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://l.join1440.com/bh?utm_source=beehiiv&utm_medium=cpc&utm_campaign=c_insights_8LRS7JYDM4&utm_content=prospecting_humans&_bhiiv=opp_44085f3d-e6f3-4bf6-8ed2-e2493a51ec81_1b75ca79&bhcl_id=73e42477-cd11-43f8-98d1-2ca3ff16f301_{{subscriber_id}}_{{email_address_id}}" target="_blank" rel="noopener noreferrer nofollow">Sign up now!</a></p><hr class="content_break"><p class="paragraph" style="text-align:left;"><a class="link" href="https://khalidabuhakmeh.com/great-dotnet-documentation-with-astro-starlight-and-markdownsnippets?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=net-aspire-quick-tip-managing-container-data-lifetime" target="_blank" rel="noopener noreferrer nofollow">Great .NET Documentation with Astro, Starlight, and MarkdownSnippets</a></p><p class="paragraph" style="text-align:left;">Effortlessly sync your .NET codebase with great documentation using Starlight and MarkdownSnippets. This guide walks you through setting up tools, structuring repositories, and automating updates to ensure your code samples are always accurate and up-to-date.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://medium.com/@jeslurrahman/protect-your-net-applications-best-4-authorization-mechanisms-7065550c5fb7?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=net-aspire-quick-tip-managing-container-data-lifetime" target="_blank" rel="noopener noreferrer nofollow">Protect Your .NET Applications: Best 4 Authorization Mechanisms</a></p><p class="paragraph" style="text-align:left;">Each approach has its own strengths, from stateless authentication with JWT to simple, low-overhead access control using API Keys—choose the best fit for your application&#39;s security needs.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://devblogs.microsoft.com/visualstudio/benchmarking-with-visual-studio-profiler/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=net-aspire-quick-tip-managing-container-data-lifetime" target="_blank" rel="noopener noreferrer nofollow">Benchmarking with Visual Studio Profiler</a></p><p class="paragraph" style="text-align:left;">Follow a real-world example with CsvHelper, uncovering and fixing inefficiencies to achieve a 14% memory allocation reduction, showcasing the power of precise, actionable benchmarking.</p><p class="paragraph" style="text-align:left;"></p><p class="paragraph" style="text-align:left;"><br><br><span style="text-decoration:underline;">P.S</span> If you liked this edition, consider forwarding it to a friend!</p><p class="paragraph" style="text-align:left;">If you’re that friend, <a class="link" href="https://csharpinsights.com/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=net-aspire-quick-tip-managing-container-data-lifetime" target="_blank" rel="noopener noreferrer nofollow">subscribe here</a>.</p><hr class="content_break"><hr class="content_break"></div><div class='beehiiv__footer'><br class='beehiiv__footer__break'><hr class='beehiiv__footer__line'><a target="_blank" class="beehiiv__footer_link" style="text-align: center;" href="https://www.beehiiv.com/powered-by?publication_logo=https%3A%2F%2Fmedia.beehiiv.com%2Fcdn-cgi%2Fimage%2Ffit%3Dscale-down%2Cformat%3Dauto%2Conerror%3Dredirect%2Cquality%3D80%2Fuploads%2Fpublication%2Flogo%2Fdea45f58-ec5f-4b08-8830-5b075e9385ac%2Flogo_klein.png%3Fv%3D1779225549&publication_name=C%23+Insights&utm_campaign=227012bb-14c7-4291-a626-699c383e69ce&utm_medium=post_rss&utm_source=c_insights">Powered by beehiiv</a></div></div>
  ]]></content:encoded>
</item>

      <item>
  <title>⚙️ Top .NET Blog Posts of 2024</title>
  <description>Discover the latest in .NET: top blog posts, Azure bot deployment, macOS dev tips, C# tricks, 2025 tools, and domain-driven design insights.</description>
      <enclosure url="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/ff85e6c4-5e82-41d0-b7ec-83e3ed731179/beehiiv_banner.png" length="39783" type="image/png"/>
  <link>https://newsletter.csharpinsights.com/p/top-net-blog-posts-of-2024</link>
  <guid isPermaLink="true">https://newsletter.csharpinsights.com/p/top-net-blog-posts-of-2024</guid>
  <pubDate>Wed, 01 Jan 2025 12:00:00 +0000</pubDate>
  <atom:published>2025-01-01T12:00:00Z</atom:published>
  <content:encoded><![CDATA[
    <div class='beehiiv'><style>
  .bh__table, .bh__table_header, .bh__table_cell { border: 1px solid #C0C0C0; }
  .bh__table_cell { padding: 5px; background-color: #FFFFFF; }
  .bh__table_cell p { color: #2D2D2D; font-family: 'Helvetica',Arial,sans-serif !important; overflow-wrap: break-word; }
  .bh__table_header { padding: 5px; background-color:#F1F1F1; }
  .bh__table_header p { color: #2A2A2A; font-family:'Trebuchet MS','Lucida Grande',Tahoma,sans-serif !important; overflow-wrap: break-word; }
</style><div class='beehiiv__body'><h3 class="heading" style="text-align:left;" id="drowning-in-support-tickets-maven-a">Drowning In Support Tickets? Maven AGI is here to help.</h3><div class="image"><a class="image__link" href="https://www.mavenagi.com/demo?utm_campaign=3580835-beehiv_8LRS7JYDM4&utm_source=beehiv&_bhiiv=opp_cce127ef-3b58-488a-aeff-1f0d310a4b61_f2b733d2&bhcl_id=92e707ce-13c3-4ed3-bbc4-aeb75e2cfd93_{{subscriber_id}}_{{email_address_id}}" rel="noopener" target="_blank"><img class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/c7513ab2-386e-47d7-849b-d04accd7fb37/hero_image_a.jpeg?t=1733241620"/></a></div><p class="paragraph" style="text-align:left;"><a class="link" href="https://www.mavenagi.com/demo?utm_campaign=3580835-beehiv_8LRS7JYDM4&utm_source=beehiv&_bhiiv=opp_cce127ef-3b58-488a-aeff-1f0d310a4b61_f2b733d2&bhcl_id=92e707ce-13c3-4ed3-bbc4-aeb75e2cfd93_{{subscriber_id}}_{{email_address_id}}" target="_blank" rel="noopener noreferrer nofollow">Maven AGI</a> platform simplifies customer service by unifying systems, improving with every interaction, and automating up to 93% of responses. Seamlessly integrated with 50+ tools like Salesforce, Freshdesk, and Zendesk, <a class="link" href="https://www.mavenagi.com/demo?utm_campaign=3580835-beehiv_8LRS7JYDM4&utm_source=beehiv&_bhiiv=opp_cce127ef-3b58-488a-aeff-1f0d310a4b61_f2b733d2&bhcl_id=92e707ce-13c3-4ed3-bbc4-aeb75e2cfd93_{{subscriber_id}}_{{email_address_id}}" target="_blank" rel="noopener noreferrer nofollow">Maven</a> can deploy AI agents across multiple channels—text, email, web, voice, and apps—within days. Companies like Tripadvisor, ClickUp, and Rho slash response times by 60%, ensuring quicker support and exceptional customer satisfaction. Don’t let support tickets slow you down</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://www.mavenagi.com/demo?utm_campaign=3580835-beehiv_8LRS7JYDM4&utm_source=beehiv&_bhiiv=opp_cce127ef-3b58-488a-aeff-1f0d310a4b61_f2b733d2&bhcl_id=92e707ce-13c3-4ed3-bbc4-aeb75e2cfd93_{{subscriber_id}}_{{email_address_id}}" target="_blank" rel="noopener noreferrer nofollow">Request a free personalized demo today.</a></p><hr class="content_break"><p class="paragraph" style="text-align:center;"><a class="link" href="https://sponsorships.csharpinsights.com/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=top-net-blog-posts-of-2024" target="_blank" rel="noopener noreferrer nofollow"><span style="text-decoration:underline;">Sponsor</span></a></p><p class="paragraph" style="text-align:left;">Hey {{ First_Name | There }}! ✌️</p><p class="paragraph" style="text-align:left;">As we step into 2025, the C# Insights team would like to thank you for being part of our growing community of 600+ subscribers. Your passion and enthusiasm have fueled our journey, and we&#39;re excited to bring you even more insights, tips, and updates in the year ahead!</p><p class="paragraph" style="text-align:left;">This year, we aim to continue delivering the latest and greatest in the .NET world, from groundbreaking features to practical tutorials that empower developers of all levels.</p><p class="paragraph" style="text-align:left;">With that being said, enjoy the first edition of 2025!</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://devblogs.microsoft.com/dotnet/top-dotnet-blogs-posts-of-2024/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=top-net-blog-posts-of-2024" target="_blank" rel="noopener noreferrer nofollow">Top .NET Blog Posts of 2024</a></p><p class="paragraph" style="text-align:left;">Explore .NET 9&#39;s breakthrough features, from performance boosts to AI-powered Smart Components, and dive into cloud-native tools like .NET Aspire. Uncover insights on ASP.NET Core metrics, C# 12 innovations, and much more—fueling your .NET development journey!</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://nikiforovall.github.io/dotnet/2024/12/22/azd-bot-service.html?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=top-net-blog-posts-of-2024" target="_blank" rel="noopener noreferrer nofollow">Deploy Your Bot to Azure in 5 Minutes with Azure Developer CLI (azd)</a></p><p class="paragraph" style="text-align:left;">Quickly deploy an echo bot to Azure using the Azure Developer CLI and a ready-made template. This tutorial covers setup, deployment, and teardown, letting you focus on coding while azd handles the infrastructure in just five minutes!</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://blog.codingmilitia.com/2024/12/16/care-about-the-domain-not-about-implementing-all-the-patterns-and-principles-under-the-sun/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=top-net-blog-posts-of-2024" target="_blank" rel="noopener noreferrer nofollow">Care About the Domain, Not About Implementing All the Patterns and Principles Under the Sun</a></p><p class="paragraph" style="text-align:left;">This post emphasizes that true domain-driven design is about solving real user problems, not overloading your application with patterns and principles. Simplify your code, align it with the domain language, and add complexity only when it drives quality and productivity.</p><hr class="content_break"><h3 class="heading" style="text-align:left;">Your daily AI dose </h3><p class="paragraph" style="text-align:left;"><a class="link" href="https://magic.beehiiv.com/v1/093c1cec-7758-44d9-af90-0039ca20024f?email={{email}}&redirect_to=https%3A%2F%2Fwww.mindstream.news%2Fc%2Fthank-you&utm_source=beehiiv&utm_medium=ad_network&utm_campaign=8LRS7JYDM4&_bhiiv=opp_c1e93326-6af1-49c6-b58f-91e6d693bf47_f1228094&bhcl_id=6f7ad963-43b5-41b0-9157-2e9f7b8772cb_{{subscriber_id}}_{{email_address_id}}" target="_blank" rel="noopener noreferrer nofollow">Mindstream</a> is the HubSpot Media Network’s hottest new property. Stay on top of AI, learn how to apply it… and actually enjoy reading. Imagine that.</p><p class="paragraph" style="text-align:left;">Our small team of actual humans spends their whole day creating a newsletter that’s loved by over 150,000 readers. Why not give us a try?</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://magic.beehiiv.com/v1/093c1cec-7758-44d9-af90-0039ca20024f?email={{email}}&redirect_to=https%3A%2F%2Fwww.mindstream.news%2Fc%2Fthank-you&utm_source=beehiiv&utm_medium=ad_network&utm_campaign=8LRS7JYDM4&_bhiiv=opp_c1e93326-6af1-49c6-b58f-91e6d693bf47_f1228094&bhcl_id=6f7ad963-43b5-41b0-9157-2e9f7b8772cb_{{subscriber_id}}_{{email_address_id}}" target="_blank" rel="noopener noreferrer nofollow">Click here to subscribe</a></p><hr class="content_break"><p class="paragraph" style="text-align:left;"><a class="link" href="https://dev.to/ovichowdhury/net-development-essentials-on-macos-with-vs-code-1c5h?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=top-net-blog-posts-of-2024" target="_blank" rel="noopener noreferrer nofollow">.NET Development Essentials on macOS with VS Code</a></p><p class="paragraph" style="text-align:left;">Learn to harness essential extensions, master the .NET CLI, and smoothly transition from Visual Studio to create, manage, and deploy projects like a pro—unlocking seamless productivity on any platform.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://thenewstack.io/developer-tools-whats-ahead-in-2025/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=top-net-blog-posts-of-2024" target="_blank" rel="noopener noreferrer nofollow">Developer Tools: What’s Ahead in 2025?</a></p><p class="paragraph" style="text-align:left;">From generative AI breakthroughs to cost-efficient innovations by small teams, 2025 promises a transformative year for developer ecosystems.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://medium.com/@dmitrystadub/boost-your-c-skills-top-25-mind-blowing-tips-and-tricks-ea17e05a74eb?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=top-net-blog-posts-of-2024" target="_blank" rel="noopener noreferrer nofollow">Boost Your C# Skills: Top 25 Mind-Blowing Tips and Tricks </a>🚀</p><p class="paragraph" style="text-align:left;">From mastering null handling and async streams to leveraging record types and source generators, this guide offers practical strategies to write cleaner, faster, and more expressive code. Uncover the features that will transform the way you code!</p><p class="paragraph" style="text-align:left;"><br><br><span style="text-decoration:underline;">P.S</span> If you liked this edition, consider forwarding it to a friend!</p><p class="paragraph" style="text-align:left;">If you’re that friend, <a class="link" href="https://csharpinsights.com/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=top-net-blog-posts-of-2024" target="_blank" rel="noopener noreferrer nofollow">subscribe here</a>.</p><hr class="content_break"><hr class="content_break"></div><div class='beehiiv__footer'><br class='beehiiv__footer__break'><hr class='beehiiv__footer__line'><a target="_blank" class="beehiiv__footer_link" style="text-align: center;" href="https://www.beehiiv.com/powered-by?publication_logo=https%3A%2F%2Fmedia.beehiiv.com%2Fcdn-cgi%2Fimage%2Ffit%3Dscale-down%2Cformat%3Dauto%2Conerror%3Dredirect%2Cquality%3D80%2Fuploads%2Fpublication%2Flogo%2Fdea45f58-ec5f-4b08-8830-5b075e9385ac%2Flogo_klein.png%3Fv%3D1779225549&publication_name=C%23+Insights&utm_campaign=64a217e5-3163-442b-938b-d6764eecaba8&utm_medium=post_rss&utm_source=c_insights">Powered by beehiiv</a></div></div>
  ]]></content:encoded>
</item>

      <item>
  <title>⚙️ Some News About .NET 10</title>
  <description>Explore .NET innovations: Ambient Context Pattern, HybridCache, .NET 10 updates, JSON deserialization tips, GitHub repo management, and more!</description>
      <enclosure url="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/ff85e6c4-5e82-41d0-b7ec-83e3ed731179/beehiiv_banner.png" length="39783" type="image/png"/>
  <link>https://newsletter.csharpinsights.com/p/some-news-about-net-10</link>
  <guid isPermaLink="true">https://newsletter.csharpinsights.com/p/some-news-about-net-10</guid>
  <pubDate>Wed, 18 Dec 2024 18:17:03 +0000</pubDate>
  <atom:published>2024-12-18T18:17:03Z</atom:published>
  <content:encoded><![CDATA[
    <div class='beehiiv'><style>
  .bh__table, .bh__table_header, .bh__table_cell { border: 1px solid #C0C0C0; }
  .bh__table_cell { padding: 5px; background-color: #FFFFFF; }
  .bh__table_cell p { color: #2D2D2D; font-family: 'Helvetica',Arial,sans-serif !important; overflow-wrap: break-word; }
  .bh__table_header { padding: 5px; background-color:#F1F1F1; }
  .bh__table_header p { color: #2A2A2A; font-family:'Trebuchet MS','Lucida Grande',Tahoma,sans-serif !important; overflow-wrap: break-word; }
</style><div class='beehiiv__body'><h3 class="heading" style="text-align:left;" id="unlock-windsurf-editor-by-codeium">Unlock Windsurf Editor, by Codeium.</h3><div class="image"><a class="image__link" href="https://wind.surf/beehiiv?utm_source=beehiiv&utm_campaign=8LRS7JYDM4&_bhiiv=opp_cdcaaafa-79c0-44c2-ab11-4e8186098956_adb2cdd1&bhcl_id=c902ddb1-faeb-48ab-9f56-d0aaadea530b_{{subscriber_id}}_{{email_address_id}}" rel="noopener" target="_blank"><img class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/3e057fd6-83e2-47c8-ab26-f646200e3db3/Image_from_Google_512x288.png?t=1731516266"/></a></div><p class="paragraph" style="text-align:left;">Introducing the <a class="link" href="https://wind.surf/beehiiv?utm_source=beehiiv&utm_campaign=8LRS7JYDM4&_bhiiv=opp_cdcaaafa-79c0-44c2-ab11-4e8186098956_adb2cdd1&bhcl_id=c902ddb1-faeb-48ab-9f56-d0aaadea530b_{{subscriber_id}}_{{email_address_id}}" target="_blank" rel="noopener noreferrer nofollow">Windsurf Editor</a>, the first agentic IDE. All the features you know and love from Codeium’s extensions plus new capabilities such as Cascade that act as collaborative AI agents, combining the best of copilot and agent systems. This flow state of working with AI creates a step-change in AI capability that results in truly magical moments.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://wind.surf/beehiiv?utm_source=beehiiv&utm_campaign=8LRS7JYDM4&_bhiiv=opp_cdcaaafa-79c0-44c2-ab11-4e8186098956_adb2cdd1&bhcl_id=c902ddb1-faeb-48ab-9f56-d0aaadea530b_{{subscriber_id}}_{{email_address_id}}" target="_blank" rel="noopener noreferrer nofollow">Download It Free Today</a></p><hr class="content_break"><p class="paragraph" style="text-align:center;"><a class="link" href="https://sponsorships.csharpinsights.com/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=some-news-about-net-10" target="_blank" rel="noopener noreferrer nofollow"><span style="text-decoration:underline;">Sponsor</span></a></p><p class="paragraph" style="text-align:left;">Hey {{ First_Name | There }}! ✌️</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://steven-giesel.com/blogPost/3a8c29a3-750a-40f0-aa43-c236b855813e/some-news-about-net-10-backgroundservices-and-new-string-comparer?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=some-news-about-net-10" target="_blank" rel="noopener noreferrer nofollow">Some News About .NET 10: BackgroundServices and New String Comparer</a><br>Discover how .NET 10 boosts startup efficiency with asynchronous BackgroundServices and introduces a new StringComparer for smarter, numeric-aware string sorting—perfect for scenarios like IP address or version number ordering.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://codeopinion.com/net-framework-migration-to-net9/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=some-news-about-net-10" target="_blank" rel="noopener noreferrer nofollow">.NET Framework Migration to .NET 9</a><br>Embark on a journey to migrate your .NET Framework codebase to .NET 9 with insights on handling breaking changes, leveraging tools like .NET Upgrade Assistant, and mastering shims for smooth transitions.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://goatreview.com/understanding-ambient-context-pattern-net/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=some-news-about-net-10" target="_blank" rel="noopener noreferrer nofollow">Understanding the Ambient Context Pattern in .NET: From Theory to Production</a><br>Learn how it enhances <code>AsyncLocal&lt;T&gt;</code> for robust context management across distributed systems, supports multi-tenant applications, simplifies tracing, and improves maintainability. Explore practical examples, integration tips, and best practices to elevate your .NET architecture.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://haacked.com/archive/2024/12/17/string-or-value/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=some-news-about-net-10" target="_blank" rel="noopener noreferrer nofollow">Deserializing JSON to a String or a Value</a><br>Learn how to handle JSON fields that unpredictably switch between strings and values. This modern implementation of a dual-state type leverages C# features to simplify deserialization, improve clarity, and ensure type safety when working with quirky APIs.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://devblogs.microsoft.com/visualstudio/create-internal-github-repos-for-your-team/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=some-news-about-net-10" target="_blank" rel="noopener noreferrer nofollow">Create Internal GitHub Repos for Your Team</a><br>Discover the new ability to create internal GitHub repositories directly within Visual Studio 2022. Align with organizational policies effortlessly, manage visibility settings with ease, and stay focused on coding, not configuration.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://trailheadtechnology.com/introducing-hybridcache-in-net-9/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=some-news-about-net-10" target="_blank" rel="noopener noreferrer nofollow">Introducing HybridCache in .NET 9</a><br>Discover <i>HybridCache</i> in .NET 9—a new caching library that blends the speed of in-memory caching with the reliability of distributed solutions. Learn how its unified API, stampede protection, and configurable serialization make it a game-changer for scalable, efficient caching in modern ASP.NET Core applications.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://blog.ploeh.dk/2024/12/16/a-restaurant-sandwich/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=some-news-about-net-10" target="_blank" rel="noopener noreferrer nofollow">A Restaurant Sandwich</a><br>Through a detailed example, he demonstrates refactoring a REST API&#39;s PUT handler using this architecture to maintain purity and simplify code.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://ardalis.com/avoid-using-csharp-events-in-aspnetcore-apps/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=some-news-about-net-10" target="_blank" rel="noopener noreferrer nofollow">Avoid Using C# Events in </a><a class="link" href="https://ASP.NET?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=some-news-about-net-10" target="_blank" rel="noopener noreferrer nofollow">ASP.NET</a><a class="link" href="https://ardalis.com/avoid-using-csharp-events-in-aspnetcore-apps/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=some-news-about-net-10" target="_blank" rel="noopener noreferrer nofollow"> Core Applications</a><br>C# events can lead to memory leaks, thread-safety issues, and tight coupling in ASP.NET Core applications. Instead, consider using patterns like Mediator or Event Aggregator for better scalability, maintainability, and decoupling between components, ensuring more reliable and efficient systems.</p><p class="paragraph" style="text-align:left;"></p><p class="paragraph" style="text-align:left;"><br><br><span style="text-decoration:underline;">P.S</span> If you liked this edition, consider forwarding it to a friend!</p><p class="paragraph" style="text-align:left;">If you’re that friend, <a class="link" href="https://csharpinsights.com/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=some-news-about-net-10" target="_blank" rel="noopener noreferrer nofollow">subscribe here</a>.</p><hr class="content_break"><hr class="content_break"></div><div class='beehiiv__footer'><br class='beehiiv__footer__break'><hr class='beehiiv__footer__line'><a target="_blank" class="beehiiv__footer_link" style="text-align: center;" href="https://www.beehiiv.com/powered-by?publication_logo=https%3A%2F%2Fmedia.beehiiv.com%2Fcdn-cgi%2Fimage%2Ffit%3Dscale-down%2Cformat%3Dauto%2Conerror%3Dredirect%2Cquality%3D80%2Fuploads%2Fpublication%2Flogo%2Fdea45f58-ec5f-4b08-8830-5b075e9385ac%2Flogo_klein.png%3Fv%3D1779225549&publication_name=C%23+Insights&utm_campaign=011933f9-4252-4fab-bf35-4f531e60153c&utm_medium=post_rss&utm_source=c_insights">Powered by beehiiv</a></div></div>
  ]]></content:encoded>
</item>

      <item>
  <title>⚙️ Chain of Responsibility Design Pattern in C#</title>
  <description>Explore performance tips, new .NET features, and security improvements, including updates on Minimal API, EF Core, MediatR, and LINQ in this week&#39;s edition.</description>
      <enclosure url="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/ff85e6c4-5e82-41d0-b7ec-83e3ed731179/beehiiv_banner.png" length="39783" type="image/png"/>
  <link>https://newsletter.csharpinsights.com/p/chain-of-responsibility-design-pattern-in-c</link>
  <guid isPermaLink="true">https://newsletter.csharpinsights.com/p/chain-of-responsibility-design-pattern-in-c</guid>
  <pubDate>Wed, 11 Dec 2024 13:00:00 +0000</pubDate>
  <atom:published>2024-12-11T13:00:00Z</atom:published>
  <content:encoded><![CDATA[
    <div class='beehiiv'><style>
  .bh__table, .bh__table_header, .bh__table_cell { border: 1px solid #C0C0C0; }
  .bh__table_cell { padding: 5px; background-color: #FFFFFF; }
  .bh__table_cell p { color: #2D2D2D; font-family: 'Helvetica',Arial,sans-serif !important; overflow-wrap: break-word; }
  .bh__table_header { padding: 5px; background-color:#F1F1F1; }
  .bh__table_header p { color: #2A2A2A; font-family:'Trebuchet MS','Lucida Grande',Tahoma,sans-serif !important; overflow-wrap: break-word; }
</style><div class='beehiiv__body'><h3 class="heading" style="text-align:left;" id="writer-rag-tool-build-productionrea">Writer RAG tool: build production-ready RAG apps in minutes</h3><div class="image"><a class="image__link" href="https://writer.com/engineering/rag-tool/?utm_source=beehiiv&utm_medium=newsletter&utm_campaign=rag-tool_8LRS7JYDM4_c_insights&_bhiiv=opp_5aa5cf4f-ee4a-42c0-89e4-e4bc4d67c91c_3b00bf9b&bhcl_id=ad0ddc2d-dfbb-43a4-8556-67b7b16859b9_{{subscriber_id}}_{{email_address_id}}" rel="noopener" target="_blank"><img class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/e2028307-3de3-43f9-b7a5-f2c31418a552/2024-12_Writer_RAG_tool__build_production-ready_RAG_apps_in_minutes_-_16_9_Newsletter.png?t=1734711822"/></a></div><ul><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://writer.com/engineering/rag-tool/?utm_source=beehiiv&utm_medium=newsletter&utm_campaign=rag-tool_8LRS7JYDM4_c_insights&_bhiiv=opp_5aa5cf4f-ee4a-42c0-89e4-e4bc4d67c91c_3b00bf9b&bhcl_id=ad0ddc2d-dfbb-43a4-8556-67b7b16859b9_{{subscriber_id}}_{{email_address_id}}" target="_blank" rel="noopener noreferrer nofollow">Writer RAG Tool</a>: build production-ready RAG apps in minutes with simple API calls.</p></li><li><p class="paragraph" style="text-align:left;">Knowledge Graph integration for intelligent data retrieval and AI-powered interactions.</p></li><li><p class="paragraph" style="text-align:left;">Streamlined full-stack platform eliminates complex setups for scalable, accurate AI workflows.</p></li></ul><p class="paragraph" style="text-align:left;"><a class="link" href="https://writer.com/engineering/rag-tool/?utm_source=beehiiv&utm_medium=newsletter&utm_campaign=rag-tool_8LRS7JYDM4_c_insights&_bhiiv=opp_5aa5cf4f-ee4a-42c0-89e4-e4bc4d67c91c_3b00bf9b&bhcl_id=ad0ddc2d-dfbb-43a4-8556-67b7b16859b9_{{subscriber_id}}_{{email_address_id}}" target="_blank" rel="noopener noreferrer nofollow">Learn more about our production ready RAG tooling here.</a></p><hr class="content_break"><p class="paragraph" style="text-align:center;"><a class="link" href="https://sponsorships.csharpinsights.com/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=chain-of-responsibility-design-pattern-in-c" target="_blank" rel="noopener noreferrer nofollow"><span style="text-decoration:underline;">Sponsor</span></a></p><p class="paragraph" style="text-align:left;">Hey {{ First_Name | There }}! ✌️</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://code-maze.com/csharp-chain-of-responsibility-design-pattern/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=chain-of-responsibility-design-pattern-in-c" target="_blank" rel="noopener noreferrer nofollow">Chain of Responsibility Design Pattern in C#</a><br>Discover how the Chain of Responsibility design pattern fosters loose coupling and streamlines logic by chaining independent handlers. Learn to implement this pattern to tackle complex workflows efficiently while adhering to the Single Responsibility Principle.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://dateo-software.de/blog/testing-platform?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=chain-of-responsibility-design-pattern-in-c" target="_blank" rel="noopener noreferrer nofollow">Using Testing.Platform with .NET 9</a><br>Discover the future of testing in .NET 9 with Microsoft&#39;s new Testing.Platform—a faster, portable, and more secure replacement for MSTest.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://blog.postsharp.net/factory-pattern?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=chain-of-responsibility-design-pattern-in-c" target="_blank" rel="noopener noreferrer nofollow">The Factory Design Pattern in C#</a><br>This article dives into practical use cases, such as dynamic object creation, asynchronous operations, and unit testing, complete with examples and implementation tips for modern .NET applications.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://steven-giesel.com/blogPost/82ebfd51-23c0-44b7-9602-628d1aba5f3c/linq-might-get-a-left-join-operator-in-net-10?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=chain-of-responsibility-design-pattern-in-c" target="_blank" rel="noopener noreferrer nofollow">LINQ Might Get a &quot;Left Join&quot; Operator in .NET 10</a><br>A proposal could make LEFT JOINs in LINQ simpler, adding a <code>LeftJoin</code> operator in .NET 10. Discover how this feature can streamline LINQ-to-Entity Framework queries and why it’s a game-changer for database developers!</p><hr class="content_break"><h3 class="heading" style="text-align:left;" id="why-struggle-with-file-uploads-pina">Why struggle with file uploads? Pinata’s File API is your fix</h3><p class="paragraph" style="text-align:left;">Simplify your development workflow with <a class="link" href="https://pinata.cloud/?utm_source=beehiiv&utm_medium=paid&utm_campaign=8LRS7JYDM4&_bhiiv=opp_42a0aff4-37ca-441b-a75b-d5acdb2cf94b_1bd08b6e&bhcl_id=693e2ee9-69fc-42f8-924b-bef498bdc4bf_{{subscriber_id}}_{{email_address_id}}" target="_blank" rel="noopener noreferrer nofollow">Pinata’s</a> File API. Add file uploads and retrieval to your app in minutes, without the need for complicated configurations. Pinata provides simple file management so you can focus on creating great features.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://pinata.cloud/?utm_source=beehiiv&utm_medium=paid&utm_campaign=8LRS7JYDM4&_bhiiv=opp_42a0aff4-37ca-441b-a75b-d5acdb2cf94b_1bd08b6e&bhcl_id=693e2ee9-69fc-42f8-924b-bef498bdc4bf_{{subscriber_id}}_{{email_address_id}}" target="_blank" rel="noopener noreferrer nofollow">Build now!</a></p><hr class="content_break"><p class="paragraph" style="text-align:left;"><a class="link" href="https://www.linkedin.com/pulse/10-reasons-why-application-packaging-isnt-going-ronald-vonk-mba-cdcue/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=chain-of-responsibility-design-pattern-in-c" target="_blank" rel="noopener noreferrer nofollow">10 Reasons Why Application Packaging Isn&#39;t Going Anywhere</a><br>Application packaging bridges legacy systems with modern IT, ensuring secure, standardized, and efficient software deployment across diverse environments.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://goatreview.com/dont-use-mediatr-by-default-net-projects/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=chain-of-responsibility-design-pattern-in-c" target="_blank" rel="noopener noreferrer nofollow">Don&#39;t Use MediatR by Default on All .NET Projects</a><br>The article contrasts MediatR-based solutions with leaner alternatives, highlighting how unnecessary dependencies can complicate development and advising developers to prioritize project-specific needs over trends.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://devblogs.microsoft.com/identity/microsoft-entra-id-and-three-tier-arhcitecture/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=chain-of-responsibility-design-pattern-in-c" target="_blank" rel="noopener noreferrer nofollow">Integrating Microsoft Entra ID for Enhanced Security in Three-Tier Architecture</a><br>This guide introduces core concepts and flows, offering practical steps to safeguard applications while simplifying user authentication and access management.</p><p class="paragraph" style="text-align:left;"></p><p class="paragraph" style="text-align:left;"><br><br><span style="text-decoration:underline;">P.S</span> If you liked this edition, consider forwarding it to a friend!</p><p class="paragraph" style="text-align:left;">If you’re that friend, <a class="link" href="https://csharpinsights.com/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=chain-of-responsibility-design-pattern-in-c" target="_blank" rel="noopener noreferrer nofollow">subscribe here</a>.</p><hr class="content_break"><hr class="content_break"></div><div class='beehiiv__footer'><br class='beehiiv__footer__break'><hr class='beehiiv__footer__line'><a target="_blank" class="beehiiv__footer_link" style="text-align: center;" href="https://www.beehiiv.com/powered-by?publication_logo=https%3A%2F%2Fmedia.beehiiv.com%2Fcdn-cgi%2Fimage%2Ffit%3Dscale-down%2Cformat%3Dauto%2Conerror%3Dredirect%2Cquality%3D80%2Fuploads%2Fpublication%2Flogo%2Fdea45f58-ec5f-4b08-8830-5b075e9385ac%2Flogo_klein.png%3Fv%3D1779225549&publication_name=C%23+Insights&utm_campaign=c7533626-0ce1-49f8-b11a-3fafdebbadfb&utm_medium=post_rss&utm_source=c_insights">Powered by beehiiv</a></div></div>
  ]]></content:encoded>
</item>

      <item>
  <title>⚙️ How to Create a Minimal API in .NET Core – Free Handbook</title>
  <description>Explore the latest in .NET with performance comparisons, new features, security tips, and more in this week&#39;s C# Insights newsletter!</description>
      <enclosure url="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/ff85e6c4-5e82-41d0-b7ec-83e3ed731179/beehiiv_banner.png" length="39783" type="image/png"/>
  <link>https://newsletter.csharpinsights.com/p/how-to-create-a-minimal-api-in-net-core-free-handbook</link>
  <guid isPermaLink="true">https://newsletter.csharpinsights.com/p/how-to-create-a-minimal-api-in-net-core-free-handbook</guid>
  <pubDate>Wed, 04 Dec 2024 12:00:00 +0000</pubDate>
  <atom:published>2024-12-04T12:00:00Z</atom:published>
  <content:encoded><![CDATA[
    <div class='beehiiv'><style>
  .bh__table, .bh__table_header, .bh__table_cell { border: 1px solid #C0C0C0; }
  .bh__table_cell { padding: 5px; background-color: #FFFFFF; }
  .bh__table_cell p { color: #2D2D2D; font-family: 'Helvetica',Arial,sans-serif !important; overflow-wrap: break-word; }
  .bh__table_header { padding: 5px; background-color:#F1F1F1; }
  .bh__table_header p { color: #2A2A2A; font-family:'Trebuchet MS','Lucida Grande',Tahoma,sans-serif !important; overflow-wrap: break-word; }
</style><div class='beehiiv__body'><h3 class="heading" style="text-align:left;" id="try-the-internets-easiest-file-api">Try the internet’s easiest File API</h3><div class="image"><a class="image__link" href="https://pinata.cloud/?utm_source=beehiiv&utm_medium=paid&utm_campaign=8LRS7JYDM4&_bhiiv=opp_b3501341-112a-4b9d-8a45-b5ce329ca7b8_1bd08b6e&bhcl_id=2529efab-c5bd-4d34-acd0-d745e762c86f_{{subscriber_id}}_{{email_address_id}}" rel="noopener" target="_blank"><img class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/185282a6-568d-46d8-b233-0fef7e1a8790/1.png?t=1727795873"/></a></div><p class="paragraph" style="text-align:left;">Tired of spending hours setting up file management systems? <a class="link" href="https://pinata.cloud/?utm_source=beehiiv&utm_medium=paid&utm_campaign=8LRS7JYDM4&_bhiiv=opp_b3501341-112a-4b9d-8a45-b5ce329ca7b8_1bd08b6e&bhcl_id=2529efab-c5bd-4d34-acd0-d745e762c86f_{{subscriber_id}}_{{email_address_id}}" target="_blank" rel="noopener noreferrer nofollow">Pinata’s</a> File API makes it effortless. With simple integration, you can add file uploads and retrieval to your app in minutes, allowing you to focus on building features instead of wasting time on unnecessary configurations. Our API provides fast, secure, and scalable file management without the hassle of maintaining infrastructure.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://pinata.cloud/?utm_source=beehiiv&utm_medium=paid&utm_campaign=8LRS7JYDM4&_bhiiv=opp_b3501341-112a-4b9d-8a45-b5ce329ca7b8_1bd08b6e&bhcl_id=2529efab-c5bd-4d34-acd0-d745e762c86f_{{subscriber_id}}_{{email_address_id}}" target="_blank" rel="noopener noreferrer nofollow">Try it now!</a></p><hr class="content_break"><p class="paragraph" style="text-align:center;"><a class="link" href="https://sponsorships.csharpinsights.com/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=how-to-create-a-minimal-api-in-net-core-free-handbook" target="_blank" rel="noopener noreferrer nofollow"><span style="text-decoration:underline;">Sponsor</span></a></p><p class="paragraph" style="text-align:left;">Hey {{ First_Name | There }}! ✌️</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://www.freecodecamp.org/news/create-a-minimal-api-in-net-core-handbook/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=how-to-create-a-minimal-api-in-net-core-free-handbook" target="_blank" rel="noopener noreferrer nofollow"><b>How to Create a Minimal API in .NET Core – A Step By Step Handbook</b></a></p><p class="paragraph" style="text-align:left;">Learn how to build a fully functional bookstore API with CRUD operations, simplified code, and seamless Swagger integration—perfect for creating lightweight, efficient APIs with minimal boilerplate.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://www.code4it.dev/csharptips/bogus-data-generation/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=how-to-create-a-minimal-api-in-net-core-free-handbook" target="_blank" rel="noopener noreferrer nofollow"><b>C# Tip: 2 Ways to Generate Realistic Data Using Bogus</b></a></p><p class="paragraph" style="text-align:left;">Learn two simple ways to use Bogus for generating realistic data in .NET projects—whether you need quick, ad-hoc results or reusable configurations for complex scenarios.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://medium.com/@agnes.zitte/bring-holiday-cheer-to-friends-family-build-a-cross-platform-advent-calendar-app-for-every-264268732e2f?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=how-to-create-a-minimal-api-in-net-core-free-handbook" target="_blank" rel="noopener noreferrer nofollow"><b>Bring Holiday Cheer to Friends & Family: Build a Cross-Platform Advent Calendar App for Every Device</b></a></p><p class="paragraph" style="text-align:left;">This step-by-step guide empowers you to spread joy with festive designs, daily surprises, and personalized touches—perfect for the holiday season.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://developer.mescius.com/blogs/how-to-programmatically-convert-html-to-pdf-c-sharp?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=how-to-create-a-minimal-api-in-net-core-free-handbook" target="_blank" rel="noopener noreferrer nofollow"><b>How to Programmatically Convert HTML to PDF in C#</b></a></p><p class="paragraph" style="text-align:left;">Master the art of transforming HTML into PDFs in your .NET applications with DsHtml and DsPdf.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://devblogs.microsoft.com/dotnet/dotnet-9-nuget-resolver/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=how-to-create-a-minimal-api-in-net-core-free-handbook" target="_blank" rel="noopener noreferrer nofollow"><b>Dramatically Faster Package Restores with .NET 9’s New NuGet Resolver</b></a></p><p class="paragraph" style="text-align:left;">.NET 9 introduces a revolutionary NuGet dependency resolver, slashing package restore times from 16 minutes to 2 minutes for complex projects.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://blog.elmah.io/how-to-bulk-insert-with-efcore/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=how-to-create-a-minimal-api-in-net-core-free-handbook" target="_blank" rel="noopener noreferrer nofollow"><b>How to Bulk Insert with EF Core</b></a></p><p class="paragraph" style="text-align:left;">From built-in methods like <code>AddRange</code> to advanced options like <code>BulkInsertAsync</code> and raw SQL, this guide dives deep into optimizing large-scale data operations, complete with code examples, advantages, and practical tips.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://damienbod.com/2024/12/02/using-asp-net-core-with-azure-key-vault/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=how-to-create-a-minimal-api-in-net-core-free-handbook" target="_blank" rel="noopener noreferrer nofollow"><b>Using </b></a><a class="link" href="https://ASP.NET?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=how-to-create-a-minimal-api-in-net-core-free-handbook" target="_blank" rel="noopener noreferrer nofollow"><b>ASP.NET</b></a><a class="link" href="https://damienbod.com/2024/12/02/using-asp-net-core-with-azure-key-vault/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=how-to-create-a-minimal-api-in-net-core-free-handbook" target="_blank" rel="noopener noreferrer nofollow"><b> Core with Azure Key Vault</b></a></p><p class="paragraph" style="text-align:left;">Simplify Azure Key Vault integration in ASP.NET Core for local development and production. Learn how to resolve credential issues using ChainedTokenCredential, streamline access with user secrets, and optimize configuration for seamless team collaboration without repeated RBAC changes.</p><p class="paragraph" style="text-align:left;"><br><br><span style="text-decoration:underline;">P.S</span> If you liked this edition, consider forwarding it to a friend!</p><p class="paragraph" style="text-align:left;">If you’re that friend, <a class="link" href="https://csharpinsights.com/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=how-to-create-a-minimal-api-in-net-core-free-handbook" target="_blank" rel="noopener noreferrer nofollow">subscribe here</a>.</p><hr class="content_break"><hr class="content_break"></div><div class='beehiiv__footer'><br class='beehiiv__footer__break'><hr class='beehiiv__footer__line'><a target="_blank" class="beehiiv__footer_link" style="text-align: center;" href="https://www.beehiiv.com/powered-by?publication_logo=https%3A%2F%2Fmedia.beehiiv.com%2Fcdn-cgi%2Fimage%2Ffit%3Dscale-down%2Cformat%3Dauto%2Conerror%3Dredirect%2Cquality%3D80%2Fuploads%2Fpublication%2Flogo%2Fdea45f58-ec5f-4b08-8830-5b075e9385ac%2Flogo_klein.png%3Fv%3D1779225549&publication_name=C%23+Insights&utm_campaign=734c8a3b-09ee-48ea-be0f-5e17f1f155bf&utm_medium=post_rss&utm_source=c_insights">Powered by beehiiv</a></div></div>
  ]]></content:encoded>
</item>

      <item>
  <title>⚙️ Everything New in .NET 9: The Ultimate Developer&#39;s Guide</title>
  <description>.NET 9 brings key upgrades in performance, security, and usability. This edition covers new features like faster app startups, optimized garbage collection, ARM64 support, and inline arrays in C# 12. Plus, tips on fire-and-forget methods, automating reports, and upgrading to MAUI 9, along with insights on Blazor and Object Calisthenics.</description>
      <enclosure url="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/297cc40e-18da-4f8c-ac4a-7d3132d69018/beehiiv_banner_27112024.png" length="807157" type="image/png"/>
  <link>https://newsletter.csharpinsights.com/p/everything-new-in-net-9-the-ultimate-developer-s-guide</link>
  <guid isPermaLink="true">https://newsletter.csharpinsights.com/p/everything-new-in-net-9-the-ultimate-developer-s-guide</guid>
  <pubDate>Wed, 27 Nov 2024 11:00:00 +0000</pubDate>
  <atom:published>2024-11-27T11:00:00Z</atom:published>
  <content:encoded><![CDATA[
    <div class='beehiiv'><style>
  .bh__table, .bh__table_header, .bh__table_cell { border: 1px solid #C0C0C0; }
  .bh__table_cell { padding: 5px; background-color: #FFFFFF; }
  .bh__table_cell p { color: #2D2D2D; font-family: 'Helvetica',Arial,sans-serif !important; overflow-wrap: break-word; }
  .bh__table_header { padding: 5px; background-color:#F1F1F1; }
  .bh__table_header p { color: #2A2A2A; font-family:'Trebuchet MS','Lucida Grande',Tahoma,sans-serif !important; overflow-wrap: break-word; }
</style><div class='beehiiv__body'><h3 class="heading" style="text-align:left;" id="unlock-windsurf-editor-by-codeium">Unlock Windsurf Editor, by Codeium.</h3><p class="paragraph" style="text-align:left;">Introducing the <a class="link" href="https://wind.surf/beehiiv?utm_source=beehiiv&utm_campaign=8LRS7JYDM4&_bhiiv=opp_4e9ab780-7e97-408b-8c9a-4e10446cf85e_adb2cdd1&bhcl_id=5ff32949-b1f5-49f9-be3f-3d432a1c1062_{{subscriber_id}}_{{email_address_id}}" target="_blank" rel="noopener noreferrer nofollow">Windsurf Editor</a>, the first agentic IDE. All the features you know and love from Codeium’s extensions plus new capabilities such as Cascade that act as collaborative AI agents, combining the best of copilot and agent systems. This flow state of working with AI creates a step-change in AI capability that results in truly magical moments.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://wind.surf/beehiiv?utm_source=beehiiv&utm_campaign=8LRS7JYDM4&_bhiiv=opp_4e9ab780-7e97-408b-8c9a-4e10446cf85e_adb2cdd1&bhcl_id=5ff32949-b1f5-49f9-be3f-3d432a1c1062_{{subscriber_id}}_{{email_address_id}}" target="_blank" rel="noopener noreferrer nofollow">Download It Free Today</a></p><hr class="content_break"><p class="paragraph" style="text-align:center;"><a class="link" href="https://sponsorships.csharpinsights.com/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=everything-new-in-net-9-the-ultimate-developer-s-guide" target="_blank" rel="noopener noreferrer nofollow"><span style="text-decoration:underline;">Sponsor</span></a></p><p class="paragraph" style="text-align:left;">Hey {{ First_Name | There }}! ✌️</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://dev.to/bytehide/everything-new-in-net-9-the-ultimate-developers-guide-331e?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=everything-new-in-net-9-the-ultimate-developer-s-guide" target="_blank" rel="noopener noreferrer nofollow">Everything New in .NET 9: The Ultimate Developer&#39;s Guide</a><br>.NET 9 brings performance, security, and usability upgrades across runtime, libraries, and tools, including faster app startups, optimized garbage collection, and ARM64 support.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://techcommunity.microsoft.com/blog/educatordeveloperblog/fire-and-forget-methods-in-c-%E2%80%94-best-practices--pitfalls/4299605?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=everything-new-in-net-9-the-ultimate-developer-s-guide" target="_blank" rel="noopener noreferrer nofollow">Fire-and-Forget Methods in C# — Best Practices & Pitfalls</a><br>Fire-and-forget methods in C# allow background tasks to run without blocking the main flow, but they come with challenges, especially when accessing scoped services.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://endjin.com/blog/2024/11/csharp-12-inline-arrays?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=everything-new-in-net-9-the-ultimate-developer-s-guide" target="_blank" rel="noopener noreferrer nofollow">C# 12.0: Inline Arrays</a><br>C# 12.0 introduces inline arrays, allowing fixed-size arrays to live directly inside data types rather than as separate heap objects.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://devblogs.microsoft.com/dotnet/introducing-dotnet-scaffold/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=everything-new-in-net-9-the-ultimate-developer-s-guide" target="_blank" rel="noopener noreferrer nofollow">dotnet Scaffold – Next Generation Content Creation for .NET</a><br>Learn how to install it, generate CRUD operations with Entity Framework, and customize your .NET 9 web app effortlessly!</p><hr class="content_break"><h3 class="heading" style="text-align:left;" id="ditch-the-complexity-pinatas-file-a">Ditch the complexity—Pinata’s File API gets you uploading in minutes</h3><p class="paragraph" style="text-align:left;"><a class="link" href="https://pinata.cloud/?utm_source=beehiiv&utm_medium=paid&utm_campaign=8LRS7JYDM4&_bhiiv=opp_d73efc8d-9fc3-4d90-8e69-2e78bc1517fb_1bd08b6e&bhcl_id=af3b1ebd-e202-4c92-9148-69994c65686d_{{subscriber_id}}_{{email_address_id}}" target="_blank" rel="noopener noreferrer nofollow">Pinata’s</a> File API is designed to make your life as a developer easier. Say goodbye to time-consuming setups and configuration hassles. With just a few lines of code, you can add file uploads and retrieval to your app, freeing up time to focus on building features that matter. Whether you&#39;re building large-scale projects or a weekend app, Pinata provides fast, secure, and scalable file management.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://pinata.cloud/?utm_source=beehiiv&utm_medium=paid&utm_campaign=8LRS7JYDM4&_bhiiv=opp_d73efc8d-9fc3-4d90-8e69-2e78bc1517fb_1bd08b6e&bhcl_id=af3b1ebd-e202-4c92-9148-69994c65686d_{{subscriber_id}}_{{email_address_id}}" target="_blank" rel="noopener noreferrer nofollow">Build now!</a></p><hr class="content_break"><p class="paragraph" style="text-align:left;"><a class="link" href="https://developer.mescius.com/blogs/how-to-schedule-and-automate-c-sharp-net-reports?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=everything-new-in-net-9-the-ultimate-developer-s-guide" target="_blank" rel="noopener noreferrer nofollow">How to Schedule and Automate C# .NET Reports</a><br>Automate your reporting with C# .NET and ActiveReports.NET! This guide walks you through setting up automated report generation, scheduling, and distribution, ensuring timely and accurate insights with minimal manual effort.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://blazorhelpwebsite.com/ViewBlogPost/34?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=everything-new-in-net-9-the-ultimate-developer-s-guide" target="_blank" rel="noopener noreferrer nofollow">Creating A Step-By-Step End-To-End Database Server-Side Blazor Application (Updated to .NET 9)</a><br>This tutorial covers setting up the database, creating the Blazor app, implementing CRUD operations, and handling user authentication with a smooth UI for adding, editing, and deleting records.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://www.stephanarnas.com/posts/upgrade-maui-dotnet-9?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=everything-new-in-net-9-the-ultimate-developer-s-guide" target="_blank" rel="noopener noreferrer nofollow">Upgrade MAUI to .NET 9.0</a><br>Follow this step-by-step guide to update your IDE, SDKs, workloads, and resolve critical build warnings for a smooth migration. Embrace the future of .NET with confidence—get started today!</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://goatreview.com/object-calisthenics-5-other-points-of-views/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=everything-new-in-net-9-the-ultimate-developer-s-guide" target="_blank" rel="noopener noreferrer nofollow">Object Calisthenics #5: Other Points of Views</a><br>This article celebrates diverse viewpoints, showcasing how flexible application of these guidelines fosters cleaner, maintainable, and context-driven code.</p><p class="paragraph" style="text-align:left;"><br><br><span style="text-decoration:underline;">P.S</span> If you liked this edition, consider forwarding it to a friend!</p><p class="paragraph" style="text-align:left;">If you’re that friend, <a class="link" href="https://csharpinsights.com/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=everything-new-in-net-9-the-ultimate-developer-s-guide" target="_blank" rel="noopener noreferrer nofollow">subscribe here</a>.</p><hr class="content_break"><hr class="content_break"></div><div class='beehiiv__footer'><br class='beehiiv__footer__break'><hr class='beehiiv__footer__line'><a target="_blank" class="beehiiv__footer_link" style="text-align: center;" href="https://www.beehiiv.com/powered-by?publication_logo=https%3A%2F%2Fmedia.beehiiv.com%2Fcdn-cgi%2Fimage%2Ffit%3Dscale-down%2Cformat%3Dauto%2Conerror%3Dredirect%2Cquality%3D80%2Fuploads%2Fpublication%2Flogo%2Fdea45f58-ec5f-4b08-8830-5b075e9385ac%2Flogo_klein.png%3Fv%3D1779225549&publication_name=C%23+Insights&utm_campaign=181d090a-9ecd-4a39-b735-50f6d522c8fa&utm_medium=post_rss&utm_source=c_insights">Powered by beehiiv</a></div></div>
  ]]></content:encoded>
</item>

      <item>
  <title>⚙️ How to Benchmark Your Code in C#!</title>
  <description>Explore .NET 9 features like Raspberry Pi integration, JSON schema boosts, benchmarking, logging with Seq, and new community tools for efficient cross-platform development.</description>
      <enclosure url="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/55746863-e5e6-4ec7-b428-42f305c145cc/beehiiv_banner_20112024.png" length="848328" type="image/png"/>
  <link>https://newsletter.csharpinsights.com/p/how-to-benchmark-your-code-in-c</link>
  <guid isPermaLink="true">https://newsletter.csharpinsights.com/p/how-to-benchmark-your-code-in-c</guid>
  <pubDate>Wed, 20 Nov 2024 12:12:25 +0000</pubDate>
  <atom:published>2024-11-20T12:12:25Z</atom:published>
  <content:encoded><![CDATA[
    <div class='beehiiv'><style>
  .bh__table, .bh__table_header, .bh__table_cell { border: 1px solid #C0C0C0; }
  .bh__table_cell { padding: 5px; background-color: #FFFFFF; }
  .bh__table_cell p { color: #2D2D2D; font-family: 'Helvetica',Arial,sans-serif !important; overflow-wrap: break-word; }
  .bh__table_header { padding: 5px; background-color:#F1F1F1; }
  .bh__table_header p { color: #2A2A2A; font-family:'Trebuchet MS','Lucida Grande',Tahoma,sans-serif !important; overflow-wrap: break-word; }
</style><div class='beehiiv__body'><h3 class="heading" style="text-align:left;" id="streamline-your-development-process">Streamline your development process with Pinata’s easy File API</h3><div class="image"><a class="image__link" href="https://pinata.cloud/?utm_source=beehiiv&utm_medium=paid&utm_campaign=8LRS7JYDM4&_bhiiv=opp_0ff5dff9-4adb-476c-8edc-785a314f2d3c_1bd08b6e&bhcl_id=f00dd4ff-e32f-4153-9723-575e2f75d55c_{{subscriber_id}}_{{email_address_id}}" rel="noopener" target="_blank"><img class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/57d006d8-aaff-4640-b9b4-42dc221417e5/3.png?t=1727796143"/></a></div><ul><li><p class="paragraph" style="text-align:left;">Easy file uploads and retrieval in minutes</p></li><li><p class="paragraph" style="text-align:left;">No complex setup or infrastructure needed</p></li><li><p class="paragraph" style="text-align:left;">Focus on building, not configurations</p></li></ul><p class="paragraph" style="text-align:left;"><a class="link" href="https://pinata.cloud/?utm_source=beehiiv&utm_medium=paid&utm_campaign=8LRS7JYDM4&_bhiiv=opp_0ff5dff9-4adb-476c-8edc-785a314f2d3c_1bd08b6e&bhcl_id=f00dd4ff-e32f-4153-9723-575e2f75d55c_{{subscriber_id}}_{{email_address_id}}" target="_blank" rel="noopener noreferrer nofollow">Try today!</a></p><hr class="content_break"><p class="paragraph" style="text-align:center;"><a class="link" href="https://sponsorships.csharpinsights.com/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=how-to-benchmark-your-code-in-c" target="_blank" rel="noopener noreferrer nofollow"><span style="text-decoration:underline;">Sponsor</span></a></p><p class="paragraph" style="text-align:left;">Hey {{ First_Name | There }}! ✌️</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://www.freecodecamp.org/news/how-to-benchmark-your-code-in-csharp/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=how-to-benchmark-your-code-in-c" target="_blank" rel="noopener noreferrer nofollow">How to Benchmark Your Code in C#</a></p><p class="paragraph" style="text-align:left;">Discover why stopwatch-based testing falls short, learn how to set up precise benchmarks, and gain insights into execution speed, memory usage, and more.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://www.petecodes.co.uk/install-and-use-microsoft-dot-net-9-with-the-raspberry-pi/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=how-to-benchmark-your-code-in-c" target="_blank" rel="noopener noreferrer nofollow">Install and Use Microsoft Dot NET 9 with the Raspberry Pi</a></p><p class="paragraph" style="text-align:left;">Learn how to install .NET 9, set up your Raspberry Pi, and bring your IoT projects to life with C#—from flashing LEDs to responsive button controls.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://devblogs.microsoft.com/dotnet/introducing-the-dotnet-aspire-community-toolkit/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=how-to-benchmark-your-code-in-c" target="_blank" rel="noopener noreferrer nofollow">Introducing the .NET Aspire Community Toolkit</a></p><p class="paragraph" style="text-align:left;">Unleash the potential of .NET Aspire 9 with the new Community Toolkit—a growing collection of community-driven integrations and extensions.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://www.youtube.com/watch?v=2CDYjjgVhsI&utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=how-to-benchmark-your-code-in-c" target="_blank" rel="noopener noreferrer nofollow">Publish .NET Apps as a Single File to Windows, Linux, and Mac!</a></p><p class="paragraph" style="text-align:left;">Discover how to package your .NET applications into a single executable file for Windows, Linux, and macOS. This step-by-step guide streamlines cross-platform deployment like never before!</p><hr class="content_break"><h3 class="heading" style="text-align:left;" id="writer-rag-tool-build-productionrea">Writer RAG tool: build production-ready RAG apps in minutes</h3><p class="paragraph" style="text-align:left;">RAG in just a few lines of code? We’ve launched a predefined <a class="link" href="https://writer.com/engineering/rag-tool/?utm_source=beehiiv&utm_medium=newsletter&utm_campaign=rag-tool_8LRS7JYDM4_c_insights&_bhiiv=opp_b4d58dd0-0f79-454a-9806-cd4866a3885a_3b00bf9b&bhcl_id=a3954c99-800d-4eb6-a528-2350383c30de_{{subscriber_id}}_{{email_address_id}}" target="_blank" rel="noopener noreferrer nofollow">RAG tool</a> on our developer platform, making it easy to bring your data into a Knowledge Graph and interact with it with AI. With a single API call, writer LLMs will intelligently call the RAG tool to chat with your data.</p><p class="paragraph" style="text-align:left;">Integrated into <a class="link" href="https://writer.com/engineering/rag-tool/?utm_source=beehiiv&utm_medium=newsletter&utm_campaign=rag-tool_8LRS7JYDM4_c_insights&_bhiiv=opp_b4d58dd0-0f79-454a-9806-cd4866a3885a_3b00bf9b&bhcl_id=a3954c99-800d-4eb6-a528-2350383c30de_{{subscriber_id}}_{{email_address_id}}" target="_blank" rel="noopener noreferrer nofollow">Writer’s full-stack platform</a>, it eliminates the need for complex vendor RAG setups, making it quick to build scalable, highly accurate AI workflows just by passing a graph ID of your data as a parameter to your RAG tool.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://writer.com/engineering/rag-tool/?utm_source=beehiiv&utm_medium=newsletter&utm_campaign=rag-tool_8LRS7JYDM4_c_insights&_bhiiv=opp_b4d58dd0-0f79-454a-9806-cd4866a3885a_3b00bf9b&bhcl_id=a3954c99-800d-4eb6-a528-2350383c30de_{{subscriber_id}}_{{email_address_id}}" target="_blank" rel="noopener noreferrer nofollow">Learn more about our production ready RAG tooling here.</a></p><hr class="content_break"><p class="paragraph" style="text-align:left;"><a class="link" href="https://endjin.com/blog/2024/11/how-dotnet-9-boosted-json-schema-performance-by-32-percent?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=how-to-benchmark-your-code-in-c" target="_blank" rel="noopener noreferrer nofollow">How .NET 9.0 Boosted JSON Schema Performance by 32%</a></p><p class="paragraph" style="text-align:left;">Discover how .NET 9.0 accelerated JSON Schema validation by up to 32% with runtime optimizations and new APIs, enabling Corvus.JsonSchema to achieve nearly 50% faster performance compared to its .NET 7.0 release. Explore benchmarks, code improvements, and what&#39;s next for JSON performance in .NET 10.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://chnasarre.medium.com/implementing-dotnet-http-to-monitor-your-http-requests-04d79422b98d?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=how-to-benchmark-your-code-in-c" target="_blank" rel="noopener noreferrer nofollow">Implementing dotnet-http to Monitor Your HTTP Requests</a></p><p class="paragraph" style="text-align:left;">Discover how to leverage .NET&#39;s EventSource to decode HTTP request insights like DNS costs, security handshakes, and redirections. Explore the new <code>dotnet-http</code> CLI tool to streamline monitoring and optimize request performance effortlessly.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://www.code4it.dev/blog/logging-with-ilogger-and-seq/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=how-to-benchmark-your-code-in-c" target="_blank" rel="noopener noreferrer nofollow">Easy Logging Management with Seq and ILogger in </a><a class="link" href="https://ASP.NET?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=how-to-benchmark-your-code-in-c" target="_blank" rel="noopener noreferrer nofollow">ASP.NET</a></p><p class="paragraph" style="text-align:left;">Learn how to set up Seq, leverage structured logging with ILogger, and elevate your debugging experience with this powerful tool!</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://www.telerik.com/blogs/blazor-basics-benefits-static-server-side-rendering-blazor?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=how-to-benchmark-your-code-in-c" target="_blank" rel="noopener noreferrer nofollow">Blazor Basics: The Benefits of Static Server-Side Rendering in Blazor</a></p><p class="paragraph" style="text-align:left;">Learn how stream rendering enhances user experience by delivering content progressively, bridging delays and boosting responsiveness.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://andrewlock.net/recent-updates-for-netescapades-enumgenerators-interceptors/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=how-to-benchmark-your-code-in-c" target="_blank" rel="noopener noreferrer nofollow">Recent Updates for NetEscapades.EnumGenerators: Interceptors!</a></p><p class="paragraph" style="text-align:left;">Explore the latest 1.0.0-beta11 update, featuring experimental interceptor support for effortless ToString() optimizations. Learn how interceptors replace method calls, making your enums faster and more efficient—no code changes required!</p><p class="paragraph" style="text-align:left;"><br><br><span style="text-decoration:underline;">P.S</span> If you liked this edition, consider forwarding it to a friend!</p><p class="paragraph" style="text-align:left;">If you’re that friend, <a class="link" href="https://csharpinsights.com/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=how-to-benchmark-your-code-in-c" target="_blank" rel="noopener noreferrer nofollow">subscribe here</a>.</p><hr class="content_break"><hr class="content_break"></div><div class='beehiiv__footer'><br class='beehiiv__footer__break'><hr class='beehiiv__footer__line'><a target="_blank" class="beehiiv__footer_link" style="text-align: center;" href="https://www.beehiiv.com/powered-by?publication_logo=https%3A%2F%2Fmedia.beehiiv.com%2Fcdn-cgi%2Fimage%2Ffit%3Dscale-down%2Cformat%3Dauto%2Conerror%3Dredirect%2Cquality%3D80%2Fuploads%2Fpublication%2Flogo%2Fdea45f58-ec5f-4b08-8830-5b075e9385ac%2Flogo_klein.png%3Fv%3D1779225549&publication_name=C%23+Insights&utm_campaign=13913857-26ea-496c-807f-97078b36043b&utm_medium=post_rss&utm_source=c_insights">Powered by beehiiv</a></div></div>
  ]]></content:encoded>
</item>

      <item>
  <title>⚙️ C# Patterns &amp; Best Practices</title>
  <description>Explore essential software patterns, .NET 9 features, C# records, Blazor modals, MSBuild tips, AOP caching, and more to boost your .NET development.</description>
      <enclosure url="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/9dd873aa-6523-4d1c-8ad1-dbeab17b6ae2/beehiiv_banner_13112024.png" length="893900" type="image/png"/>
  <link>https://newsletter.csharpinsights.com/p/c-patterns-best-practices</link>
  <guid isPermaLink="true">https://newsletter.csharpinsights.com/p/c-patterns-best-practices</guid>
  <pubDate>Wed, 13 Nov 2024 12:00:00 +0000</pubDate>
  <atom:published>2024-11-13T12:00:00Z</atom:published>
  <content:encoded><![CDATA[
    <div class='beehiiv'><style>
  .bh__table, .bh__table_header, .bh__table_cell { border: 1px solid #C0C0C0; }
  .bh__table_cell { padding: 5px; background-color: #FFFFFF; }
  .bh__table_cell p { color: #2D2D2D; font-family: 'Helvetica',Arial,sans-serif !important; overflow-wrap: break-word; }
  .bh__table_header { padding: 5px; background-color:#F1F1F1; }
  .bh__table_header p { color: #2A2A2A; font-family:'Trebuchet MS','Lucida Grande',Tahoma,sans-serif !important; overflow-wrap: break-word; }
</style><div class='beehiiv__body'><h3 class="heading" style="text-align:left;" id="streamline-your-development-process">Streamline your development process with Pinata’s easy File API</h3><div class="image"><a class="image__link" href="https://pinata.cloud/?utm_source=beehiiv&utm_medium=paid&utm_campaign=8LRS7JYDM4&_bhiiv=opp_c831f376-3152-478a-ae9e-71aea0bd8fcf_1bd08b6e&bhcl_id=30fae482-1b7f-4368-b6d7-bd147ed0b965_{{subscriber_id}}_{{email_address_id}}" rel="noopener" target="_blank"><img class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/57d006d8-aaff-4640-b9b4-42dc221417e5/3.png?t=1727796143"/></a></div><ul><li><p class="paragraph" style="text-align:left;">Easy file uploads and retrieval in minutes</p></li><li><p class="paragraph" style="text-align:left;">No complex setup or infrastructure needed</p></li><li><p class="paragraph" style="text-align:left;">Focus on building, not configurations</p></li></ul><p class="paragraph" style="text-align:left;"><a class="link" href="https://pinata.cloud/?utm_source=beehiiv&utm_medium=paid&utm_campaign=8LRS7JYDM4&_bhiiv=opp_c831f376-3152-478a-ae9e-71aea0bd8fcf_1bd08b6e&bhcl_id=30fae482-1b7f-4368-b6d7-bd147ed0b965_{{subscriber_id}}_{{email_address_id}}" target="_blank" rel="noopener noreferrer nofollow">Try today!</a></p><hr class="content_break"><p class="paragraph" style="text-align:center;"><a class="link" href="https://sponsorships.csharpinsights.com/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=c-patterns-best-practices" target="_blank" rel="noopener noreferrer nofollow"><span style="text-decoration:underline;">Sponsor</span></a></p><p class="paragraph" style="text-align:left;">Hey {{ First_Name | There }}! ✌️</p><p class="paragraph" style="text-align:left;"></p><p class="paragraph" style="text-align:left;"><a class="link" href="https://www.abhisheksur.com/2024/11/software-patterns-practices.html?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=c-patterns-best-practices" target="_blank" rel="noopener noreferrer nofollow"><b>Software Patterns & Practices</b></a></p><p class="paragraph" style="text-align:left;">Explore essential software design patterns, from creational and structural to behavioral patterns, and understand their role in solving common development challenges. This guide provides an overview of widely accepted solutions, offering developers a structured approach to building efficient, scalable applications.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://pmichaels.net/csharp-records/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=c-patterns-best-practices" target="_blank" rel="noopener noreferrer nofollow"><b>C# Records</b></a></p><p class="paragraph" style="text-align:left;">Learn how they simplify data-handling by default, reducing boilerplate code and enhancing clarity in .NET applications.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://devblogs.microsoft.com/dotnet/announcing-dotnet-9/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=c-patterns-best-practices" target="_blank" rel="noopener noreferrer nofollow"><b>Announcing .NET 9</b></a></p><p class="paragraph" style="text-align:left;">.NET 9 introduces performance enhancements, AI integration, and tools for building smarter, faster apps. With new features for ASP.NET Core, Blazor, .NET MAUI, and Visual Studio, developers can create highly efficient, AI-powered solutions with improved security and a streamlined workflow.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://steven-giesel.com/blogPost/79ab37d4-5fdf-4c36-8b99-ac17bbe1fc01/an-awaitable-blazor-modal-dialog?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=c-patterns-best-practices" target="_blank" rel="noopener noreferrer nofollow"><b>An Awaitable Blazor Modal Dialog</b></a></p><p class="paragraph" style="text-align:left;">Learn how to create an awaitable Blazor modal dialog using <code>TaskCompletionSource&lt;T&gt;</code>. This approach allows you to easily await user input and handle dialog results like &quot;OK&quot; or &quot;Cancel&quot; in a clean and asynchronous way.</p><hr class="content_break"><h3 class="heading" style="text-align:left;" id="instantly-add-file-uploads-to-your-">Instantly add file uploads to your app with Pinata’s API</h3><p class="paragraph" style="text-align:left;"><a class="link" href="https://pinata.cloud/?utm_source=beehiiv&utm_medium=paid&utm_campaign=8LRS7JYDM4&_bhiiv=opp_8120ef35-0c38-4abe-acf2-2fa2a301f378_1bd08b6e&bhcl_id=7f27f4d8-4133-4de5-b4e9-a271d1985247_{{subscriber_id}}_{{email_address_id}}" target="_blank" rel="noopener noreferrer nofollow">Pinata’s</a> File API lets developers integrate file uploads and retrieval in just minutes. No complex setup, no configuration headaches—just fast and scalable file management.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://pinata.cloud/?utm_source=beehiiv&utm_medium=paid&utm_campaign=8LRS7JYDM4&_bhiiv=opp_8120ef35-0c38-4abe-acf2-2fa2a301f378_1bd08b6e&bhcl_id=7f27f4d8-4133-4de5-b4e9-a271d1985247_{{subscriber_id}}_{{email_address_id}}" target="_blank" rel="noopener noreferrer nofollow">Start building!</a></p><hr class="content_break"><p class="paragraph" style="text-align:left;"><a class="link" href="https://www.meziantou.net/stop-using-diagnostic-verbosity-in-msbuild.htm?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=c-patterns-best-practices" target="_blank" rel="noopener noreferrer nofollow"><b>Stop Using Diagnostic Verbosity in MSBuild</b></a></p><p class="paragraph" style="text-align:left;">Instead, leverage the binary log feature to get the same detailed information in a structured, efficient format that minimizes build time and output size, and integrates seamlessly with tools like MSBuildStructuredLog for easy analysis.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://goatreview.com/simplifying-caching-with-aop-metalama/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=c-patterns-best-practices" target="_blank" rel="noopener noreferrer nofollow"><b>Simplifying Caching with Aspect-Oriented Programming and Metalama in .NET</b></a></p><p class="paragraph" style="text-align:left;">Discover how Metalama provides intuitive debugging with LamaDebug and enables dependency injection, making caching aspects cleaner, flexible, and reusable.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://dotnettips.wordpress.com/2024/11/12/boost-your-net-projects-unleashing-the-power-of-spargines-computerinfo/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=c-patterns-best-practices" target="_blank" rel="noopener noreferrer nofollow"><b>Boost Your .NET Projects: Unleashing the Power of Spargine’s ComputerInfo</b></a></p><p class="paragraph" style="text-align:left;">Ideal for logging, it consolidates crucial system metadata, enhancing performance and reliability in your projects—explore its full potential and contribute to this open-source tool.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://jamesnet.dev/article/177/English?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=c-patterns-best-practices" target="_blank" rel="noopener noreferrer nofollow"><b>Implementing the League of Legends Client with WinUI 3: A Quick Transition from Uno Platform and Repository Introduction</b></a></p><p class="paragraph" style="text-align:left;">Learn how the League of Legends client transitioned smoothly from Uno Platform to WinUI 3 in just 30 minutes, leveraging shared core libraries for high compatibility. This article covers the process, challenges, and benefits of using WinUI 3 for cross-platform development with XAML-based frameworks.</p><p class="paragraph" style="text-align:left;"><br><br><span style="text-decoration:underline;">P.S</span> If you liked this edition, consider forwarding it to a friend!</p><p class="paragraph" style="text-align:left;">If you’re that friend, <a class="link" href="https://csharpinsights.com/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=c-patterns-best-practices" target="_blank" rel="noopener noreferrer nofollow">subscribe here</a>.</p><hr class="content_break"><hr class="content_break"></div><div class='beehiiv__footer'><br class='beehiiv__footer__break'><hr class='beehiiv__footer__line'><a target="_blank" class="beehiiv__footer_link" style="text-align: center;" href="https://www.beehiiv.com/powered-by?publication_logo=https%3A%2F%2Fmedia.beehiiv.com%2Fcdn-cgi%2Fimage%2Ffit%3Dscale-down%2Cformat%3Dauto%2Conerror%3Dredirect%2Cquality%3D80%2Fuploads%2Fpublication%2Flogo%2Fdea45f58-ec5f-4b08-8830-5b075e9385ac%2Flogo_klein.png%3Fv%3D1779225549&publication_name=C%23+Insights&utm_campaign=962a7f90-b779-47ca-9efe-5f22d9c3fe40&utm_medium=post_rss&utm_source=c_insights">Powered by beehiiv</a></div></div>
  ]]></content:encoded>
</item>

      <item>
  <title>⚙️ New Design Patter + Code Faster</title>
  <description>Explore .NET insights, from using Metalama for code validation to optimizing EF Core with ToListAsync. Discover the Modern Web App pattern and new GitHub Copilot features.</description>
      <enclosure url="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/d4e2df7b-2abf-4e86-b8d9-f458b1cd68f2/beehiiv_banner_06112024.png" length="882037" type="image/png"/>
  <link>https://newsletter.csharpinsights.com/p/new-design-patter-code-faster</link>
  <guid isPermaLink="true">https://newsletter.csharpinsights.com/p/new-design-patter-code-faster</guid>
  <pubDate>Wed, 06 Nov 2024 12:00:00 +0000</pubDate>
  <atom:published>2024-11-06T12:00:00Z</atom:published>
  <content:encoded><![CDATA[
    <div class='beehiiv'><style>
  .bh__table, .bh__table_header, .bh__table_cell { border: 1px solid #C0C0C0; }
  .bh__table_cell { padding: 5px; background-color: #FFFFFF; }
  .bh__table_cell p { color: #2D2D2D; font-family: 'Helvetica',Arial,sans-serif !important; overflow-wrap: break-word; }
  .bh__table_header { padding: 5px; background-color:#F1F1F1; }
  .bh__table_header p { color: #2A2A2A; font-family:'Trebuchet MS','Lucida Grande',Tahoma,sans-serif !important; overflow-wrap: break-word; }
</style><div class='beehiiv__body'><h3 class="heading" style="text-align:left;" id="unlock-windsurf-editor-by-codeium">Unlock Windsurf Editor, by Codeium.</h3><p class="paragraph" style="text-align:left;">Introducing the <a class="link" href="https://wind.surf/beehiiv?utm_source=beehiiv&utm_campaign=8LRS7JYDM4&_bhiiv=opp_62245fdd-e78e-424c-a5c8-82e50c5de65b_adb2cdd1&bhcl_id=08a4d7a6-232f-442f-b2d8-0cc6aa38b5de_{{subscriber_id}}_{{email_address_id}}" target="_blank" rel="noopener noreferrer nofollow">Windsurf Editor</a>, the first agentic IDE. All the features you know and love from Codeium’s extensions plus new capabilities such as Cascade that act as collaborative AI agents, combining the best of copilot and agent systems. This flow state of working with AI creates a step-change in AI capability that results in truly magical moments.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://wind.surf/beehiiv?utm_source=beehiiv&utm_campaign=8LRS7JYDM4&_bhiiv=opp_62245fdd-e78e-424c-a5c8-82e50c5de65b_adb2cdd1&bhcl_id=08a4d7a6-232f-442f-b2d8-0cc6aa38b5de_{{subscriber_id}}_{{email_address_id}}" target="_blank" rel="noopener noreferrer nofollow">Download It Free Today</a></p><hr class="content_break"><p class="paragraph" style="text-align:center;"><a class="link" href="https://sponsorships.csharpinsights.com/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=new-design-patter-code-faster" target="_blank" rel="noopener noreferrer nofollow"><span style="text-decoration:underline;">Sponsor</span></a></p><p class="paragraph" style="text-align:left;">Hey {{ First_Name | There }}! ✌️</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://techcommunity.microsoft.com/blog/appsonazureblog/introducing-the-modern-web-app-pattern-for-net/4278895?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=new-design-patter-code-faster" target="_blank" rel="noopener noreferrer nofollow">Introducing the Modern Web App Pattern for .NET</a></p><p class="paragraph" style="text-align:left;">Discover the new Modern Web App (MWA) pattern for .NET, a refined approach to cloud-native architecture. MWA leverages Azure and microservices to decouple key functions, enabling independent scaling, cost optimization, and agility for future enhancements.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://dotnettips.wordpress.com/2024/11/01/coding-faster-with-dotnettips-com-spargine-8-november-2024-release/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=new-design-patter-code-faster" target="_blank" rel="noopener noreferrer nofollow">Coding Faster with </a><a class="link" href="https://dotNetTips.com?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=new-design-patter-code-faster" target="_blank" rel="noopener noreferrer nofollow">dotNetTips.com</a><a class="link" href="https://dotnettips.wordpress.com/2024/11/01/coding-faster-with-dotnettips-com-spargine-8-november-2024-release/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=new-design-patter-code-faster" target="_blank" rel="noopener noreferrer nofollow"> Spargine 8: November 2024 Release</a></p><p class="paragraph" style="text-align:left;">Unleash faster coding with Spargine 8&#39;s November 2024 release, packed with .NET 8 NuGet support, robust new methods, and major speed boosts across file management, ULID generation, JSON processing, and caching.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://goatreview.com/verifying-code-against-architecture-with-metalama/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=new-design-patter-code-faster" target="_blank" rel="noopener noreferrer nofollow">Verifying Code Against Architecture with Metalama</a></p><p class="paragraph" style="text-align:left;">Through features like custom attributes and compile-time fabrics, Metalama validates naming conventions, dependencies, and custom rules, reducing code complexity and enhancing maintainability.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://pmichaels.net/ef-core-mysql/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=new-design-patter-code-faster" target="_blank" rel="noopener noreferrer nofollow">Adding Entity Framework to a .NET Project Using MySQL with Multiple Databases</a></p><p class="paragraph" style="text-align:left;">This guide covers adding Entity Framework to .NET projects with MySQL, focusing on handling multiple databases by using separate DbContext instances.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://nestenius.se/net/pushed-authorization-requests-par-in-asp-net-core-9/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=new-design-patter-code-faster" target="_blank" rel="noopener noreferrer nofollow">Pushed Authorization Requests (PAR) in </a><a class="link" href="https://ASP.NET?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=new-design-patter-code-faster" target="_blank" rel="noopener noreferrer nofollow">ASP.NET</a><a class="link" href="https://nestenius.se/net/pushed-authorization-requests-par-in-asp-net-core-9/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=new-design-patter-code-faster" target="_blank" rel="noopener noreferrer nofollow"> Core 9</a></p><p class="paragraph" style="text-align:left;">ASP.NET Core 9 now supports Pushed Authorization Requests (PAR) for secure OAuth and OpenID Connect flows, moving sensitive parameters from the front to a secure back-channel.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://steven-giesel.com/blogPost/70cebcf5-d171-4852-ae73-4950accfe999/be-careful-with-tolistasync-and-toarrayasync-in-entity-framework-core?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=new-design-patter-code-faster" target="_blank" rel="noopener noreferrer nofollow">Be Careful with ToListAsync and ToArrayAsync in Entity Framework Core</a></p><p class="paragraph" style="text-align:left;">Beware of performance pitfalls with <i>ToListAsync</i> and <i>ToArrayAsync</i> in Entity Framework Core!</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://docs.github.com/en/copilot/using-github-copilot/code-review/using-copilot-code-review?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=new-design-patter-code-faster" target="_blank" rel="noopener noreferrer nofollow">Using GitHub Copilot Code Review</a></p><p class="paragraph" style="text-align:left;">Discover how to leverage GitHub Copilot&#39;s new code review feature to get AI-powered insights, suggest changes, and customize reviews with coding guidelines in Visual Studio Code and on GitHub.</p><p class="paragraph" style="text-align:left;"><br><br><span style="text-decoration:underline;">P.S</span> If you liked this edition, consider forwarding it to a friend!</p><p class="paragraph" style="text-align:left;">If you’re that friend, <a class="link" href="https://csharpinsights.com/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=new-design-patter-code-faster" target="_blank" rel="noopener noreferrer nofollow">subscribe here</a>.</p><hr class="content_break"><hr class="content_break"></div><div class='beehiiv__footer'><br class='beehiiv__footer__break'><hr class='beehiiv__footer__line'><a target="_blank" class="beehiiv__footer_link" style="text-align: center;" href="https://www.beehiiv.com/powered-by?publication_logo=https%3A%2F%2Fmedia.beehiiv.com%2Fcdn-cgi%2Fimage%2Ffit%3Dscale-down%2Cformat%3Dauto%2Conerror%3Dredirect%2Cquality%3D80%2Fuploads%2Fpublication%2Flogo%2Fdea45f58-ec5f-4b08-8830-5b075e9385ac%2Flogo_klein.png%3Fv%3D1779225549&publication_name=C%23+Insights&utm_campaign=0a6a6feb-7b47-4678-b2f0-1a3dec52e676&utm_medium=post_rss&utm_source=c_insights">Powered by beehiiv</a></div></div>
  ]]></content:encoded>
</item>

      <item>
  <title>⚙️ Free Book + How to Build Custom Logging</title>
  <description>Grab your free copy of &#39;Practical Debugging for .NET Developers&#39;! Plus, learn custom logging, AI function calling, and what&#39;s new in .NET 9.&quot;</description>
      <enclosure url="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/2cfcdc53-e71b-43b6-b1a3-9e0c214cab99/beehiiv_banner_30102024.png" length="807741" type="image/png"/>
  <link>https://newsletter.csharpinsights.com/p/free-book-how-to-build-custom-logging</link>
  <guid isPermaLink="true">https://newsletter.csharpinsights.com/p/free-book-how-to-build-custom-logging</guid>
  <pubDate>Wed, 30 Oct 2024 12:00:00 +0000</pubDate>
  <atom:published>2024-10-30T12:00:00Z</atom:published>
  <content:encoded><![CDATA[
    <div class='beehiiv'><style>
  .bh__table, .bh__table_header, .bh__table_cell { border: 1px solid #C0C0C0; }
  .bh__table_cell { padding: 5px; background-color: #FFFFFF; }
  .bh__table_cell p { color: #2D2D2D; font-family: 'Helvetica',Arial,sans-serif !important; overflow-wrap: break-word; }
  .bh__table_header { padding: 5px; background-color:#F1F1F1; }
  .bh__table_header p { color: #2A2A2A; font-family:'Trebuchet MS','Lucida Grande',Tahoma,sans-serif !important; overflow-wrap: break-word; }
</style><div class='beehiiv__body'><h3 class="heading" style="text-align:left;" id="streamline-your-development-process">Streamline your development process with Pinata’s easy File API</h3><div class="image"><a class="image__link" href="https://pinata.cloud/?utm_source=beehiiv&utm_medium=paid&utm_campaign=8LRS7JYDM4&_bhiiv=opp_4b82fe87-7ec5-4e6a-8f15-d769f534796a_1bd08b6e&bhcl_id=d12250e4-59a8-43df-95fb-23980bcbf1f0_{{subscriber_id}}_{{email_address_id}}" rel="noopener" target="_blank"><img class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/57d006d8-aaff-4640-b9b4-42dc221417e5/3.png?t=1727796143"/></a></div><ul><li><p class="paragraph" style="text-align:left;">Easy file uploads and retrieval in minutes</p></li><li><p class="paragraph" style="text-align:left;">No complex setup or infrastructure needed</p></li><li><p class="paragraph" style="text-align:left;">Focus on building, not configurations</p></li></ul><p class="paragraph" style="text-align:left;"><a class="link" href="https://pinata.cloud/?utm_source=beehiiv&utm_medium=paid&utm_campaign=8LRS7JYDM4&_bhiiv=opp_4b82fe87-7ec5-4e6a-8f15-d769f534796a_1bd08b6e&bhcl_id=d12250e4-59a8-43df-95fb-23980bcbf1f0_{{subscriber_id}}_{{email_address_id}}" target="_blank" rel="noopener noreferrer nofollow">Try today!</a></p><hr class="content_break"><p class="paragraph" style="text-align:center;"><a class="link" href="https://sponsorships.csharpinsights.com/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=free-book-how-to-build-custom-logging" target="_blank" rel="noopener noreferrer nofollow"><span style="text-decoration:underline;">Sponsor</span></a></p><p class="paragraph" style="text-align:left;">Hey {{ First_Name | There }}! ✌️</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://michaelscodingspot.com/free-book/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=free-book-how-to-build-custom-logging" target="_blank" rel="noopener noreferrer nofollow">My Book &quot;Practical Debugging for .NET Developers&quot; Is Now Free!</a></p><p class="paragraph" style="text-align:left;">Dive into advanced debugging, performance, and memory issues across .NET and ASP.NET in this comprehensive guide—available in PDF, MOBI, and ePub with video lessons.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://dev.to/mohammedahmed/building-a-custom-logging-provider-in-aspnet-core-437n?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=free-book-how-to-build-custom-logging" target="_blank" rel="noopener noreferrer nofollow">Building a Custom Logging Provider in </a><a class="link" href="https://ASP.NET?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=free-book-how-to-build-custom-logging" target="_blank" rel="noopener noreferrer nofollow">ASP.NET</a><a class="link" href="https://dev.to/mohammedahmed/building-a-custom-logging-provider-in-aspnet-core-437n?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=free-book-how-to-build-custom-logging" target="_blank" rel="noopener noreferrer nofollow"> Core</a></p><p class="paragraph" style="text-align:left;">Unlock the power of custom logging in your ASP.NET Core applications! Learn how to create a personalised logging provider that stores logs directly in a SQL Server database, enhancing your ability to diagnose issues effectively while ensuring your application remains healthy and maintainable.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://laurentkempe.com/2024/10/28/learning-ai-function-calling-in-csharp-with-llama-32-slm-and-ollama-running-on-your-machine?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=free-book-how-to-build-custom-logging" target="_blank" rel="noopener noreferrer nofollow">Learning AI Function Calling in C# with Llama 3.2 SLM and Ollama Running on Your Machine</a></p><p class="paragraph" style="text-align:left;">This guide covers essential concepts, environment setup, and hands-on coding examples with C# source generators to streamline real-time data handling in your applications.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://andrewlock.net/working-with-the-result-pattern-part-4-is-the-result-pattern-worth-it/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=free-book-how-to-build-custom-logging" target="_blank" rel="noopener noreferrer nofollow">Is the Result Pattern Worth It?</a></p><p class="paragraph" style="text-align:left;">In this series conclusion, we explore the pros, cons, and alternatives, tackling edge cases and comparing lighter implementations to the heavy Result&lt;T&gt; model.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://www.stevejgordon.co.uk/a-brief-introduction-to-the-dotnet-muxer?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=free-book-how-to-build-custom-logging" target="_blank" rel="noopener noreferrer nofollow">A Brief Introduction to the .NET Muxer (aka dotnet.exe)</a></p><p class="paragraph" style="text-align:left;">Explore the foundation of the .NET muxer (dotnet.exe) and discover how it manages multiple .NET versions, streamlining CLI commands for .NET SDK and runtime.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://khalidabuhakmeh.com/update-html-elements-with-htmx-triggers-and-aspnet-core?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=free-book-how-to-build-custom-logging" target="_blank" rel="noopener noreferrer nofollow">Update HTML Elements with Htmx Triggers and </a><a class="link" href="https://ASP.NET?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=free-book-how-to-build-custom-logging" target="_blank" rel="noopener noreferrer nofollow">ASP.NET</a><a class="link" href="https://khalidabuhakmeh.com/update-html-elements-with-htmx-triggers-and-aspnet-core?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=free-book-how-to-build-custom-logging" target="_blank" rel="noopener noreferrer nofollow"> Core</a></p><p class="paragraph" style="text-align:left;">Enhance your ASP.NET Core applications with Htmx triggers to seamlessly update user interfaces without full-page reloads.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://www.syncfusion.com/blogs/post/whats-new-maui-net9-hybridwebview?utm_source=alvinashcraft&utm_medium=email&utm_campaign=alvinashcraft_blog_edmoct24" target="_blank" rel="noopener noreferrer nofollow">What’s New for .NET MAUI in .NET 9: HybridWebView</a></p><p class="paragraph" style="text-align:left;">Discover the exciting new features in .NET 9 for .NET MAUI, including the HybridWebView for seamless web and native integration, enhanced controls, and improved performance.</p><p class="paragraph" style="text-align:left;"><br><br><span style="text-decoration:underline;">P.S</span> If you liked this edition, consider forwarding it to a friend!</p><p class="paragraph" style="text-align:left;">If you’re that friend, <a class="link" href="https://csharpinsights.com/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=free-book-how-to-build-custom-logging" target="_blank" rel="noopener noreferrer nofollow">subscribe here</a>.</p><hr class="content_break"><hr class="content_break"></div><div class='beehiiv__footer'><br class='beehiiv__footer__break'><hr class='beehiiv__footer__line'><a target="_blank" class="beehiiv__footer_link" style="text-align: center;" href="https://www.beehiiv.com/powered-by?publication_logo=https%3A%2F%2Fmedia.beehiiv.com%2Fcdn-cgi%2Fimage%2Ffit%3Dscale-down%2Cformat%3Dauto%2Conerror%3Dredirect%2Cquality%3D80%2Fuploads%2Fpublication%2Flogo%2Fdea45f58-ec5f-4b08-8830-5b075e9385ac%2Flogo_klein.png%3Fv%3D1779225549&publication_name=C%23+Insights&utm_campaign=d42a85d5-d2aa-4174-b794-a1066b032e0c&utm_medium=post_rss&utm_source=c_insights">Powered by beehiiv</a></div></div>
  ]]></content:encoded>
</item>

      <item>
  <title>⚙️ Minimal API vs. Classic Controllers</title>
  <description>Explore the latest insights on ASP.NET, MongoDB EF Core, performance improvements in .NET 9, and unit testing with AutoFixture in this week&#39;s C# Insights!</description>
      <enclosure url="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/7feff667-bd4c-4f78-a4bd-54278592d5c2/beehiiv_banner_24102024.png" length="860638" type="image/png"/>
  <link>https://newsletter.csharpinsights.com/p/minimal-api-vs-classic-controllers</link>
  <guid isPermaLink="true">https://newsletter.csharpinsights.com/p/minimal-api-vs-classic-controllers</guid>
  <pubDate>Wed, 23 Oct 2024 13:00:00 +0000</pubDate>
  <atom:published>2024-10-23T13:00:00Z</atom:published>
  <content:encoded><![CDATA[
    <div class='beehiiv'><style>
  .bh__table, .bh__table_header, .bh__table_cell { border: 1px solid #C0C0C0; }
  .bh__table_cell { padding: 5px; background-color: #FFFFFF; }
  .bh__table_cell p { color: #2D2D2D; font-family: 'Helvetica',Arial,sans-serif !important; overflow-wrap: break-word; }
  .bh__table_header { padding: 5px; background-color:#F1F1F1; }
  .bh__table_header p { color: #2A2A2A; font-family:'Trebuchet MS','Lucida Grande',Tahoma,sans-serif !important; overflow-wrap: break-word; }
</style><div class='beehiiv__body'><h3 class="heading" style="text-align:left;" id="writer-rag-tool-build-productionrea">Writer RAG tool: build production-ready RAG apps in minutes</h3><div class="image"><a class="image__link" href="https://writer.com/engineering/rag-tool/?utm_source=beehiiv&utm_medium=newsletter&utm_campaign=rag-tool_8LRS7JYDM4_c_insights&_bhiiv=opp_3cb5b9bd-437b-41fb-90c7-10cb09276acc_3b00bf9b&bhcl_id=968ad669-8435-4577-9c51-dc45158c524e_{{subscriber_id}}_{{email_address_id}}" rel="noopener" target="_blank"><img class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/e2028307-3de3-43f9-b7a5-f2c31418a552/2024-12_Writer_RAG_tool__build_production-ready_RAG_apps_in_minutes_-_16_9_Newsletter.png?t=1734711822"/></a></div><ul><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://writer.com/engineering/rag-tool/?utm_source=beehiiv&utm_medium=newsletter&utm_campaign=rag-tool_8LRS7JYDM4_c_insights&_bhiiv=opp_3cb5b9bd-437b-41fb-90c7-10cb09276acc_3b00bf9b&bhcl_id=968ad669-8435-4577-9c51-dc45158c524e_{{subscriber_id}}_{{email_address_id}}" target="_blank" rel="noopener noreferrer nofollow">Writer RAG Tool</a>: build production-ready RAG apps in minutes with simple API calls.</p></li><li><p class="paragraph" style="text-align:left;">Knowledge Graph integration for intelligent data retrieval and AI-powered interactions.</p></li><li><p class="paragraph" style="text-align:left;">Streamlined full-stack platform eliminates complex setups for scalable, accurate AI workflows.</p></li></ul><p class="paragraph" style="text-align:left;"><a class="link" href="https://writer.com/engineering/rag-tool/?utm_source=beehiiv&utm_medium=newsletter&utm_campaign=rag-tool_8LRS7JYDM4_c_insights&_bhiiv=opp_3cb5b9bd-437b-41fb-90c7-10cb09276acc_3b00bf9b&bhcl_id=968ad669-8435-4577-9c51-dc45158c524e_{{subscriber_id}}_{{email_address_id}}" target="_blank" rel="noopener noreferrer nofollow">Learn more about our production ready RAG tooling here.</a></p><hr class="content_break"><p class="paragraph" style="text-align:center;"><a class="link" href="https://sponsorships.csharpinsights.com/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=minimal-api-vs-classic-controllers" target="_blank" rel="noopener noreferrer nofollow"><span style="text-decoration:underline;">Sponsor</span></a></p><p class="paragraph" style="text-align:left;">Hi! ✌️</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://steven-giesel.com/blogPost/698c45c3-58c5-4157-b4da-2cde4e27862e/comparing-the-performance-between-the-minimal-api-and-classic-controllers?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=minimal-api-vs-classic-controllers" target="_blank" rel="noopener noreferrer nofollow">Comparing the Performance Between the Minimal API and Classic Controllers</a></p><p class="paragraph" style="text-align:left;">Curious how ASP.NET Minimal APIs stack up against traditional controllers? This post benchmarks both approaches in .NET 8 and .NET 9, comparing speed and resource usage across various scenarios.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://devblogs.microsoft.com/identity/integrating-ext-id-using-vs/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=minimal-api-vs-classic-controllers" target="_blank" rel="noopener noreferrer nofollow">Creating an </a><a class="link" href="https://ASP.Net?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=minimal-api-vs-classic-controllers" target="_blank" rel="noopener noreferrer nofollow">ASP.Net</a><a class="link" href="https://devblogs.microsoft.com/identity/integrating-ext-id-using-vs/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=minimal-api-vs-classic-controllers" target="_blank" rel="noopener noreferrer nofollow"> Application with External ID Using Visual Studio</a></p><p class="paragraph" style="text-align:left;">Learn how to create a secure ASP.NET application using Visual Studio with Microsoft Entra External ID for streamlined user authentication. This guide covers setup, configuration, and running your app, empowering you to enhance security and scalability while focusing on core functionality.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://www.cazzulino.com/typed-chat.html?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=minimal-api-vs-classic-controllers" target="_blank" rel="noopener noreferrer nofollow">Typed Chat Completions with OpenAI and .NET 9</a></p><p class="paragraph" style="text-align:left;">Explore how to leverage OpenAI&#39;s structured outputs in .NET 9 with a simple extension method for typed chat completions. This blog post walks you through scraping IMDB&#39;s top thriller movies using GPT-4, showcasing how powerful LLMs and strong-typed APIs can automate complex tasks effortlessly.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://devblogs.microsoft.com/dotnet/mongodb-ef-core-provider-whats-new/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=minimal-api-vs-classic-controllers" target="_blank" rel="noopener noreferrer nofollow">MongoDB EF Core Provider: What’s New?</a></p><p class="paragraph" style="text-align:left;">Explore the exciting features of MongoDB&#39;s EF Core provider, including change tracking, index management, and advanced querying with LINQ. Discover how it supports autotransactions and optimistic concurrency, empowering seamless database operations for .NET developers working with MongoDB Atlas.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://andrewlock.net/working-with-the-result-pattern-part-3-adding-more-extensions/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=minimal-api-vs-classic-controllers" target="_blank" rel="noopener noreferrer nofollow">Adding More Extensions to Result&lt;T&gt;</a></p><p class="paragraph" style="text-align:left;">In this post, the author extends the result pattern by adding more extensions to <code>Result&lt;T&gt;</code>, improving async support, handling non-result return types, and simplifying complex collections.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://adamstorr.co.uk/blog/autofixture-and-ioptions-a-winning-combination/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=minimal-api-vs-classic-controllers" target="_blank" rel="noopener noreferrer nofollow">Autofixture and IOptions&lt;T&gt; - A Winning Combination</a></p><p class="paragraph" style="text-align:left;">Learn how to simplify unit testing for classes using <code>IOptions&lt;T&gt;</code> without relying on mocking. Discover how to leverage AutoFixture for clean, maintainable tests and streamline setup with customizations and helper methods.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://goatreview.com/stop-exposing-mediatr-command-minimal-api/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=minimal-api-vs-classic-controllers" target="_blank" rel="noopener noreferrer nofollow">Stop Exposing Your MediatR Command/Query in Minimal API</a></p><p class="paragraph" style="text-align:left;">Exposing MediatR commands directly in minimal APIs can lead to security risks and poor error handling.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://blog.ndepend.com/net-9-0-linq-performance-improvements/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=minimal-api-vs-classic-controllers" target="_blank" rel="noopener noreferrer nofollow">.NET 9.0 LINQ Performance Improvements</a></p><p class="paragraph" style="text-align:left;">.NET 9.0 delivers impressive performance boosts for LINQ, cutting execution times and memory allocations drastically in key operations like <code>Count()</code>, <code>Any()</code>, and <code>All()</code>. These improvements stem from better use of <code>Span&lt;T&gt;</code> and specialized iterators, offering developers faster and more efficient data processing.</p><p class="paragraph" style="text-align:left;"></p><p class="paragraph" style="text-align:left;"><br><br><span style="text-decoration:underline;">P.S</span> If you liked this edition, consider forwarding it to a friend!</p><p class="paragraph" style="text-align:left;">If you’re that friend, <a class="link" href="https://csharpinsights.com/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=minimal-api-vs-classic-controllers" target="_blank" rel="noopener noreferrer nofollow">subscribe here</a>.</p><hr class="content_break"><hr class="content_break"></div><div class='beehiiv__footer'><br class='beehiiv__footer__break'><hr class='beehiiv__footer__line'><a target="_blank" class="beehiiv__footer_link" style="text-align: center;" href="https://www.beehiiv.com/powered-by?publication_logo=https%3A%2F%2Fmedia.beehiiv.com%2Fcdn-cgi%2Fimage%2Ffit%3Dscale-down%2Cformat%3Dauto%2Conerror%3Dredirect%2Cquality%3D80%2Fuploads%2Fpublication%2Flogo%2Fdea45f58-ec5f-4b08-8830-5b075e9385ac%2Flogo_klein.png%3Fv%3D1779225549&publication_name=C%23+Insights&utm_campaign=5a8dcc4d-bbfe-45ae-af78-6ab568efa938&utm_medium=post_rss&utm_source=c_insights">Powered by beehiiv</a></div></div>
  ]]></content:encoded>
</item>

      <item>
  <title>⚙️ .NET Aspire Day 2024!</title>
  <description>Discover key insights from Azure Developers – .NET Aspire Day 2024, new features in System.Text.Json, and productivity tips for .NET developers!</description>
      <enclosure url="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/3b8a11d8-3100-4716-9f8d-4878f97086ef/beehiiv_banner.png" length="39881" type="image/png"/>
  <link>https://newsletter.csharpinsights.com/p/net-aspire-day-2024</link>
  <guid isPermaLink="true">https://newsletter.csharpinsights.com/p/net-aspire-day-2024</guid>
  <pubDate>Wed, 16 Oct 2024 11:00:00 +0000</pubDate>
  <atom:published>2024-10-16T11:00:00Z</atom:published>
  <content:encoded><![CDATA[
    <div class='beehiiv'><style>
  .bh__table, .bh__table_header, .bh__table_cell { border: 1px solid #C0C0C0; }
  .bh__table_cell { padding: 5px; background-color: #FFFFFF; }
  .bh__table_cell p { color: #2D2D2D; font-family: 'Helvetica',Arial,sans-serif !important; overflow-wrap: break-word; }
  .bh__table_header { padding: 5px; background-color:#F1F1F1; }
  .bh__table_header p { color: #2A2A2A; font-family:'Trebuchet MS','Lucida Grande',Tahoma,sans-serif !important; overflow-wrap: break-word; }
</style><div class='beehiiv__body'><h3 class="heading" style="text-align:left;" id="writer-rag-tool-build-productionrea">Writer RAG tool: build production-ready RAG apps in minutes</h3><div class="image"><a class="image__link" href="https://writer.com/engineering/rag-tool/?utm_source=beehiiv&utm_medium=newsletter&utm_campaign=rag-tool_8LRS7JYDM4_c_insights&_bhiiv=opp_1ca8a7b6-5e0b-4cf0-adff-f99d11c7f7bc_3b00bf9b&bhcl_id=0fa54065-59e2-4850-acf2-fa0fa11446da_{{subscriber_id}}_{{email_address_id}}" rel="noopener" target="_blank"><img class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/e2028307-3de3-43f9-b7a5-f2c31418a552/2024-12_Writer_RAG_tool__build_production-ready_RAG_apps_in_minutes_-_16_9_Newsletter.png?t=1734711822"/></a></div><ul><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://writer.com/engineering/rag-tool/?utm_source=beehiiv&utm_medium=newsletter&utm_campaign=rag-tool_8LRS7JYDM4_c_insights&_bhiiv=opp_1ca8a7b6-5e0b-4cf0-adff-f99d11c7f7bc_3b00bf9b&bhcl_id=0fa54065-59e2-4850-acf2-fa0fa11446da_{{subscriber_id}}_{{email_address_id}}" target="_blank" rel="noopener noreferrer nofollow">Writer RAG Tool</a>: build production-ready RAG apps in minutes with simple API calls.</p></li><li><p class="paragraph" style="text-align:left;">Knowledge Graph integration for intelligent data retrieval and AI-powered interactions.</p></li><li><p class="paragraph" style="text-align:left;">Streamlined full-stack platform eliminates complex setups for scalable, accurate AI workflows.</p></li></ul><p class="paragraph" style="text-align:left;"><a class="link" href="https://writer.com/engineering/rag-tool/?utm_source=beehiiv&utm_medium=newsletter&utm_campaign=rag-tool_8LRS7JYDM4_c_insights&_bhiiv=opp_1ca8a7b6-5e0b-4cf0-adff-f99d11c7f7bc_3b00bf9b&bhcl_id=0fa54065-59e2-4850-acf2-fa0fa11446da_{{subscriber_id}}_{{email_address_id}}" target="_blank" rel="noopener noreferrer nofollow">Learn more about our production ready RAG tooling here.</a></p><hr class="content_break"><p class="paragraph" style="text-align:center;"><a class="link" href="https://sponsorships.csharpinsights.com/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=net-aspire-day-2024" target="_blank" rel="noopener noreferrer nofollow"><span style="text-decoration:underline;">Sponsor</span></a> • <a class="link" href="https://newsletter.csharpinsights.com/upgrade?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=net-aspire-day-2024" target="_blank" rel="noopener noreferrer nofollow"><span style="text-decoration:underline;">Tip me!</span></a></p><p class="paragraph" style="text-align:left;">Hi! ✌️</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://devblogs.microsoft.com/dotnet/azure-developers-dotnet-aspire-day-recap/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=net-aspire-day-2024" target="_blank" rel="noopener noreferrer nofollow">Catch the Highlights from Azure Developers – .NET Aspire Day 2024!</a></p><p class="paragraph" style="text-align:left;">Discover practical insights on building and deploying cloud-native .NET Aspire applications with Azure Container Apps. Catch up on-demand and explore topics like AI integration, scalable databases, and Kubernetes deployments to supercharge your projects.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://devblogs.microsoft.com/dotnet/system-text-json-in-dotnet-9/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=net-aspire-day-2024" target="_blank" rel="noopener noreferrer nofollow">What’s New in System.Text.Json in .NET 9</a><br>Dive into the latest System.Text.Json features in .NET 9, including JSON schema export, nullable support, and enhanced performance. Discover how to customize serialization, handle multiple JSON streams, and more, as .NET evolves to meet modern development needs.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://dev.to/uno-platform/3-more-productivity-tips-for-net-developers-7dp?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=net-aspire-day-2024" target="_blank" rel="noopener noreferrer nofollow">3 More Productivity Tips for .NET Developers</a><br>Discover three key productivity tips for .NET developers, plus two bonus tips from industry experts, to boost your workflow—from leveraging command-line tools to prioritizing mental health.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://andrewlock.net/working-with-the-result-pattern-part-2-safety-and-simplicity-with-linq/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=net-aspire-day-2024" target="_blank" rel="noopener noreferrer nofollow">Safety and Simplicity with LINQ</a><br>Explore how LINQ enhances the Result pattern, transforming complex exception handling into more readable, fluent code.</p><hr class="content_break"><h3 class="heading" style="text-align:left;" id="why-struggle-with-file-uploads-pina">Why struggle with file uploads? Pinata’s File API is your fix</h3><p class="paragraph" style="text-align:left;">Simplify your development workflow with <a class="link" href="https://pinata.cloud/?utm_source=beehiiv&utm_medium=paid&utm_campaign=8LRS7JYDM4&_bhiiv=opp_d1cecd1c-6bf2-4b6a-8603-57a65dfe692b_1bd08b6e&bhcl_id=6d9fd5c0-1f97-4cf8-a5c9-bd06fbfbcbb9_{{subscriber_id}}_{{email_address_id}}" target="_blank" rel="noopener noreferrer nofollow">Pinata’s</a> File API. Add file uploads and retrieval to your app in minutes, without the need for complicated configurations. Pinata provides simple file management so you can focus on creating great features.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://pinata.cloud/?utm_source=beehiiv&utm_medium=paid&utm_campaign=8LRS7JYDM4&_bhiiv=opp_d1cecd1c-6bf2-4b6a-8603-57a65dfe692b_1bd08b6e&bhcl_id=6d9fd5c0-1f97-4cf8-a5c9-bd06fbfbcbb9_{{subscriber_id}}_{{email_address_id}}" target="_blank" rel="noopener noreferrer nofollow">Build now!</a></p><hr class="content_break"><p class="paragraph" style="text-align:left;"><a class="link" href="https://www.cazzulino.com/typed-chat.html?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=net-aspire-day-2024" target="_blank" rel="noopener noreferrer nofollow">Typed Chat Completions with OpenAI and .NET 9</a><br>This guide walks you through building an IMDb movie scraper that returns structured, strongly-typed results in just a few lines of code.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://www.code4it.dev/csharptips/ienumerable-vs-icollection/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=net-aspire-day-2024" target="_blank" rel="noopener noreferrer nofollow">C# Tip: IEnumerable vs ICollection, and Why It Matters</a><br>Understand the crucial differences between <i>IEnumerable&lt;T&gt;</i> and <i>ICollection&lt;T&gt;</i> in C#: one allows simple enumeration, while the other enables full collection control. Learn when to choose each for optimal library design and minimal breaking changes in the future.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://sebnilsson.com/blog/dotnet-ping-ping-urls-in-the-terminal/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=net-aspire-day-2024" target="_blank" rel="noopener noreferrer nofollow">dotnet-ping: Ping URLs in the Terminal</a><br>Check your website&#39;s availability in seconds with dotnet-ping, a .NET Global Tool that makes URL monitoring from your terminal quick and easy. Learn to set it up, ping multiple URLs, and configure advanced scenarios with ease.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://dotnettips.wordpress.com/2024/10/13/boost-your-net-projects-unleashing-the-power-of-spargines-datetime-extension-methods/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=net-aspire-day-2024" target="_blank" rel="noopener noreferrer nofollow">Boost Your .NET Projects: Unleashing the Power of Spargine’s DateTime Extension Methods</a><br>Unleash Spargine&#39;s powerful DateTime extension methods to streamline .NET projects with features like date range checks, epoch conversions, and advanced formatting. Enhance your development with these open-source tools designed for improved performance and flexibility.</p><p class="paragraph" style="text-align:left;"><br><br><span style="text-decoration:underline;">P.S</span> If you liked this edition, consider forwarding it to a friend!</p><p class="paragraph" style="text-align:left;">If you’re that friend, <a class="link" href="https://csharpinsights.com/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=net-aspire-day-2024" target="_blank" rel="noopener noreferrer nofollow">subscribe here</a>.</p><hr class="content_break"><hr class="content_break"></div><div class='beehiiv__footer'><br class='beehiiv__footer__break'><hr class='beehiiv__footer__line'><a target="_blank" class="beehiiv__footer_link" style="text-align: center;" href="https://www.beehiiv.com/powered-by?publication_logo=https%3A%2F%2Fmedia.beehiiv.com%2Fcdn-cgi%2Fimage%2Ffit%3Dscale-down%2Cformat%3Dauto%2Conerror%3Dredirect%2Cquality%3D80%2Fuploads%2Fpublication%2Flogo%2Fdea45f58-ec5f-4b08-8830-5b075e9385ac%2Flogo_klein.png%3Fv%3D1779225549&publication_name=C%23+Insights&utm_campaign=13bdc527-a6c1-4e77-b114-544769476f03&utm_medium=post_rss&utm_source=c_insights">Powered by beehiiv</a></div></div>
  ]]></content:encoded>
</item>

      <item>
  <title>⚙️ Add EF Core Migrations to .NET Aspire Solutions</title>
  <description>Discover the latest in .NET and C# with insights on Metalama, EF Core migrations, the result pattern, NuGet, memory profiling, Python integration, and domain events!</description>
      <enclosure url="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/3b8a11d8-3100-4716-9f8d-4878f97086ef/beehiiv_banner.png" length="39881" type="image/png"/>
  <link>https://newsletter.csharpinsights.com/p/add-ef-core-migrations-to-net-aspire-solutions</link>
  <guid isPermaLink="true">https://newsletter.csharpinsights.com/p/add-ef-core-migrations-to-net-aspire-solutions</guid>
  <pubDate>Wed, 09 Oct 2024 11:00:00 +0000</pubDate>
  <atom:published>2024-10-09T11:00:00Z</atom:published>
  <content:encoded><![CDATA[
    <div class='beehiiv'><style>
  .bh__table, .bh__table_header, .bh__table_cell { border: 1px solid #C0C0C0; }
  .bh__table_cell { padding: 5px; background-color: #FFFFFF; }
  .bh__table_cell p { color: #2D2D2D; font-family: 'Helvetica',Arial,sans-serif !important; overflow-wrap: break-word; }
  .bh__table_header { padding: 5px; background-color:#F1F1F1; }
  .bh__table_header p { color: #2A2A2A; font-family:'Trebuchet MS','Lucida Grande',Tahoma,sans-serif !important; overflow-wrap: break-word; }
</style><div class='beehiiv__body'><h3 class="heading" style="text-align:left;" id="want-soc-2-compliance-without-the-s">Want SOC 2 compliance without the Security Theater?</h3><div class="image"><a class="image__link" href="https://www.oneleet.com/beehiiv?utm_source=beehiiv&utm_medium=beehiiv&utm_campaign=8LRS7JYDM4&_bhiiv=opp_70f65fc7-f412-453a-a059-d932247c915d_ad1ca790&bhcl_id=7506fa91-fa45-4fa8-bdc9-b86a3a61b0d9_{{subscriber_id}}_{{email_address_id}}" rel="noopener" target="_blank"><img class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/9c88349c-b331-49a9-856d-ade21cd47180/Hero_Image_--_solid.png?t=1724871593"/></a></div><ul><li><p class="paragraph" style="text-align:left;">Get the all-in-one platform for SOC 2</p></li><li><p class="paragraph" style="text-align:left;">Build real-world security 💪</p></li><li><p class="paragraph" style="text-align:left;">Penetration testing, compliance software, 3rd party audit, & vCISO</p></li></ul><p class="paragraph" style="text-align:left;"><a class="link" href="https://www.oneleet.com/beehiiv?utm_source=beehiiv&utm_medium=beehiiv&utm_campaign=8LRS7JYDM4&_bhiiv=opp_70f65fc7-f412-453a-a059-d932247c915d_ad1ca790&bhcl_id=7506fa91-fa45-4fa8-bdc9-b86a3a61b0d9_{{subscriber_id}}_{{email_address_id}}" target="_blank" rel="noopener noreferrer nofollow">Schedule a demo for pricing!</a></p><hr class="content_break"><p class="paragraph" style="text-align:center;"><a class="link" href="https://sponsorships.csharpinsights.com/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=add-ef-core-migrations-to-net-aspire-solutions" target="_blank" rel="noopener noreferrer nofollow"><span style="text-decoration:underline;">Sponsor</span></a> • <a class="link" href="https://newsletter.csharpinsights.com/upgrade?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=add-ef-core-migrations-to-net-aspire-solutions" target="_blank" rel="noopener noreferrer nofollow"><span style="text-decoration:underline;">Tip me!</span></a></p><p class="paragraph" style="text-align:left;">Hi! ✌️</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://khalidabuhakmeh.com/add-ef-core-migrations-to-dotnet-aspire-solutions?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=add-ef-core-migrations-to-net-aspire-solutions" target="_blank" rel="noopener noreferrer nofollow">Add EF Core Migrations to .NET Aspire Solutions</a></p><p class="paragraph" style="text-align:left;">Easily manage EF Core migrations in your .NET Aspire projects with this guide! Discover how to streamline schema changes using a custom <code>IDesignTimeDbContextFactory</code> implementation, making development smoother and bridging the gap between development and runtime.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://andrewlock.net/working-with-the-result-pattern-part-1-replacing-exceptions-as-control-flow/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=add-ef-core-migrations-to-net-aspire-solutions" target="_blank" rel="noopener noreferrer nofollow">Replacing Exceptions-As-Flow-Control With The Result Pattern</a></p><p class="paragraph" style="text-align:left;">Explore how replacing exceptions with the result pattern can streamline your code! This first post of the series demonstrates how to shift from exception-based flow control to a safer and more predictable result pattern, setting the stage for more efficient and readable code in .NET applications.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://goatreview.com/generating-repetitive-code-with-metalama/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=add-ef-core-migrations-to-net-aspire-solutions" target="_blank" rel="noopener noreferrer nofollow">Avoiding Repetitive Code With Metalama</a></p><p class="paragraph" style="text-align:left;">Tired of repetitive boilerplate in C#? Discover Metalama, a new meta-programming framework that simplifies code generation and validation, reducing redundancy with ready-made aspects like logging, INotifyPropertyChanged, and more.</p><hr class="content_break"><h3 class="heading" style="text-align:left;" id="instantly-add-file-uploads-to-your-">Instantly add file uploads to your app with Pinata’s API</h3><p class="paragraph" style="text-align:left;"><a class="link" href="https://pinata.cloud/?utm_source=beehiiv&utm_medium=paid&utm_campaign=8LRS7JYDM4&_bhiiv=opp_e538b062-53c4-4ad8-a481-f5edab7ab32d_1bd08b6e&bhcl_id=5281c630-124b-494a-ada3-9ae76c1520e2_{{subscriber_id}}_{{email_address_id}}" target="_blank" rel="noopener noreferrer nofollow">Pinata’s</a> File API lets developers integrate file uploads and retrieval in just minutes. No complex setup, no configuration headaches—just fast and scalable file management.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://pinata.cloud/?utm_source=beehiiv&utm_medium=paid&utm_campaign=8LRS7JYDM4&_bhiiv=opp_e538b062-53c4-4ad8-a481-f5edab7ab32d_1bd08b6e&bhcl_id=5281c630-124b-494a-ada3-9ae76c1520e2_{{subscriber_id}}_{{email_address_id}}" target="_blank" rel="noopener noreferrer nofollow">Start building!</a></p><hr class="content_break"><p class="paragraph" style="text-align:left;"><a class="link" href="https://steven-giesel.com/blogPost/988c047a-914a-446d-bd28-4840643dcfb9/centralize-your-packages-in-net-with-nuget?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=add-ef-core-migrations-to-net-aspire-solutions" target="_blank" rel="noopener noreferrer nofollow">Centralize Your Packages In .NET With NuGet</a></p><p class="paragraph" style="text-align:left;">Centralize package management in .NET with Directory.Packages.props, simplifying updates and avoiding redundant work. Learn how to streamline NuGet dependencies across multiple projects by defining versions in a single file—ideal for ensuring consistency and efficiency.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://tonybaloney.github.io/posts/embedding-python-in-dot-net-with-csnakes.html?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=add-ef-core-migrations-to-net-aspire-solutions" target="_blank" rel="noopener noreferrer nofollow">Embedding Python Into Your .NET Project With CSnakes</a></p><p class="paragraph" style="text-align:left;">Unlock the power of both .NET and Python in your projects with CSnakes, a tool that lets you seamlessly embed Python code directly into .NET applications. Discover how this deep integration improves performance and makes data exchange easier than ever, perfect for data science, machine learning, and more.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://developmentwithadot.blogspot.com/2024/10/domain-events-with-net.html?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=add-ef-core-migrations-to-net-aspire-solutions" target="_blank" rel="noopener noreferrer nofollow">Domain Events With .NET</a></p><p class="paragraph" style="text-align:left;">Explore the power of Domain Events in .NET! This article dives into the concept, showcasing a custom library that simplifies decoupling and asynchronous event handling, with examples of publishers, subscribers, and interceptors in action—perfect for those looking to streamline event-driven architecture in .NET applications.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://dateo-software.de/blog/unit-test-memory?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=add-ef-core-migrations-to-net-aspire-solutions" target="_blank" rel="noopener noreferrer nofollow">Have You Ever Memory-Profiled In A Unit Test?</a></p><p class="paragraph" style="text-align:left;">Ever wondered how to catch memory leaks during unit tests? In this article, Dennis Frühauff walks through using JetBrains Rider with JetBrains.DotMemoryUnit to efficiently memory-profile unit tests, ensuring your code stays leak-free right from the start.</p><p class="paragraph" style="text-align:left;"><br><br><span style="text-decoration:underline;">P.S</span> If you liked this edition, consider forwarding it to a friend!</p><p class="paragraph" style="text-align:left;">If you’re that friend, <a class="link" href="https://csharpinsights.com/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=add-ef-core-migrations-to-net-aspire-solutions" target="_blank" rel="noopener noreferrer nofollow">subscribe here</a>.</p><hr class="content_break"><hr class="content_break"></div><div class='beehiiv__footer'><br class='beehiiv__footer__break'><hr class='beehiiv__footer__line'><a target="_blank" class="beehiiv__footer_link" style="text-align: center;" href="https://www.beehiiv.com/powered-by?publication_logo=https%3A%2F%2Fmedia.beehiiv.com%2Fcdn-cgi%2Fimage%2Ffit%3Dscale-down%2Cformat%3Dauto%2Conerror%3Dredirect%2Cquality%3D80%2Fuploads%2Fpublication%2Flogo%2Fdea45f58-ec5f-4b08-8830-5b075e9385ac%2Flogo_klein.png%3Fv%3D1779225549&publication_name=C%23+Insights&utm_campaign=4f41037c-531b-4525-9fd3-dd259701fa0e&utm_medium=post_rss&utm_source=c_insights">Powered by beehiiv</a></div></div>
  ]]></content:encoded>
</item>

      <item>
  <title>⚙️ What’s New in .NET 9: A Developer’s Perspective</title>
  <description>Explore .NET 9&#39;s enhancements for faster app development, testing with Aspire, MVUX architecture, and security updates. Plus, tips for advanced document tables!</description>
      <enclosure url="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/3b8a11d8-3100-4716-9f8d-4878f97086ef/beehiiv_banner.png" length="39881" type="image/png"/>
  <link>https://newsletter.csharpinsights.com/p/what-s-new-in-net-9-a-developer-s-perspective</link>
  <guid isPermaLink="true">https://newsletter.csharpinsights.com/p/what-s-new-in-net-9-a-developer-s-perspective</guid>
  <pubDate>Wed, 02 Oct 2024 11:00:00 +0000</pubDate>
  <atom:published>2024-10-02T11:00:00Z</atom:published>
  <content:encoded><![CDATA[
    <div class='beehiiv'><style>
  .bh__table, .bh__table_header, .bh__table_cell { border: 1px solid #C0C0C0; }
  .bh__table_cell { padding: 5px; background-color: #FFFFFF; }
  .bh__table_cell p { color: #2D2D2D; font-family: 'Helvetica',Arial,sans-serif !important; overflow-wrap: break-word; }
  .bh__table_header { padding: 5px; background-color:#F1F1F1; }
  .bh__table_header p { color: #2A2A2A; font-family:'Trebuchet MS','Lucida Grande',Tahoma,sans-serif !important; overflow-wrap: break-word; }
</style><div class='beehiiv__body'><h3 class="heading" style="text-align:left;" id="timely-budgetaligned-software-deliv">Timely, budget-aligned software delivery meeting your business goals </h3><div class="image"><a class="image__link" href="https://eleks.com/product-oriented-delivery/?utm_campaign=8LRS7JYDM4&utm_source=beehiiv&_bhiiv=opp_fcf457aa-90e7-4ac8-a55f-de191e736ed3_a9c062d0&bhcl_id=98a06bfc-2752-4221-94ad-59fee1a6d69e_{{subscriber_id}}_{{email_address_id}}" rel="noopener" target="_blank"><img class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/c59e0ac6-c7c5-4f72-9298-436dd44572b5/Eleks_product_delivery.png?t=1723558523"/></a></div><ul><li><p class="paragraph" style="text-align:left;">Quick start and timely project delivery </p></li><li><p class="paragraph" style="text-align:left;">Industry-leading expertise covering your entire SDLC </p></li><li><p class="paragraph" style="text-align:left;">ELEKS-owned responsibility for your project&#39;s success </p></li></ul><p class="paragraph" style="text-align:left;"><a class="link" href="https://eleks.com/product-oriented-delivery/?utm_campaign=8LRS7JYDM4&utm_source=beehiiv&_bhiiv=opp_fcf457aa-90e7-4ac8-a55f-de191e736ed3_a9c062d0&bhcl_id=98a06bfc-2752-4221-94ad-59fee1a6d69e_{{subscriber_id}}_{{email_address_id}}" target="_blank" rel="noopener noreferrer nofollow">Book your consultation today</a></p><hr class="content_break"><p class="paragraph" style="text-align:center;"><a class="link" href="https://sponsorships.csharpinsights.com/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=what-s-new-in-net-9-a-developer-s-perspective" target="_blank" rel="noopener noreferrer nofollow"><span style="text-decoration:underline;">Sponsor</span></a> • <a class="link" href="https://newsletter.csharpinsights.com/upgrade?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=what-s-new-in-net-9-a-developer-s-perspective" target="_blank" rel="noopener noreferrer nofollow"><span style="text-decoration:underline;">Tip me!</span></a></p><p class="paragraph" style="text-align:left;">Hi! ✌️</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://www.syncfusion.com/blogs/post/whats-new-in-dotnet-9?utm_source=alvinashcraft&utm_medium=email&utm_campaign=alvinashcraft_blog_edmoct24" target="_blank" rel="noopener noreferrer nofollow">What’s New in .NET 9: A Developer’s Perspective</a></p><p class="paragraph" style="text-align:left;">From faster app development with the updated SDK to improvements in ASP.NET Core, ML.NET, and .NET MAUI, .NET 9 simplifies cross-platform development and supercharges your projects.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://nikiforovall.github.io/dotnet/aspire/2024/09/30/aspire-lessons-learned.html?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=what-s-new-in-net-9-a-developer-s-perspective" target="_blank" rel="noopener noreferrer nofollow">10 Lessons I Learned from Using Aspire in Production</a></p><p class="paragraph" style="text-align:left;">Discover 10 key lessons learned, from simplifying custom integrations and managing startup dependencies, to navigating challenges with Aspire workloads in CI/CD pipelines.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://devblogs.microsoft.com/dotnet/getting-started-with-testing-and-dotnet-aspire/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=what-s-new-in-net-9-a-developer-s-perspective" target="_blank" rel="noopener noreferrer nofollow">Getting Started with Testing and .NET Aspire</a></p><p class="paragraph" style="text-align:left;">Learn how to set up your testing environment, write integration tests for frontend and API services, and validate application performance with real examples.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://platform.uno/blog/intro-mvux/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=what-s-new-in-net-9-a-developer-s-perspective" target="_blank" rel="noopener noreferrer nofollow">Bridging the Gap Between MVU and MVVM</a></p><p class="paragraph" style="text-align:left;">Discover how MVUX on Uno Platform bridges the gap between MVU and MVVM by offering a decoupled, async-friendly architecture with rich data binding and immutability. Ideal for cross-platform development, MVUX simplifies state management, making complex applications more scalable and maintainable.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://andrewlock.net/major-updates-to-netescapades-aspnetcore-security-headers/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=what-s-new-in-net-9-a-developer-s-perspective" target="_blank" rel="noopener noreferrer nofollow">Major Updates to NetEscapades.AspNetCore.SecurityHeaders</a></p><p class="paragraph" style="text-align:left;">The latest preview of <code>NetEscapades.AspNetCore.SecurityHeaders</code> (v1.0.0-preview.1) introduces crucial updates, including new security header policies, deprecated methods, and improved flexibility for configuring headers by endpoint.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://steven-giesel.com/blogPost/669d5aa2-b86a-4096-948c-9a767b7071e3/xunit-v3-and-some-stuff-about-tunit?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=what-s-new-in-net-9-a-developer-s-perspective" target="_blank" rel="noopener noreferrer nofollow">xUnit v3 and Some Stuff About TUnit</a></p><p class="paragraph" style="text-align:left;">xUnit v3 brings exciting updates, like executable test projects, simplified migration, and enhanced cancellation token support, while introducing matrix-style theory data.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://www.textcontrol.com/blog/2024/09/30/creating-advanced-tables-in-pdf-and-docx-documents-with-csharp/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=what-s-new-in-net-9-a-developer-s-perspective" target="_blank" rel="noopener noreferrer nofollow">Creating Advanced Tables in PDF and DOCX Documents with C#</a></p><p class="paragraph" style="text-align:left;">This guide covers everything from building tables from scratch to inserting them from JSON data, customizing layouts, adding nested tables, and controlling pagination for seamless document design.</p><p class="paragraph" style="text-align:left;"><br><br><span style="text-decoration:underline;">P.S</span> If you liked this edition, consider forwarding it to a friend!</p><p class="paragraph" style="text-align:left;">If you’re that friend, <a class="link" href="https://csharpinsights.com/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=what-s-new-in-net-9-a-developer-s-perspective" target="_blank" rel="noopener noreferrer nofollow">subscribe here</a>.</p><hr class="content_break"><hr class="content_break"></div><div class='beehiiv__footer'><br class='beehiiv__footer__break'><hr class='beehiiv__footer__line'><a target="_blank" class="beehiiv__footer_link" style="text-align: center;" href="https://www.beehiiv.com/powered-by?publication_logo=https%3A%2F%2Fmedia.beehiiv.com%2Fcdn-cgi%2Fimage%2Ffit%3Dscale-down%2Cformat%3Dauto%2Conerror%3Dredirect%2Cquality%3D80%2Fuploads%2Fpublication%2Flogo%2Fdea45f58-ec5f-4b08-8830-5b075e9385ac%2Flogo_klein.png%3Fv%3D1779225549&publication_name=C%23+Insights&utm_campaign=e7a951f1-280e-406f-b39f-6cc36e54cae8&utm_medium=post_rss&utm_source=c_insights">Powered by beehiiv</a></div></div>
  ]]></content:encoded>
</item>

      <item>
  <title>⚙️ Preparing For .NET 9 </title>
  <description>Explore code resilience, TDD in password validation, ASP.NET 9 updates, WPF Gantt charts, and essential EF Core transaction techniques.</description>
      <enclosure url="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/3b8a11d8-3100-4716-9f8d-4878f97086ef/beehiiv_banner.png" length="39881" type="image/png"/>
  <link>https://newsletter.csharpinsights.com/p/preparing-for-net-9</link>
  <guid isPermaLink="true">https://newsletter.csharpinsights.com/p/preparing-for-net-9</guid>
  <pubDate>Wed, 25 Sep 2024 11:00:00 +0000</pubDate>
  <atom:published>2024-09-25T11:00:00Z</atom:published>
  <content:encoded><![CDATA[
    <div class='beehiiv'><style>
  .bh__table, .bh__table_header, .bh__table_cell { border: 1px solid #C0C0C0; }
  .bh__table_cell { padding: 5px; background-color: #FFFFFF; }
  .bh__table_cell p { color: #2D2D2D; font-family: 'Helvetica',Arial,sans-serif !important; overflow-wrap: break-word; }
  .bh__table_header { padding: 5px; background-color:#F1F1F1; }
  .bh__table_header p { color: #2A2A2A; font-family:'Trebuchet MS','Lucida Grande',Tahoma,sans-serif !important; overflow-wrap: break-word; }
</style><div class='beehiiv__body'><p class="paragraph" style="text-align:center;"><a class="link" href="https://sponsorships.csharpinsights.com/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=preparing-for-net-9" target="_blank" rel="noopener noreferrer nofollow"><span style="text-decoration:underline;">Sponsor</span></a> • <a class="link" href="https://newsletter.csharpinsights.com/upgrade?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=preparing-for-net-9" target="_blank" rel="noopener noreferrer nofollow"><span style="text-decoration:underline;">Tip me!</span></a></p><div class="custom_html"><img src="https://sponsorships.csharpinsights.com/open/07f960f9.gif?opens=1" width="1" height="1"></div><p class="paragraph" style="text-align:center;"><b>In partnership with</b></p><div class="image"><img alt="" class="image__image" style="border-radius:0px 0px 0px 0px;border-style:solid;border-width:0px 0px 0px 0px;box-sizing:border-box;border-color:#E5E7EB;" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/0f024115-692f-457d-910a-5a25700e57e0/Dometrain4.png?t=1726582737"/></div><h3 class="heading" style="text-align:left;" id="dometrains-back-to-school-sale-is-n"><b>Dometrain&#39;s Back to School Sale is now Live!</b></h3><div class="image"><img alt="" class="image__image" style="border-radius:0px 0px 0px 0px;border-style:solid;border-width:0px 0px 0px 0px;box-sizing:border-box;border-color:#E5E7EB;" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/35668b0a-88ee-41a7-a167-23dc078d5608/promo-blog.jpg?t=1726582702"/></div><p class="paragraph" style="text-align:left;">Until the 30th of September you can get 30% off any of Dometrain&#39;s courses with code BTS30, 15% off any of the already discounted bundles with code BTS15 and 20% off your first year of Dometrain Pro with code BTS20. With 35.000 students, 17 authors and 41 courses, you can&#39;t go wrong with Dometrain.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://sponsorships.csharpinsights.com/redirect/zef2mnbrddv6oax81gy5oa5ve0e?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=preparing-for-net-9" target="_blank" rel="noopener noreferrer nofollow">Check out Dometrain!</a></p><p class="paragraph" style="text-align:left;">Hi! ✌️</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://www.devlead.se/posts/2024/2024-09-22-preparing-for-dotnet-9?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=preparing-for-net-9" target="_blank" rel="noopener noreferrer nofollow">Preparing For .NET 9</a> </p><p class="paragraph" style="text-align:left;">Prepare for .NET 9 with insights on migrating from .NET 6 and newer, including key steps like updating dependencies, removing obsolete frameworks, and adding the net9.0 TFM.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://goatreview.com/evolving-existing-code-through-tdd-a-password-validator-case-study/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=preparing-for-net-9" target="_blank" rel="noopener noreferrer nofollow">Evolving Existing Code Through TDD: A Password Case Study</a> </p><p class="paragraph" style="text-align:left;">In this case study on evolving a password validation program, the authors demonstrate how Test-Driven Development (TDD) guides code refinement.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://devblogs.microsoft.com/visualstudio/level-up-your-collaborations-with-the-pull-request-experience-in-visual-studio/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=preparing-for-net-9" target="_blank" rel="noopener noreferrer nofollow">Level Up Your Collaborations With The Pull Request Experience In Visual Studio</a> </p><p class="paragraph" style="text-align:left;">Visual Studio 17.11 streamlines the pull request workflow, offering smoother collaboration with features like draft PRs, AI-generated descriptions, and in-editor comment viewing.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://blog.elmah.io/3-essential-techniques-for-managing-transactions-in-ef-core/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=preparing-for-net-9" target="_blank" rel="noopener noreferrer nofollow">3 Essential Techniques For Managing Transactions In EF Core</a> </p><p class="paragraph" style="text-align:left;">Learn how to manage transactions in EF Core using three essential techniques: automatic, manual, and strategy-based. This guide explores each method’s pros and cons, helping developers ensure data consistency and handle complex operations in their applications effectively.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://dotnettips.wordpress.com/2024/09/24/collection-performance-looping-over-a-collection-2/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=preparing-for-net-9" target="_blank" rel="noopener noreferrer nofollow">Boosting Loop Performance In .NET: The Simple Trick Of Caching Array Length</a> </p><p class="paragraph" style="text-align:left;">Discover a simple yet effective way to boost loop performance in .NET by caching array lengths during iteration. This small optimization yields a noticeable improvement, especially when loops are executed frequently—learn more in this blog post!</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://testing.googleblog.com/2024/09/write-change-resilient-code-with-domain.html?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=preparing-for-net-9" target="_blank" rel="noopener noreferrer nofollow">Write Change-Resilient Code With Domain Objects</a> </p><p class="paragraph" style="text-align:left;">To create change-resilient code, align it with the fundamental concepts of a product using domain objects.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://steven-giesel.com/blogPost/777776a2-a13c-46bb-bf6b-89316d88508c/swagger-replacement-in-aspnet-9?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=preparing-for-net-9" target="_blank" rel="noopener noreferrer nofollow">Swagger Replacement in ASP.NET 9</a> </p><p class="paragraph" style="text-align:left;">Swagger has been removed from ASP.NET 9 templates, but don&#39;t worry—this blog post explores alternatives like reinstalling Swashbuckle, using NSwag, or trying out the new Scalar.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://developer.mescius.com/blogs/how-to-build-a-wpf-gantt-chart-control?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=preparing-for-net-9" target="_blank" rel="noopener noreferrer nofollow">How to Build a WPF Gantt Chart Control</a> </p><p class="paragraph" style="text-align:left;">Learn how to quickly create a project management Gantt Chart in WPF using ComponentOne&#39;s C1GanttView control.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://www.diagrid.io/blog/net-aspire-dapr-what-are-they-and-how-they-complement-each-other?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=preparing-for-net-9" target="_blank" rel="noopener noreferrer nofollow">.NET Aspire & Dapr: What Are They, & How Do They Complement Each Other For Distributed Apps?</a> </p><p class="paragraph" style="text-align:left;">Explore how .NET Aspire streamlines local development for distributed apps, while Dapr offers runtime APIs for cloud-native applications. Together, they empower .NET developers to build and run resilient, secure applications with ease across any cloud.</p><p class="paragraph" style="text-align:left;"></p><p class="paragraph" style="text-align:left;"><br><br><span style="text-decoration:underline;">P.S</span> If you liked this edition, consider forwarding it to a friend!</p><p class="paragraph" style="text-align:left;">If you’re that friend, <a class="link" href="https://csharpinsights.com/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=preparing-for-net-9" target="_blank" rel="noopener noreferrer nofollow">subscribe here</a>.</p><hr class="content_break"><hr class="content_break"></div><div class='beehiiv__footer'><br class='beehiiv__footer__break'><hr class='beehiiv__footer__line'><a target="_blank" class="beehiiv__footer_link" style="text-align: center;" href="https://www.beehiiv.com/powered-by?publication_logo=https%3A%2F%2Fmedia.beehiiv.com%2Fcdn-cgi%2Fimage%2Ffit%3Dscale-down%2Cformat%3Dauto%2Conerror%3Dredirect%2Cquality%3D80%2Fuploads%2Fpublication%2Flogo%2Fdea45f58-ec5f-4b08-8830-5b075e9385ac%2Flogo_klein.png%3Fv%3D1779225549&publication_name=C%23+Insights&utm_campaign=e7f397f0-329e-46f2-9150-a8111d141570&utm_medium=post_rss&utm_source=c_insights">Powered by beehiiv</a></div></div>
  ]]></content:encoded>
</item>

      <item>
  <title>⚙️ C# 11.0 New Features: Ref Fields and the Scoped Keyword</title>
  <description>Unlock the latest in .NET with updates on user secrets, task cancellation, C# 11 features, code quality gates, Arm64 apps, Elasticsearch, and Android asset packs.</description>
      <enclosure url="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/3b8a11d8-3100-4716-9f8d-4878f97086ef/beehiiv_banner.png" length="39881" type="image/png"/>
  <link>https://newsletter.csharpinsights.com/p/net-user-secrets-demystified-practical-usage-and-best-practices</link>
  <guid isPermaLink="true">https://newsletter.csharpinsights.com/p/net-user-secrets-demystified-practical-usage-and-best-practices</guid>
  <pubDate>Wed, 18 Sep 2024 11:00:00 +0000</pubDate>
  <atom:published>2024-09-18T11:00:00Z</atom:published>
  <content:encoded><![CDATA[
    <div class='beehiiv'><style>
  .bh__table, .bh__table_header, .bh__table_cell { border: 1px solid #C0C0C0; }
  .bh__table_cell { padding: 5px; background-color: #FFFFFF; }
  .bh__table_cell p { color: #2D2D2D; font-family: 'Helvetica',Arial,sans-serif !important; overflow-wrap: break-word; }
  .bh__table_header { padding: 5px; background-color:#F1F1F1; }
  .bh__table_header p { color: #2A2A2A; font-family:'Trebuchet MS','Lucida Grande',Tahoma,sans-serif !important; overflow-wrap: break-word; }
</style><div class='beehiiv__body'><p class="paragraph" style="text-align:center;"><a class="link" href="https://sponsorships.csharpinsights.com/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=c-11-0-new-features-ref-fields-and-the-scoped-keyword" target="_blank" rel="noopener noreferrer nofollow"><span style="text-decoration:underline;">Sponsor</span></a> • <a class="link" href="https://newsletter.csharpinsights.com/upgrade?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=c-11-0-new-features-ref-fields-and-the-scoped-keyword" target="_blank" rel="noopener noreferrer nofollow"><span style="text-decoration:underline;">Tip me!</span></a></p><div class="custom_html"><img src="https://sponsorships.csharpinsights.com/open/d22c0207.gif?opens=1" width="1" height="1"></div><p class="paragraph" style="text-align:center;"><b>In partnership with</b></p><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/0f024115-692f-457d-910a-5a25700e57e0/Dometrain4.png?t=1726582737"/></div><h3 class="heading" style="text-align:left;" id="dometrains-back-to-school-sale-is-n"><b>Dometrain&#39;s Back to School Sale is now Live!</b></h3><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/35668b0a-88ee-41a7-a167-23dc078d5608/promo-blog.jpg?t=1726582702"/></div><p class="paragraph" style="text-align:left;">Until the 30th of September you can get 30% off any of Dometrain&#39;s courses with code BTS30, 15% off any of the already discounted bundles with code BTS15 and 20% off your first year of Dometrain Pro with code BTS20. With 35.000 students, 17 authors and 41 courses, you can&#39;t go wrong with Dometrain.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://sponsorships.csharpinsights.com/redirect/lnz2fb0hjqcj6qbkm5bkh2b7pal?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=c-11-0-new-features-ref-fields-and-the-scoped-keyword" target="_blank" rel="noopener noreferrer nofollow">Check out Dometrain!</a></p><p class="paragraph" style="text-align:left;">Hi! ✌️</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://endjin.com/blog/2024/09/dotnet-csharp-11-ref-fields-scoped-keyword?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=c-11-0-new-features-ref-fields-and-the-scoped-keyword" target="_blank" rel="noopener noreferrer nofollow">C# 11.0 New Features: Ref Fields and the Scoped Keyword</a></p><p class="paragraph" style="text-align:left;">C# 11.0 introduces two key features: ref fields and the scoped keyword. Ref fields allow managed pointers to be used as instance fields in ref structs, enhancing performance and flexibility, while the scoped keyword and [UnscopedRef] attribute help manage type safety and avoid common pitfalls related to memory management.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://nikiforovall.github.io/dotnet/2024/09/14/quality-gates-dotnet.html?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=c-11-0-new-features-ref-fields-and-the-scoped-keyword" target="_blank" rel="noopener noreferrer nofollow">A Tyrant Guide to Code Quality Gates Featuring CSharpier, Husky.NET, and SonarCloud</a></p><p class="paragraph" style="text-align:left;">Discover how to elevate your .NET projects with robust code quality gates using tools like CSharpier, Husky.NET, and SonarCloud. This guide covers automated checks for formatting, coding style, and analysis, ensuring your codebase remains clean and maintainable. Read on to streamline your development workflow!</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://devblogs.microsoft.com/visualstudio/how-to-run-net-apps-natively-on-arm64-devices/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=c-11-0-new-features-ref-fields-and-the-scoped-keyword" target="_blank" rel="noopener noreferrer nofollow">How to Run .NET Apps Natively on Arm64 Devices</a></p><p class="paragraph" style="text-align:left;">Discover how Visual Studio 2022 17.11 simplifies running .NET apps natively on Arm64 devices with a new app manifest setting. This update enhances performance and battery life by bypassing x64 emulation, allowing your apps to fully utilize Arm64 architecture.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://goatreview.com/net-user-secrets-demystified-practical-usage-and-best-practices/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=c-11-0-new-features-ref-fields-and-the-scoped-keyword" target="_blank" rel="noopener noreferrer nofollow">.NET User Secrets Demystified: Practical Usage and Best Practices</a></p><p class="paragraph" style="text-align:left;">Unlock the power of .NET User Secrets to securely manage sensitive data during development. Learn how to initialize, use, and implement best practices to protect your secrets without exposing them in version control, ensuring a more secure .NET development process.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://steven-giesel.com/blogPost/cacc60e5-4fbf-473a-a5af-c9fb333d9183/managing-taskcancellationtokens-in-a-central-service-in-aspnet?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=c-11-0-new-features-ref-fields-and-the-scoped-keyword" target="_blank" rel="noopener noreferrer nofollow">Managing TaskCancellationTokens in a Central Service in ASP.NET</a></p><p class="paragraph" style="text-align:left;">Simplify task cancellation management in ASP.NET by centralizing <code>CancellationToken</code> handling using middleware and a dedicated service. This approach reduces repetitive code but introduces dependencies—making it ideal when you&#39;re frequently passing tokens without needing direct cancellation control.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://devblogs.microsoft.com/dotnet/android-asset-packs-in-dotnet-android/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=c-11-0-new-features-ref-fields-and-the-scoped-keyword" target="_blank" rel="noopener noreferrer nofollow">Android Asset Packs for .NET & .NET MAUI Android Apps</a></p><p class="paragraph" style="text-align:left;">Explore the new Asset Pack support in .NET 9, designed to simplify asset management for Android and .NET MAUI apps. Learn how to optimize your app&#39;s size and performance by packaging large assets efficiently, with practical examples and debugging tips to get started quickly.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://damienbod.com/2024/09/16/using-elasticsearch-with-net-aspire/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=c-11-0-new-features-ref-fields-and-the-scoped-keyword" target="_blank" rel="noopener noreferrer nofollow">Using Elasticsearch with .NET Aspire</a></p><p class="paragraph" style="text-align:left;">Learn how to integrate Elasticsearch with .NET Aspire in this guide. Discover how to configure Elasticsearch using HTTPS with dotnet developer certificates and implement a simple client for querying data in an ASP.NET Core application. For the full setup and code examples, check out the article!</p><p class="paragraph" style="text-align:left;"><br><br><span style="text-decoration:underline;">P.S</span> If you liked this edition, consider forwarding it to a friend!</p><p class="paragraph" style="text-align:left;">If you’re that friend, <a class="link" href="https://csharpinsights.com/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=c-11-0-new-features-ref-fields-and-the-scoped-keyword" target="_blank" rel="noopener noreferrer nofollow">subscribe here</a>.</p><hr class="content_break"><hr class="content_break"></div><div class='beehiiv__footer'><br class='beehiiv__footer__break'><hr class='beehiiv__footer__line'><a target="_blank" class="beehiiv__footer_link" style="text-align: center;" href="https://www.beehiiv.com/powered-by?publication_logo=https%3A%2F%2Fmedia.beehiiv.com%2Fcdn-cgi%2Fimage%2Ffit%3Dscale-down%2Cformat%3Dauto%2Conerror%3Dredirect%2Cquality%3D80%2Fuploads%2Fpublication%2Flogo%2Fdea45f58-ec5f-4b08-8830-5b075e9385ac%2Flogo_klein.png%3Fv%3D1779225549&publication_name=C%23+Insights&utm_campaign=7e458221-413c-48d4-ad99-24fb30b3cdff&utm_medium=post_rss&utm_source=c_insights">Powered by beehiiv</a></div></div>
  ]]></content:encoded>
</item>

      <item>
  <title>⚙️ Preventing Breaking Changes in Public APIs with PublicApiGenerator</title>
  <description>Explore new tools and techniques for .NET, from Blazor Hybrid apps to public API management, Windows Error Reporting, and more in our latest newsletter!</description>
      <enclosure url="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/3b8a11d8-3100-4716-9f8d-4878f97086ef/beehiiv_banner.png" length="39881" type="image/png"/>
  <link>https://newsletter.csharpinsights.com/p/preventing-breaking-changes-in-public-apis-with-publicapigenerator</link>
  <guid isPermaLink="true">https://newsletter.csharpinsights.com/p/preventing-breaking-changes-in-public-apis-with-publicapigenerator</guid>
  <pubDate>Wed, 11 Sep 2024 11:00:00 +0000</pubDate>
  <atom:published>2024-09-11T11:00:00Z</atom:published>
  <content:encoded><![CDATA[
    <div class='beehiiv'><style>
  .bh__table, .bh__table_header, .bh__table_cell { border: 1px solid #C0C0C0; }
  .bh__table_cell { padding: 5px; background-color: #FFFFFF; }
  .bh__table_cell p { color: #2D2D2D; font-family: 'Helvetica',Arial,sans-serif !important; overflow-wrap: break-word; }
  .bh__table_header { padding: 5px; background-color:#F1F1F1; }
  .bh__table_header p { color: #2A2A2A; font-family:'Trebuchet MS','Lucida Grande',Tahoma,sans-serif !important; overflow-wrap: break-word; }
</style><div class='beehiiv__body'><h3 class="heading" style="text-align:left;" id="want-soc-2-compliance-without-the-s">Want SOC 2 compliance without the Security Theater?</h3><div class="image"><a class="image__link" href="https://www.oneleet.com/beehiiv?utm_source=beehiiv&utm_medium=beehiiv&utm_campaign=8LRS7JYDM4&_bhiiv=opp_a1c08309-c66a-4f8c-9cae-482b92c84ef8_ad1ca790&bhcl_id=7e363609-9d42-48c1-ba3f-418b8ece226f_{{subscriber_id}}_{{email_address_id}}" rel="noopener" target="_blank"><img class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/9c88349c-b331-49a9-856d-ade21cd47180/Hero_Image_--_solid.png?t=1724871593"/></a></div><ul><li><p class="paragraph" style="text-align:left;">Get the all-in-one platform for SOC 2</p></li><li><p class="paragraph" style="text-align:left;">Build real-world security 💪</p></li><li><p class="paragraph" style="text-align:left;">Penetration testing, compliance software, 3rd party audit, & vCISO</p></li></ul><p class="paragraph" style="text-align:left;"><a class="link" href="https://www.oneleet.com/beehiiv?utm_source=beehiiv&utm_medium=beehiiv&utm_campaign=8LRS7JYDM4&_bhiiv=opp_a1c08309-c66a-4f8c-9cae-482b92c84ef8_ad1ca790&bhcl_id=7e363609-9d42-48c1-ba3f-418b8ece226f_{{subscriber_id}}_{{email_address_id}}" target="_blank" rel="noopener noreferrer nofollow">Schedule a demo for pricing!</a></p><p class="paragraph" style="text-align:center;"><a class="link" href="https://sponsorships.csharpinsights.com/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=preventing-breaking-changes-in-public-apis-with-publicapigenerator" target="_blank" rel="noopener noreferrer nofollow"><span style="text-decoration:underline;">Sponsor</span></a> • <a class="link" href="https://newsletter.csharpinsights.com/upgrade?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=preventing-breaking-changes-in-public-apis-with-publicapigenerator" target="_blank" rel="noopener noreferrer nofollow"><span style="text-decoration:underline;">Tip me!</span></a></p><p class="paragraph" style="text-align:left;">Hi! ✌️</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://andrewlock.net/preventing-breaking-changes-in-public-apis-with-publicapigenerator/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=preventing-breaking-changes-in-public-apis-with-publicapigenerator" target="_blank" rel="noopener noreferrer nofollow">Preventing Breaking Changes in Public APIs with PublicApiGenerator</a></p><p class="paragraph" style="text-align:left;">Learn how to track and enforce public API changes using PublicApiGenerator and Verify for NuGet libraries, ensuring compatibility and avoiding breaking changes.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://www.milanjovanovic.tech/blog/screaming-architecture?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=preventing-breaking-changes-in-public-apis-with-publicapigenerator" target="_blank" rel="noopener noreferrer nofollow">Screaming Architecture</a></p><p class="paragraph" style="text-align:left;">Discover how &quot;screaming architecture&quot; aligns software structure with business goals using use case-driven design for clearer, more cohesive systems.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://devblogs.microsoft.com/dotnet/introducing-blazor-hybrid-workshop/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=preventing-breaking-changes-in-public-apis-with-publicapigenerator" target="_blank" rel="noopener noreferrer nofollow">Learn to Build Your First Blazor Hybrid App!</a></p><p class="paragraph" style="text-align:left;">Learn to build your first Blazor Hybrid app with a self-paced workshop! Explore .NET MAUI, mix Blazor & native controls, and get hands-on with the MonkeyFinder app!</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://www.roundthecode.com/dotnet-tutorials/what-are-partial-classes-csharp-why-do-we-use-them?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=preventing-breaking-changes-in-public-apis-with-publicapigenerator" target="_blank" rel="noopener noreferrer nofollow">What are Partial Classes in C# and Why Do We Use Them?</a></p><p class="paragraph" style="text-align:left;">Learn what partial classes are in C# and how they allow splitting a class across multiple files. Discover rules, exceptions, and use cases for this feature.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://minidump.net/windows-error-reporting/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=preventing-breaking-changes-in-public-apis-with-publicapigenerator" target="_blank" rel="noopener noreferrer nofollow">Using Windows Error Reporting in .NET</a></p><p class="paragraph" style="text-align:left;">Learn how to use Windows Error Reporting (WER) in .NET for collecting crash telemetry, setting up a crash handler, and integrating it with .NET applications.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://nikiforovall.github.io/dotnet/ai/2024/09/04/typical-rag-dotnet.html?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=preventing-breaking-changes-in-public-apis-with-publicapigenerator" target="_blank" rel="noopener noreferrer nofollow">Typical RAG Implementation Using Semantic Kernel, Kernel Memory, and Aspire in .NET</a></p><p class="paragraph" style="text-align:left;">Learn how to implement RAG with Semantic Kernel, Kernel Memory, and Aspire in .NET. Includes XUnit testing, OpenTelemetry, and Aspire dashboard setup.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://devblogs.microsoft.com/microsoft365dev/announcing-the-office-add-ins-development-kit-for-visual-studio-code-public-preview/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=preventing-breaking-changes-in-public-apis-with-publicapigenerator" target="_blank" rel="noopener noreferrer nofollow">Announcing the Office Add-ins Development Kit for Visual Studio Code (Public Preview)</a></p><p class="paragraph" style="text-align:left;">Office Add-ins Development Kit for Visual Studio Code is now in public preview! Streamline your Office Add-ins development with easy setup, templates, and debugging.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://www.jimmybogard.com/tales-from-the-net-migration-trenches-turning-off-the-lights/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=preventing-breaking-changes-in-public-apis-with-publicapigenerator" target="_blank" rel="noopener noreferrer nofollow">Tales from the .NET Migration Trenches - Turning Off the Lights</a></p><p class="paragraph" style="text-align:left;">Final steps in .NET migration: removing legacy features, migrating authentication, and completing deployment. Monitor and clean up old .NET 4.8 resources.</p><p class="paragraph" style="text-align:left;"><br><br><span style="text-decoration:underline;">P.S</span> If you liked this edition, consider forwarding it to a friend!</p><p class="paragraph" style="text-align:left;">If you’re that friend, <a class="link" href="https://csharpinsights.com/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=preventing-breaking-changes-in-public-apis-with-publicapigenerator" target="_blank" rel="noopener noreferrer nofollow">subscribe here</a>.</p><hr class="content_break"><hr class="content_break"></div><div class='beehiiv__footer'><br class='beehiiv__footer__break'><hr class='beehiiv__footer__line'><a target="_blank" class="beehiiv__footer_link" style="text-align: center;" href="https://www.beehiiv.com/powered-by?publication_logo=https%3A%2F%2Fmedia.beehiiv.com%2Fcdn-cgi%2Fimage%2Ffit%3Dscale-down%2Cformat%3Dauto%2Conerror%3Dredirect%2Cquality%3D80%2Fuploads%2Fpublication%2Flogo%2Fdea45f58-ec5f-4b08-8830-5b075e9385ac%2Flogo_klein.png%3Fv%3D1779225549&publication_name=C%23+Insights&utm_campaign=3882783c-f8ca-4dd8-9980-c478cbfce274&utm_medium=post_rss&utm_source=c_insights">Powered by beehiiv</a></div></div>
  ]]></content:encoded>
</item>

      <item>
  <title>⚙️ .NET Community Toolkit 8.3 Is Here!</title>
  <description>Explore the latest in .NET, from simplifying code comments to optimizing dictionary performance. Plus, updates on .NET Aspire 8.2 and new toolkit features!</description>
      <enclosure url="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/3b8a11d8-3100-4716-9f8d-4878f97086ef/beehiiv_banner.png" length="39881" type="image/png"/>
  <link>https://newsletter.csharpinsights.com/p/net-community-toolkit-8-3-is-here</link>
  <guid isPermaLink="true">https://newsletter.csharpinsights.com/p/net-community-toolkit-8-3-is-here</guid>
  <pubDate>Wed, 04 Sep 2024 11:00:00 +0000</pubDate>
  <atom:published>2024-09-04T11:00:00Z</atom:published>
  <content:encoded><![CDATA[
    <div class='beehiiv'><style>
  .bh__table, .bh__table_header, .bh__table_cell { border: 1px solid #C0C0C0; }
  .bh__table_cell { padding: 5px; background-color: #FFFFFF; }
  .bh__table_cell p { color: #2D2D2D; font-family: 'Helvetica',Arial,sans-serif !important; overflow-wrap: break-word; }
  .bh__table_header { padding: 5px; background-color:#F1F1F1; }
  .bh__table_header p { color: #2A2A2A; font-family:'Trebuchet MS','Lucida Grande',Tahoma,sans-serif !important; overflow-wrap: break-word; }
</style><div class='beehiiv__body'><p class="paragraph" style="text-align:center;"><a class="link" href="https://sponsorships.csharpinsights.com/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=net-community-toolkit-8-3-is-here" target="_blank" rel="noopener noreferrer nofollow"><span style="text-decoration:underline;">Sponsor</span></a> • <a class="link" href="https://newsletter.csharpinsights.com/upgrade?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=net-community-toolkit-8-3-is-here" target="_blank" rel="noopener noreferrer nofollow"><span style="text-decoration:underline;">Tip me!</span></a></p><h3 class="heading" style="text-align:left;" id="want-soc-2-compliance-without-the-s">Want SOC 2 compliance without the Security Theater?</h3><div class="image"><a class="image__link" href="https://www.oneleet.com/beehiiv?utm_source=beehiiv&utm_medium=beehiiv&utm_campaign=8LRS7JYDM4&_bhiiv=opp_d4cdaf71-765f-4ba1-a726-9161945ef358_ad1ca790&bhcl_id=d61dc276-44f9-42a5-9f59-90e890e9e4bd_{{subscriber_id}}_{{email_address_id}}" rel="noopener" target="_blank"><img class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/9c88349c-b331-49a9-856d-ade21cd47180/Hero_Image_--_solid.png?t=1724871593"/></a></div><ul><li><p class="paragraph" style="text-align:left;">Get the all-in-one platform for SOC 2</p></li><li><p class="paragraph" style="text-align:left;">Build real-world security 💪</p></li><li><p class="paragraph" style="text-align:left;">Penetration testing, compliance software, 3rd party audit, & vCISO</p></li></ul><p class="paragraph" style="text-align:left;"><a class="link" href="https://www.oneleet.com/beehiiv?utm_source=beehiiv&utm_medium=beehiiv&utm_campaign=8LRS7JYDM4&_bhiiv=opp_d4cdaf71-765f-4ba1-a726-9161945ef358_ad1ca790&bhcl_id=d61dc276-44f9-42a5-9f59-90e890e9e4bd_{{subscriber_id}}_{{email_address_id}}" target="_blank" rel="noopener noreferrer nofollow">Schedule a demo for pricing!</a></p><p class="paragraph" style="text-align:left;">Hi! ✌️</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://devblogs.microsoft.com/dotnet/announcing-the-dotnet-community-toolkit-830/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=net-community-toolkit-8-3-is-here" target="_blank" rel="noopener noreferrer nofollow">.NET Community Toolkit 8.3 Is Here! NativeAOT, .NET 8 Enhancements, and More!</a></p><p class="paragraph" style="text-align:left;">.NET Community Toolkit 8.3 is out! Highlights include .NET 8, NativeAOT support, performance improvements, and key bug fixes. Get all the details and start coding today!</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://devblogs.microsoft.com/dotnet/announcing-dotnet-aspire-8-2/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=net-community-toolkit-8-3-is-here" target="_blank" rel="noopener noreferrer nofollow">Announcing .NET Aspire 8.2 – Goodbye Components, Hello Integrations!</a></p><p class="paragraph" style="text-align:left;">.NET Aspire 8.2 is out! Key updates: &quot;Components&quot; are now &quot;Integrations,&quot; enhanced testing, and prep for future releases. Join us Sept 18th for .NET Aspire Day!</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://blog.ndepend.com/faster-dictionary-in-c/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=net-community-toolkit-8-3-is-here" target="_blank" rel="noopener noreferrer nofollow">Faster Dictionary in C#</a></p><p class="paragraph" style="text-align:left;">Optimizing C# dictionary performance: Use <code>TryAdd</code> to avoid duplicate lookups, and leverage managed pointers from .NET 6 for faster operations on large structs or when modifying values. Benchmark results show significant performance gains.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://testing.googleblog.com/2024/08/less-is-more-principles-for-simple.html?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=net-community-toolkit-8-3-is-here" target="_blank" rel="noopener noreferrer nofollow">Less Is More: Principles for Simple Comments</a></p><p class="paragraph" style="text-align:left;">Simplify your code comments by keeping them clear, concise, and self-contained. Focus on intent over implementation details.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://steven-giesel.com/blogPost/47e4a351-0f1b-4bb5-a3d5-0ce4d7c1fa61/how-to-test-httpclient-inside-api-tests?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=net-community-toolkit-8-3-is-here" target="_blank" rel="noopener noreferrer nofollow">How to Test HttpClient Inside API Tests</a></p><p class="paragraph" style="text-align:left;">Learn to mock HttpClient calls in API tests using WebApplicationFactory and DelegatingHandler, ensuring stable, reliable tests without real HTTP requests.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://nikiforovall.github.io/dotnet/2024/08/22/async-enumerable-pipelines.html?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=net-community-toolkit-8-3-is-here" target="_blank" rel="noopener noreferrer nofollow">Building Pipelines with IAsyncEnumerable in .NET</a></p><p class="paragraph" style="text-align:left;">Explore building data pipelines in C# with IAsyncEnumerable and System.Linq.Async. Learn to implement reusable operators, integrate IObservable, and handle batching and summarization. Full examples and source code included!</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://goatreview.com/object-calisthenics-9-rules-clean-code-explanations/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=net-community-toolkit-8-3-is-here" target="_blank" rel="noopener noreferrer nofollow">Object Calisthenics #4: Implementations Explanations</a></p><p class="paragraph" style="text-align:left;">Pierre and Yoan discuss their different approaches to implementing Object Calisthenics, highlighting key differences, feedback, and the flexibility of coding methodologies.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://khalidabuhakmeh.com/checked-and-unchecked-arithmetic-operations-in-dotnet?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=net-community-toolkit-8-3-is-here" target="_blank" rel="noopener noreferrer nofollow">Checked and Unchecked Arithmetic Operations in .NET</a></p><p class="paragraph" style="text-align:left;">Learn how to prevent arithmetic overflow issues in .NET by using the checked and unchecked keywords, and explore techniques to safeguard your applications.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://andrewlock.net/working-with-tar-files-in-dotnet/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=net-community-toolkit-8-3-is-here" target="_blank" rel="noopener noreferrer nofollow">Working with Tar Files in .NET 8</a></p><p class="paragraph" style="text-align:left;">Learn how to work with tar files in .NET 8, including creating, extracting, and listing files in tar.gz archives. Discover limitations and missing features.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://www.code4it.dev/csharptips/hashset-custom-equality/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=net-community-toolkit-8-3-is-here" target="_blank" rel="noopener noreferrer nofollow">C# Tip: 2 Ways to Use Custom Equality Rules in a HashSet</a></p><p class="paragraph" style="text-align:left;">Learn how to implement custom equality rules in C# HashSets using IEqualityComparer and IEquatable interfaces to manage unique objects effectively.</p><p class="paragraph" style="text-align:left;"><br><br><span style="text-decoration:underline;">P.S</span> If you liked this edition, consider forwarding it to a friend!</p><p class="paragraph" style="text-align:left;">If you’re that friend, <a class="link" href="https://csharpinsights.com/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=net-community-toolkit-8-3-is-here" target="_blank" rel="noopener noreferrer nofollow">subscribe here</a>.</p><hr class="content_break"><hr class="content_break"></div><div class='beehiiv__footer'><br class='beehiiv__footer__break'><hr class='beehiiv__footer__line'><a target="_blank" class="beehiiv__footer_link" style="text-align: center;" href="https://www.beehiiv.com/powered-by?publication_logo=https%3A%2F%2Fmedia.beehiiv.com%2Fcdn-cgi%2Fimage%2Ffit%3Dscale-down%2Cformat%3Dauto%2Conerror%3Dredirect%2Cquality%3D80%2Fuploads%2Fpublication%2Flogo%2Fdea45f58-ec5f-4b08-8830-5b075e9385ac%2Flogo_klein.png%3Fv%3D1779225549&publication_name=C%23+Insights&utm_campaign=fffd6ae5-c91b-4311-9c72-150586f81989&utm_medium=post_rss&utm_source=c_insights">Powered by beehiiv</a></div></div>
  ]]></content:encoded>
</item>

      <item>
  <title>⚙️ To Soft Delete or Not to Soft Delete</title>
  <description>Explore EF Core migration features, MSTest analyzers, dynamic service lifetimes in .NET, and app authentication with .NET Core, Auth0, and Twilio SendGrid.</description>
      <enclosure url="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/3b8a11d8-3100-4716-9f8d-4878f97086ef/beehiiv_banner.png" length="39881" type="image/png"/>
  <link>https://newsletter.csharpinsights.com/p/to-soft-delete-or-not-to-soft-delete</link>
  <guid isPermaLink="true">https://newsletter.csharpinsights.com/p/to-soft-delete-or-not-to-soft-delete</guid>
  <pubDate>Wed, 28 Aug 2024 11:00:00 +0000</pubDate>
  <atom:published>2024-08-28T11:00:00Z</atom:published>
  <content:encoded><![CDATA[
    <div class='beehiiv'><style>
  .bh__table, .bh__table_header, .bh__table_cell { border: 1px solid #C0C0C0; }
  .bh__table_cell { padding: 5px; background-color: #FFFFFF; }
  .bh__table_cell p { color: #2D2D2D; font-family: 'Helvetica',Arial,sans-serif !important; overflow-wrap: break-word; }
  .bh__table_header { padding: 5px; background-color:#F1F1F1; }
  .bh__table_header p { color: #2A2A2A; font-family:'Trebuchet MS','Lucida Grande',Tahoma,sans-serif !important; overflow-wrap: break-word; }
</style><div class='beehiiv__body'><div class="custom_html"><img src="https://sponsorships.csharpinsights.com/open/b39953e6.gif?opens=1" width="1" height="1"></div><p class="paragraph" style="text-align:center;"><a class="link" href="https://sponsorships.csharpinsights.com/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=to-soft-delete-or-not-to-soft-delete" target="_blank" rel="noopener noreferrer nofollow"><span style="text-decoration:underline;">Sponsor</span></a> • <a class="link" href="https://newsletter.csharpinsights.com/upgrade?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=to-soft-delete-or-not-to-soft-delete" target="_blank" rel="noopener noreferrer nofollow"><span style="text-decoration:underline;">Tip me!</span></a></p><p class="paragraph" style="text-align:center;"><b>In partnership with</b></p><div class="image"><img alt="" class="image__image" style="border-radius:0px 0px 0px 0px;border-style:solid;border-width:0px 0px 0px 0px;box-sizing:border-box;border-color:#E5E7EB;" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/1499b16a-60dd-43e3-a0c3-85551bf5ebca/Dometrain_logo.png?t=1723561894"/></div><h3 class="heading" style="text-align:left;" id="premium-courses-from-professional-a">Premium courses from professional authors crafted for the real world</h3><div class="image"><img alt="" class="image__image" style="border-radius:0px 0px 0px 0px;border-style:solid;border-width:0px 0px 0px 0px;box-sizing:border-box;border-color:#E5E7EB;" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/22f1b527-cb5b-46e4-84e0-b6beca61149e/domtrainer_pro.jpg?t=1723561937"/></div><p class="paragraph" style="text-align:left;">Join Nick Chapsas and his team of expert authors and learn about .NET, C#, Clean Architecture, Domain-Driven Design, and much more on Dometrain!</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://sponsorships.csharpinsights.com/redirect/bg1nve65vmxvj709crvyon7ujn?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=to-soft-delete-or-not-to-soft-delete" target="_blank" rel="noopener noreferrer nofollow">Browse Courses</a></p><hr class="content_break"><p class="paragraph" style="text-align:left;">Hi! ✌️</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://steven-giesel.com/blogPost/a807373c-dcc6-42f9-995f-e69dcea1cd47/to-soft-delete-or-not-to-soft-delete?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=to-soft-delete-or-not-to-soft-delete" target="_blank" rel="noopener noreferrer nofollow">To Soft Delete or Not to Soft Delete</a></p><p class="paragraph" style="text-align:left;">Explore the pros and cons of soft deleting database records versus alternative methods like archiving, and discover why the author often advises against soft deletes, especially for performance and simplicity.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://www.roundthecode.com/dotnet-blog/ef-core-migration-features-you-might-not-know-about?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=to-soft-delete-or-not-to-soft-delete" target="_blank" rel="noopener noreferrer nofollow">EF Core Migration Features That You Might Not Know About</a></p><p class="paragraph" style="text-align:left;">Discover four powerful EF Core migration features you might not know about, including entity configuration, seed data, value converters, and running SQL commands during migrations. This article breaks down each feature with practical examples to enhance your database management skills.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://code-maze.com/dotnet-dynamically-change-the-servicelifetime-of-a-registered-service/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=to-soft-delete-or-not-to-soft-delete" target="_blank" rel="noopener noreferrer nofollow">Dynamically Change the ServiceLifetime of a Registered Service in .NET</a></p><p class="paragraph" style="text-align:left;">Learn how to dynamically change the ServiceLifetime of registered services in .NET, offering flexibility to adapt service behavior based on environment or configuration needs.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://devblogs.microsoft.com/dotnet/supercharge-your-testing-experience-with-ms-test-analyzers/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=to-soft-delete-or-not-to-soft-delete" target="_blank" rel="noopener noreferrer nofollow">Supercharge Your Testing Experience with MSTest.Analyzers</a></p><p class="paragraph" style="text-align:left;">Supercharge your MSTest experience with powerful analyzers that catch subtle mistakes, ensuring your tests run as expected. Discover key updates in MSTest v3.5.1, including analyzers that detect missing <code>[TestClass]</code> attributes and correct <code>[AssemblyInitialize]</code> method signatures—essential tools for error-free, efficient testing.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://www.twilio.com/en-us/blog/app-authentication-dot-net-core-auth0-twilio-sendgrid?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=to-soft-delete-or-not-to-soft-delete" target="_blank" rel="noopener noreferrer nofollow">Build App Authentication with .NET Core, Auth0, and Twilio SendGrid</a></p><p class="paragraph" style="text-align:left;">Discover how to streamline app authentication using .NET Core, Auth0, and Twilio SendGrid in this step-by-step guide. Learn to create a secure MVC web app with email notifications, perfect for enhancing your user registration process.</p><p class="paragraph" style="text-align:left;"><br><br><span style="text-decoration:underline;">P.S</span> If you liked this edition, consider forwarding it to a friend!</p><p class="paragraph" style="text-align:left;">If you’re that friend, <a class="link" href="https://csharpinsights.com/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=to-soft-delete-or-not-to-soft-delete" target="_blank" rel="noopener noreferrer nofollow">subscribe here</a>.</p><hr class="content_break"><hr class="content_break"></div><div class='beehiiv__footer'><br class='beehiiv__footer__break'><hr class='beehiiv__footer__line'><a target="_blank" class="beehiiv__footer_link" style="text-align: center;" href="https://www.beehiiv.com/powered-by?publication_logo=https%3A%2F%2Fmedia.beehiiv.com%2Fcdn-cgi%2Fimage%2Ffit%3Dscale-down%2Cformat%3Dauto%2Conerror%3Dredirect%2Cquality%3D80%2Fuploads%2Fpublication%2Flogo%2Fdea45f58-ec5f-4b08-8830-5b075e9385ac%2Flogo_klein.png%3Fv%3D1779225549&publication_name=C%23+Insights&utm_campaign=f3980c1f-7b3e-4283-ba15-770d70d0bb76&utm_medium=post_rss&utm_source=c_insights">Powered by beehiiv</a></div></div>
  ]]></content:encoded>
</item>

      <item>
  <title> ⚙ Advanced Debugging In C#</title>
  <description>Explore EFCore updates, .NET 9 Preview 7, dynamic FormattableString instances, and more in this week’s roundup of tech insights and tools!</description>
      <enclosure url="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/3b8a11d8-3100-4716-9f8d-4878f97086ef/beehiiv_banner.png" length="39881" type="image/png"/>
  <link>https://newsletter.csharpinsights.com/p/advanced-debugging-in-c</link>
  <guid isPermaLink="true">https://newsletter.csharpinsights.com/p/advanced-debugging-in-c</guid>
  <pubDate>Wed, 21 Aug 2024 11:00:00 +0000</pubDate>
  <atom:published>2024-08-21T11:00:00Z</atom:published>
  <content:encoded><![CDATA[
    <div class='beehiiv'><style>
  .bh__table, .bh__table_header, .bh__table_cell { border: 1px solid #C0C0C0; }
  .bh__table_cell { padding: 5px; background-color: #FFFFFF; }
  .bh__table_cell p { color: #2D2D2D; font-family: 'Helvetica',Arial,sans-serif !important; overflow-wrap: break-word; }
  .bh__table_header { padding: 5px; background-color:#F1F1F1; }
  .bh__table_header p { color: #2A2A2A; font-family:'Trebuchet MS','Lucida Grande',Tahoma,sans-serif !important; overflow-wrap: break-word; }
</style><div class='beehiiv__body'><div class="custom_html"><img src="https://sponsorships.csharpinsights.com/open/375f2af8.gif?opens=1" width="1" height="1"></div><p class="paragraph" style="text-align:center;"><a class="link" href="https://sponsorships.csharpinsights.com/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=advanced-debugging-in-c" target="_blank" rel="noopener noreferrer nofollow"><span style="text-decoration:underline;">Sponsor</span></a> • <a class="link" href="https://newsletter.csharpinsights.com/upgrade?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=advanced-debugging-in-c" target="_blank" rel="noopener noreferrer nofollow"><span style="text-decoration:underline;">Tip me!</span></a></p><p class="paragraph" style="text-align:center;"><b>In partnership with</b></p><div class="image"><img alt="" class="image__image" style="border-radius:0px 0px 0px 0px;border-style:solid;border-width:0px 0px 0px 0px;box-sizing:border-box;border-color:#E5E7EB;" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/1499b16a-60dd-43e3-a0c3-85551bf5ebca/Dometrain_logo.png?t=1723561894"/></div><h3 class="heading" style="text-align:left;" id="premium-courses-from-professional-a">Premium courses from professional authors crafted for the real world</h3><div class="image"><img alt="" class="image__image" style="border-radius:0px 0px 0px 0px;border-style:solid;border-width:0px 0px 0px 0px;box-sizing:border-box;border-color:#E5E7EB;" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/22f1b527-cb5b-46e4-84e0-b6beca61149e/domtrainer_pro.jpg?t=1723561937"/></div><p class="paragraph" style="text-align:left;">Join Nick Chapsas and his team of expert authors and learn about .NET, C#, Clean Architecture, Domain-Driven Design, and much more on Dometrain!</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://sponsorships.csharpinsights.com/redirect/uzjykr5h54dbswt4f1b107tro8h?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=advanced-debugging-in-c" target="_blank" rel="noopener noreferrer nofollow">Browse Courses</a></p><hr class="content_break"><p class="paragraph" style="text-align:left;">Hi! ✌️</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://code-maze.com/csharp-advanced-debugging/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=advanced-debugging-in-c" target="_blank" rel="noopener noreferrer nofollow">Advanced Debugging In C#</a></p><p class="paragraph" style="text-align:left;">Master advanced debugging in C# with this comprehensive guide, exploring conditional breakpoints, tracepoints, hit counts, and more using Visual Studio 2022.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://devblogs.microsoft.com/dotnet/dotnet-9-preview-7/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=advanced-debugging-in-c" target="_blank" rel="noopener noreferrer nofollow">.NET 9 Preview 7 Is Now Available!</a></p><p class="paragraph" style="text-align:left;">Check out the latest .NET 9 Preview 7, packed with major enhancements across .NET Runtime, SDK, C#, ASP.NET Core, Blazor, and .NET MAUI.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://steven-giesel.com/blogPost/f824cfce-2da4-4037-9f4e-ff652f0ee124/formattablestringfactory-creating-dynamic-formattablestring-instances?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=advanced-debugging-in-c" target="_blank" rel="noopener noreferrer nofollow">FormattableStringFactory - Creating Dynamic FormattableString Instances</a></p><p class="paragraph" style="text-align:left;">Discover how the FormattableStringFactory in C# enables the creation of dynamic, safe SQL queries with Entity Framework Core, preventing SQL injection attacks.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://adamstorr.co.uk/blog/my-love-hate-relationship-with-pattern-matching/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=advanced-debugging-in-c" target="_blank" rel="noopener noreferrer nofollow">My Love Hate Relationship With Pattern Matching</a></p><p class="paragraph" style="text-align:left;">This article delves into how to effectively balance the use of pattern matching and extension methods, ensuring code clarity and maintainability without sacrificing the power of modern syntax.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://blog.ploeh.dk/2024/08/19/zippers/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=advanced-debugging-in-c" target="_blank" rel="noopener noreferrer nofollow">Zippers</a></p><p class="paragraph" style="text-align:left;">Explore how Zippers, a functional data structure enabling multidirectional navigation, can be implemented in C#—even though it&#39;s uncommon in imperative languages. This series offers a hands-on exercise in porting Haskell concepts to C#, enhancing your functional programming understanding.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://khalidabuhakmeh.com/how-to-pick-the-right-constructor-when-using-activatorutilities-in-dotnet?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=advanced-debugging-in-c" target="_blank" rel="noopener noreferrer nofollow">How To Pick The Right Constructor When Using ActivatorUtilities In .NET</a></p><p class="paragraph" style="text-align:left;">This article provides practical examples and introduces the ActivatorUtilitiesConstructor attribute to ensure the correct constructor is called, simplifying dependency injection in your projects.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://www.cazzulino.com/dotnet-retest.html?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=advanced-debugging-in-c" target="_blank" rel="noopener noreferrer nofollow">How To Run Dotnet Tests With Automatic Smart Retry</a></p><p class="paragraph" style="text-align:left;">Introducing dotnet-retest, a new global tool designed to smartly retry flaky dotnet tests without complex scripting.</p><p class="paragraph" style="text-align:left;"><br><br><span style="text-decoration:underline;">P.S</span> If you liked this edition, consider forwarding it to a friend!</p><p class="paragraph" style="text-align:left;">If you’re that friend, <a class="link" href="https://csharpinsights.com/?utm_source=newsletter.csharpinsights.com&utm_medium=newsletter&utm_campaign=advanced-debugging-in-c" target="_blank" rel="noopener noreferrer nofollow">subscribe here</a>.</p><hr class="content_break"><hr class="content_break"></div><div class='beehiiv__footer'><br class='beehiiv__footer__break'><hr class='beehiiv__footer__line'><a target="_blank" class="beehiiv__footer_link" style="text-align: center;" href="https://www.beehiiv.com/powered-by?publication_logo=https%3A%2F%2Fmedia.beehiiv.com%2Fcdn-cgi%2Fimage%2Ffit%3Dscale-down%2Cformat%3Dauto%2Conerror%3Dredirect%2Cquality%3D80%2Fuploads%2Fpublication%2Flogo%2Fdea45f58-ec5f-4b08-8830-5b075e9385ac%2Flogo_klein.png%3Fv%3D1779225549&publication_name=C%23+Insights&utm_campaign=1d9a75b6-47a4-4193-b472-96d83dd0f6d1&utm_medium=post_rss&utm_source=c_insights">Powered by beehiiv</a></div></div>
  ]]></content:encoded>
</item>

  </channel>
</rss>
