Issue #146 of the Code Maze weekly.
Check out what’s new this week and enjoy the read.
.NET and C# Top Picks
- More Efficient Deletes With Entity Framework Core [khalidabuhakmeh.com]
If you work with EF Core, you know deleting entities usually takes two database calls. Khalid Abuhakmeh shows us how we can avoid that. Whether we should delete our entities forever or just do a “soft delete” is a story for another day, but should you need to delete them, this is the article for you. Oh yeah, and new .NET 7 bulk deletes as well! - Switch tenants in an ASP.NET Core app using Azure AD with multi-tenants [damienbod.com]
Damien Bowden teaches us how to switch between tenants in an ASP.NET Core multi-tenant application using a multi-tenant Azure App registration to implement the identity provider.
Other Great Reads
- Handling times for an EV charger [codeblog.jonskeet.uk]
- Using a Distributed Memory Cache with .NET Lambda Functions [nodogmablog.bryanhogan.net]
- Build the modular monolith first [www.fearofoblivion.com]
- Unit and Benchmark Testing with Random Data in .NET 6 & 7 [dotnettips.wordpress.com]
- Boost your Web API Security with These Tips [codingsonata.com]
YouTube
- Code Sharing Tips for .NET MAUI Developers [www.youtube.com]
- The second queue that EVERY message bus needs in .NET [www.youtube.com]
- The BEST way to reset your database for testing in .NET [www.youtube.com]
- How To Apply Global Filters With EF Core Query Filters [www.youtube.com]
- How To Use The Specification Design Pattern With EF Core 6 [www.youtube.com]
News & Updates
- .NET 7 Performance Improvements in .NET MAUI [devblogs.microsoft.com]
- Performance improvements in ASP.NET Core 7 [devblogs.microsoft.com]
- Uno Platform 4.6: Hello .NET 7! [platform.uno]
Podcasts
- Making Open Source Work for Everyone with David Whitney [www.dotnetrocks.com]
- OCR and Azure Cognitive Services with Nick Proud [dotnetcore.show]
Other Interesting Articles
- Transforming your organization to cloud-only: Migrating Active Directory identities to cloud identities [jussiroine.com]
- Infographic – Design Principles for a great Azure Solution [dailydotnettips.com]
- Just store UTC? Not so fast! Handling Time zones is complicated. [codeopinion.com]
- Pasting text without formatting [www.meziantou.net]
- SQL Server Unique Constraints [codingsight.com]
- Building a URL shortener in 12 lines of code using Cloudflare Workers [thomaslevesque.com]
Programming & Life
- Things Heard in Development Meetings [dotnettips.wordpress.com]
- The Scoop: Turmoil at Twitter [blog.pragmaticengineer.com]
- Does Knowing Data Structures and Algorithms Benefit a C# Developer? [www.youtube.com]
Weekly Dose of Humor
- When I see all the spelling mistakes in my boss email to the client [thecodinglove.com]
- When I take a look at the intern’s code [thecodinglove.com]
- When I use a library without reading its documentation [thecodinglove.com]
- When all my tickets are closed before I leave for the weekend [thecodinglove.com]