Why does .NET have 5 version of a Timer class? Because reasons… but don’t worry because .NET 6 adds a 6th version called PeriodTimer. Let’s take a look at the new PeriodTimer API and how it compares to the traditional System.Threading.Timer API.
Azure Container Apps gives us yet another way to deploy containers to Azure. The service is in early previews but we’re going to take it for a test drive here by deploying an ASP.NET Core 6 Minimal APIs to Azure Container Apps. Let’s dive in to see what we like about the service and what we think this will need to be useful in a production setting.
Azure Container Apps - https://azure.microsoft.com/en-us/services/container-apps/#overview
In this episode we start a series on streams, Kafka and Redis
The new project templates in .NET 6 make use of Top Level statements, a feature that was introduced in C#9. The code generated by these new templates looks quite a bit different when compared to .NET 5 and you might be asking yourself ‘Where is my Program Main method!??’. Let’s dig in and find out!
Top-Level Statements - https://docs.microsoft.com/en-us/dotnet/csharp/whats-new/tutorials/top-level-statements
.NET 6 Project Template Changes - https://docs.microsoft.com/en-us/dotnet/core/tutorials/top-level-templates
ILSpy VS Code Extension - https://marketplace.visualstudio.com/items?itemName=icsharpcode.ilspy-vscode
.NET 6 and Visual Studio 2022 come with new and, very interesting, project templates. In this video we take a look at the templates and where everything went.
In a previous episode, we looked at some new LINQ methods coming to .NET 6 (Chunk, MinBy, MaxBy). There’s even more LINQ goodness coming to .NET 6 with helpful overloads to existing LINQ Methods (FirstOrDefault, SingleOrDefault, LastOrDefault, ElementAtOrDefault, Take, ElementAt).
Previous Episode: New LINQ Methods in .NET 6 https://youtu.be/c0VwTzQ2gUQ
We are joined today by Dylan Smith who walks us through building out our own github actions in C# using his new toolkit.
The actions we built: https://github.com/stimms/FibonacciAction
Test repo: https://github.com/stimms/FibTest
Source repository: https://github.com/OctoGeeks/dotnet-action-template
Azure Blob Storage supports lifecycle rules which can move your blob between different tiers saving you money. In this episode we cover how to set these rules up by hand and in terraform
.NET 6 introduce some helpful new LINQ extension methods (Chunk, MaxBy and MinBy).