Issue #140 of the Code Maze weekly.
Check out what’s new this week and enjoy the read.
.NET and C# Top Picks
- How to take an ASP.NET Core website “Down for maintenance” [www.thereformedprogrammer.net]
If you ever need to take the site offline for maintenance, here’s a useful way to do that in ASP.NET Core and even multitenant applications. Written by Jon P Smith. - Repository Pattern With Entity Framework Core [www.youtube.com/c/MilanJovanovicTech]
The repository pattern is one of those patterns that always triggers strong emotions in people. Sometimes it’s considered controversial or in extreme cases even called an anti-pattern. Since things are usually not that black & white, here’s another take by Milan Jovanovic so you can decide whether you want to use it for yourself (hint: it’s worth it).
Other Great Reads
- ASP.NET Core 6: Bring your custom compression provider in gRPC [anthonygiretti.com]
- Using Environment Variables with .NET Lambda Functions [nodogmablog.bryanhogan.net]
- Workaround for “Failed to create template” Error with .NET 7 RC1 and Lambda Functions [nodogmablog.bryanhogan.net]
- Enumeration class in C# using records [josef.codes]
- Implementing Google Web Risk API in ASPNET Core [dotnetthoughts.net]
- Building ASP.NET Core Minimal API in VB.NET [dotnetthoughts.net]
- Writing unsafe .NET code without the unsafe keyword [www.meziantou.net]
- ASP.NET Core Api Auth with multiple Identity Providers [damienbod.com]
- Counting the leading zeroes in a binary number with C# [andrewlock.net]
- Using multiple JSON serialization settings in ASP.NET Core [thomaslevesque.com]
- Testing HttpRequest.Form Variables in Unit Tests for ASP.NET Core Components [weblog.west-wind.com]
- Work around localhost unsecured HTTPS access for Development Sites in Edge [weblog.west-wind.com]
- Getting Started with EF Core, PostgreSQL, and TimescaleDB [khalidabuhakmeh.com]
YouTube
- How to Install Multiple Versions of Xcode on Your Mac [www.youtube.com]
- Let’s Explore .NET MAUI in .NET 7 RC 1 [www.youtube.com]
- Let’s Upgrade an app to .NET 7 RC [www.youtube.com]
- The CORRECT way to implement Retries in .NET [www.youtube.com]
- The .NET 7 feature that gives meaning to your Strings [www.youtube.com]
- 4 Ways To Do Email Uniqueness Check In Domain Layer | DDD, Clean Architecture, .NET 6 [www.youtube.com]
News & Updates
- .NET MAUI in .NET 7 Release Candidate 1 [devblogs.microsoft.com]
- .NET Framework September 2022 Cumulative Update Preview [devblogs.microsoft.com]
- Systemd support is now available in WSL! [devblogs.microsoft.com]
Podcasts
- Monsters Weekly 259 – Faster Azure DevOps Pipelines [aspnetmonsters.com]
- More App Security with Tanya Janca [dotnetcore.show]
- fimi market and The .NET Tech Stack [dotnetcore.show]
Other Interesting Articles
- Azure Virtual Machines vs App Services [michaelscodingspot.com]
- Should you Soft Delete? [codeopinion.com]
Programming & Life
- The Cost of Cloud Security: You Need it, But Can You Afford it? [www.danylkoweb.com]
- How to Become a GREAT Software Engineer (Without a Degree?) [simpleprogrammer.com]
Weekly Dose of Humor
- When I’m waiting for my coworker to end his part so I can finish mine [thecodinglove.com]
- When the prod is down right after my delivery [thecodinglove.com]
- When I finally understand how a framework works [thecodinglove.com]
- When I get 50 errors for 20 lines of code [thecodinglove.com]