.NET Annotated Monthly | September 2022
Did you know? As of 2020, 64.82% of searches on Google ended without clicking to another web property. People stay in the top half of the first page of search results.
- Announcing .NET Framework 4.8.1
- .NET 6 is now in Ubuntu 22.04
- C# 11 preview: generic math, required members, and more
- Announcing built-in container support for the .NET SDK
- Announcing SynapseML for .NET – Large Scale ML with a Simple API
- Announcing Entity Framework 7 Preview 7: Interceptors!
- ASP.NET Core updates in .NET 7 Preview 7
- Announcing .NET 7 Preview 7
Programing tutorials and tips
.NET tutorials and tips
- Getting Started With Basic Bindings in .NET MAUI and Publishing a .NET MAUI App on Android – From start to finish, Leomaris Reyes has you covered with excellent blog posts about .NET MAUI.
- Enterprise Application Patterns using .NET MAUI – who doesn’t love a good, free, eBook? This one is by Michael Stonis.
- Building “Next Tech Event” using Blazor and RavenDB – (video series) Jessica and Jimmy Engström have published a series of videos on building a “tech event” using Blazor. This month, parts 8 & 9 are the centerpieces focusing on RavenDB.
- Blazor WebAssembly Exception Handling With Error Boundaries – Error checking is an important part of ensuring that code can deal with exceptions without user intervention. Code Maze shows us how to do just that in Blazor.
- ASP.NET Core MVC Views not Resolving Partial Views outside of the default ControllerContext – Rick Strahl found a gotcha in ASP.NET Core, and shared it with the world. It’s tough to troubleshoot views that might not resolve.
- .NET 7 Custom Runtime for AWS Lambda – Not everyone will need a custom runtime for AWS Lambdas. But for those who do, catch this post by Bryan Hogan.
- What are Guard Clauses in .NET – You probably use guard expressions, but have you expanded them to guard entire classes? This technique makes guards easier to manage cross-cutting concerns, as demonstrated by Karthik Chintala.
- Managing Key Vault Secrets from a .NET Console App – It’s easy to keep secrets if you follow these steps by David Giard.
- LINQ explained with sketches – This is a rather nice set of visualizations demonstrating how the various methods in LINQ work. Post by Steven Giesel.
- How to propagate HTTP Headers (and Correlation IDs) using HttpClients in C# – Davide Bellone dissects work by David Fowler on HTTP header propagation. Sometimes you need to forward that data to clients. Davide shows you how.
- Client-Side Logging in .NET MAUI with MetroLog.Maui – This is a nice video by Gerald Versluis on a staple of development: logging. This time, how to do it on the client. Just make sure it’s easy for users of those clients to relay the logs back to the server or QA/support.
- Download Files from Azure Blob Storage with Blazor WebAssembly and ASP.NET Web API and Creating an ASP.NET Core CRUD Web API with Dapper and PostgreSQL – A. Yohan Malshika has published posts on ASP.NEt, Blazor, Dapper, PostgresSQL and a variety of tech that is interesting to .NET developers.
- Securing Web APIs with Azure AD: Building the Server – Let’s not forget the importance of security. Jimmy Bogard shows us how to secure APIs with Azure AD.
- Interact with a GraphQL API from a .NET Core Application – Have you considered GraphQL as an alternative way to query databases? If so, here’s a nice piece showing you how to interact with it in .NET. Post by Nic Raboy
- How to Test a REST API with .NET and xUnit – Ryan Miranda goes back to basics with testing your REST APIs with .NET and xUnit.
A nice thread about new C# 11 features.
So many devs have to generate PDFs, and so the folks at Quest are there to help us out.
Related programming tutorials and tips:
- Talking about Azure Static Web Apps and Serverless hosting with Azure Functions – Sarah Dutkiewicz is all about Azure this month. Check out these intro posts showing what the various Azure services are all about.
- The Azure Developer’s Cheat Sheet – This is a massive repo with large, printable, posters as well as hundreds of links to various Azure developer topics. Bookmark this resource so you can use it as a reference.
- How To Tackle Data Visualization UX: Tips & Tricks – Kathryn Grayson Nanz shows how to approach displaying those data visualizations that end up in UXs.
- How Cloudflare Broke My Build and How I Fixed It – Giorgi Dalakishvili details his recent troubleshooting activities with the AppVeyor build system and Cloudflare.
Pro tip: Level 1000. I’ve seen this bite people far too many times too. Thanks, Brad!
Interesting and cool stuff
We developers would like to think that things like copywriting or editing aren’t mandatory skills to get ahead. Except they are. Here’s some top tips from Amazon, who emphasizes writing as important a skill as engineering.
This sounds about right, given what friends have said about interviews lately.
And finally, the latest from JetBrains
Here’s a chance to catch up on JetBrains news that you might have missed:
Check out our .NET Guide! It’s a learning tool with tons of videos, tips, tricks, and info on a variety of .NET related topics.
Blog posts, webinars, etc..:
- Entity Framework Core and Multiple Database Providers
- ReSharper and Rider 2022.2.2 – More Bug Fixes Delivered
- RiderFlow 2022.1.3 Bug-Fix Update
- Case Study – Housekeeping and Codebase Improvements with dotTrace
- Virtual Formatter – Fixing Tabs versus Spaces and other Problems
- ReSharper and Rider 2022.2.1 Bug Fixes Have Landed
- Pragmatic Event Sourcing in .NET With Marten – Webinar Recording
Sharing is caring! So share content that you find useful with other readers. Don’t keep it to yourself! Send us an email with your suggestions for publication in future newsletters!
Subscribe to Blog updates
Thanks, we've got you!
A Second Set of Bug Fixes: ReSharper 2023.2.2 and Rider 2023.2.2 Are Here!
ReSharper and Rider have just received their second set of bug-fix updates for the 2023.2 release! Let’s take a look at the most important issues that have been resolved in this update. ReSharper For the full list of resolved issues, please refer to our issue tracker. …
ReSharper 2023.3 Early Access Program Begins!
Hello everyone, The Early Access Program for ReSharper 2023.3 has started! Before you download the first EAP build, let’s take a look at what is in store for you. Working with aliases With this first EAP build, we are introducing support for C# 12’s ability for alias directives to refer…
Rider Kicks Off the Early Access Program for the 2023.3 Release!
The Early Access Program for Rider 2023.3 has just begun with the release of the Rider 2023.3 EAP 1 build. There are several ways to get your hands on it: Download and install them from our website. Use the Toolbox App. Install this snap package from the SnapCraft store if you’re using a c…
Eager, Lazy and Explicit Loading with Entity Framework Core
Entity Framework Core (EF Core) supports a number of ways to load related data. There’s eager loading, lazy loading, and explicit loading. Each of these approaches have their own advantages and drawbacks. In this post, let’s have a quick look at each of these ways to load data for navigational prope…