Issue #149 of the Code Maze weekly.
Check out what’s new this week and enjoy the read.
.NET and C# Top Picks
- The dangers and gotchas of using scoped services in OptionsBuilder [andrewlock.net]
In this blog post, Andrew Lock covers some of the problems we might encounter while working with OptionsBuilder. Some of these might never happen to you, but if they do, you’ll find a solution here. - .NET 7 Update: Raw String Literals in 10 Minutes or Less [www.youtube.com]
Raw String literals are one of the cool features introduced in .NET 7. Tim Corey gives us an example of how they can be used and explains why, despite strange syntax, they can be very useful.
Other Great Reads
- Forcing the Lambda Service to Warm 100 Execution Environments for your Function [nodogmablog.bryanhogan.net]
- A Simple Web API Application that Echoes the Request for any URL [nodogmablog.bryanhogan.net]
- Integrate logging in a ASP.NET Core application using Serilog and Seq [dotnetthoughts.net]
- Creating Containers in .NET 7 with the .NET CLI [dotnetthoughts.net]
- Creating JSON Web Tokens using dotnet user-jwts tool [dotnetthoughts.net]
- Use dev tunnels in Visual Studio to debug your web APIs [dotnetthoughts.net]
- Killing all child processes when the parent exits (Job Object) [www.meziantou.net]
- Build and publish Visual Studio extensions with GitHub Actions [blog.elmah.io]
- Use multiple Azure AD access tokens in an ASP.NET Core API [damienbod.com]
- Swagger OpenAPI Configurations in ASP.NET Core Web API [codingsonata.com]
YouTube
- 7 Awesome New Features in .NET 7 [www.youtube.com]
- C#/Blazor – Rebuilding minesweeper flags [www.youtube.com]
- .NET 7 Update: Required Properties in 10 Minutes or Less [www.youtube.com]
- The new .NET Exception that should NEVER be thrown [www.youtube.com]
- The weirdest way to loop in C# is also the fastest [www.youtube.com]
- What Is Faster? Foreach vs LINQ vs HashSet | 8 Ways To Find Duplicate In Collection [www.youtube.com]
- Boost Performance With The New ExecuteUpdate & ExecuteDelete In EF Core 7 [www.youtube.com]
News & Updates
- .NET MAUI is now available in Visual Studio for Mac 17.4 [devblogs.microsoft.com]
Podcasts
- Securing Existing Applications with Joylynn Kirui [www.dotnetrocks.com]
- RavenDB with Oren Eini [dotnetcore.show]
- Technical Challenges of Scale at Twitter [www.codingblocks.net]
Other Interesting Articles
- Publish docker images to GitHub Container Registry (ghcr) [dotnetthoughts.net]
Programming & Life
- Book notes & reflections: The Making of a Manager [www.scottbrady91.com]
Weekly Dose of Humor
- When I hear the sales team commit to deadlines in a client meeting [thecodinglove.com]
- When my Google search for a bugfix only returns one web page from 2004 [thecodinglove.com]
- When I fixed the intern’s code but actually lost 2 hours to make it work [thecodinglove.com]
- When my code works but I have no idea how [thecodinglove.com]