This week we were busy playing around with .NET 5 and migrating our projects. Have you tried it out yet? What did you find was the most impactful feature? But besides that, we’ve read plenty of good articles that deserve attention, from js interop and DI, performance, caching, security, and even some basic C# stuff, there’s something for everyone. Every week we’re amazed by the vast number of different topics and quality articles all around. So take a sip of your favorite brew, sit back, and forget about the crazy world for a while.
.NET and C#
- Call anonymous C# functions from JS in Blazor WASM [blog.elmah.io]
Calling C# functions from JavaScrip can be beneficial if we want to integrate our C# code with the existing JavaScript libraries. Kristoffer Strube shows us how we can do that on a simple JS library, Popper, so give it a read if you’re interested in JS interop in Blazor. - Resolve Multiple Types In ASP.NET Core [khalidabuhakmeh.com]
Did you know you can resolve multiple types to a single interface with the built-in ASP.NET Core mechanisms? If not, this article by Khalid Abuhakmeh is a good place to start and learn more about it.
Worthy Reads
- Restoring a Deleted Project in Azure DevOps – Video Tip [dailydotnettips.com]
- Coding Faster with the dotNetTips Utility: November 2020 Update [dotnettips.wordpress.com]
- Using Microsoft Graph API in ASP.NET Core [damienbod.com]
- How to add a Startup class to Azure Functions [dotnetthoughts.net]
- C# in Simple Terms – Attributes and Reflection [exceptionnotfound.net]
- C# in Simple Terms – Tuples and Anonymous Types [exceptionnotfound.net]
- Loading Certificates From Azure Key Vault In .NET (And Getting It Working In Azure App Service) [dotnetcoretutorials.com]
- Migrate ASP.NET Core Web API Project from 3.1 to 5 [codingsonata.com]
- The Complexity of Caching [codeopinion.com]
- Generating Self Signed Certificates For Unit Testing In C# [dotnetcoretutorials.com]
- Queue vs List Performance In C# [dotnetcoretutorials.com]
- Process.WaitForExitAsync is not the async equivalent of Process.WaitForExit in .NET 5 [www.meziantou.net]
- Build A Giphy Search With ASP.NET Core [khalidabuhakmeh.com]
- Tips, tricks, and edge cases: Deploying ASP.NET Core applications to Kubernetes – Part 12 [andrewlock.net]
- Using OpenAPI Auto-Generated Clients in ASP.NET Core [markheath.net]
Live & Presentation
- Monsters Weekly 191 – C# 9 Pattern Matching [aspnetmonsters.com]
- Episode 170 – Michael Jolley on JavaScript, TS, Blazor, etc. [6figuredev.com]
Other Interesting Articles
- Your dotnet outdated is outdated! Update and help keep your .NET projects up to date [www.hanselman.com]
- Vertical Slice Example Updated to .NET 5 [jimmybogard.com]
- Synthetic Data Generation. Part 4: Tools [codingsight.com]
- SpaceX success proves software rewrites are a terrible idea [www.mobilize.net]
- How to change the background of your Windows Terminal settings [www.hanselman.com]
On Programming and Life
- If You Feel Like Giving Up WATCH THIS NOW [simpleprogrammer.com]
- Creating a question friendly environment [cwww.hanselman.com]
Weekly Dose of Humor
- When the entire team is working on the same bug and the intern fixes it unintentionally [thecodinglove.com]
- When a client sends me an email full of emojis [thecodinglove.com]
- When I edit a file directly in production [thecodinglove.com]
We hope you’ve enjoyed the articles this week. If you haven’t done so yet, please subscribe to get notified about future newsletter issues.
Have a great weekend!