Issue #129 of the Code Maze weekly.
Check out what’s new this week and enjoy the read. We’ve introduced a new section “YouTube” since there are some quality content developers over there as well. Hope you’ll like it.
.NET and C#
- Returning XML from minimal APIs in .NET 6 [andrewlock.net]
One way to return XML from a minimal API in .NET 6 by Andrew Lock. If you need to return XMLs as a response, do check this out. - Minimal API Validation with FluentValidation [khalidabuhakmeh.com]
We’ve covered FluentValidation several times. Khalid Abuhakmeh talks about how we can use it to give minimal APIs access to validation with this excellent library.
Other Great Reads
- A Simple Example of Using a Distributed Cache (Redis) in .NET 6 with API Endpoints [nodogmablog.bryanhogan.net]
- Paging Through Files in an S3 Bucket with .NET [nodogmablog.bryanhogan.net]
- Micro Frontends in Action With ASP.NET Core – Composition via YARP Transforms and Server-Side Includes (SSI) [www.tpeczek.com]
- Async Enumerable in C# (Part 3) [markheath.net]
- Attach and Detach LocalDB Databases [markheath.net]
- Working with Database First Approach in Entity Framework Core [dotnetthoughts.net]
- Replicating Pet Adoption UI in .NET MAUI [askxammy.com]
- Finding the maximum value in an array using vectorization [www.meziantou.net]
- Building a quick Reddit Blazor client without Reddit’s API [blog.elmah.io]
- Add Fido2 MFA to an OpenIddict identity provider using ASP.NET Core Identity [damienbod.com]
- Back to Basics: Custom HTTP Response Header Manipulation in ASP.NET Core [weblog.west-wind.com]
YouTube
- MVVMS… A Better MVVM? Model-View-ViewModel-Services Explained [www.youtube.com]
- C# – Hacking on System.CommandLine [www.youtube.com]
- Validation (w/ FluentValidation) – GRAPHQL API IN .NET w/ HOT CHOCOLATE #10 [www.youtube.com]
- How Do I Balance Design Patterns and Code Complexity? (Fixed Upload) [www.youtube.com]
- Working with Null in .NET 6 and C# 10 [www.youtube.com]
- Intro to Core WCF In 10 Minutes or Less [www.youtube.com]
- Why Do Employers Ask For Work Experience For Entry-Level Jobs? [www.youtube.com]
- Stop choosing the “wrong” .NET version [www.youtube.com]
- SingleOrDefault or FirstOrDefault? When LINQ might harm you [www.youtube.com]
Podcasts
- Monsters Weekly 256 – Generating PDFs in Functions Apps [aspnetmonsters.com]
- WASM Everywhere with Steve Sanderson [www.dotnetrocks.com]
- Site Reliability Engineering – More Evolution of Automation [www.codingblocks.net]
Other Interesting Articles
- Blocking or Non-Blocking API calls? [codeopinion.com]
- Everything old is new again [www.mobilize.net]
- How to choose the right Azure services for your applications—It’s not A or B [azure.microsoft.com]
- What is desktop as a service (DaaS) and how can it help your organization? [azure.microsoft.com]
On Programming & Life
- How to Make a Programming YouTube Channel [simpleprogrammer.com]
- Getting into Coding on Mac: All You Need to Know [simpleprogrammer.com]
Weekly Dose of Humor
- When the console finally returns another error message [thecodinglove.com]
- When they ask me to start coding while the project isn’t defined yet [thecodinglove.com]
- When I just lost thousands of records because of a bad backup [thecodinglove.com]
- When the boss comes into the open space after our messed-up production delivery [thecodinglove.com]