Week 45, 2024
Monday, 4 November 2024 - Sunday, 10 November 2024
What's New in F# 9
Join me with members of the .NET team to celebrate the .NET 9, .NET Aspire 9 and EF Core 9 release on Tue Nov 12. Watch my session: "Migrate your .NET Framework / EF6 "Classic" app to .NET 9 and Azure SQL" on Thu at 15:00 CET #dotnet #efcore pic.x.com/meClJheNy3
.NET 9 will natively support UUID v7 👏 #dotnet These GUIDs have a timestamp embedded so are sortable and thus are a better fit for DBs like PostgreSQL and MySQL (but unfortunately not MSSQL). x.com/i/web/status/1… pic.x.com/K5mFNdDzsp
F# Weekly #45, 2024 – What’s new in F# 9
What was something you made in C# that you’re most proud of to this day.
Int or guid as unique identifier/primary key
.NET Folks Who Work Fully Remote ( From Anywhere )
'you should always use StringBuilder ...' #dotnet Be careful if you get the still common enough advice that you should always use StringBuilder when doing string concatenation from other devs online or in person. SB has initialization and maintenance overhead which means it… x.com/i/web/status/1… pic.x.com/SzvIwgZUHe
The Right Way To Return API Errors in .NET
How dotnet.exe resolves and loads the hostfxr library – Exploring the .NET muxer
Get Ready for .NET Conf 2024!
If you missed it, the MVVM Toolkit 8.4.0 preview now supports partial properties! This means custom accessibility for property accessors, better nullability annotations, compatibility with other generators, AOT support for UWP and WinUI 3, and more! Try it out! 🚀 #csharp #dotnet pic.x.com/g2emFRl63a
.NET MAUI Community Toolkit Monthly Standup, November 2024
The ReSharper and the .NET Tools 2024.3 Release Candidates Are Now Available
Welcome new .NET Foundation Project: MessagePack-CSharp A highly performance-optimized library for serializing .NET data types using MessagePack, a compact and fast binary format. hubs.ly/Q02WRFLj0 #dotnet #csharp pic.x.com/sRdq7lWA7w
.NET 9 v .NET 8 string concatenation benchmarks #dotnet x.com/i/web/status/1… pic.x.com/phAi01CuhJ
Need to search log file(s) for a date/time range? #PowerShell with #regex to find the lines, sort on date & stitch together to make easier. sls "\s(07-11-24 10:3[78]:\d\d)\s*\-\s*(.*$)" C:\Logs\*.log|select @{n='Time';e={$_.Matches.groups[1].value -as… x.com/i/web/status/1… pic.x.com/4wQL6ZT7i6pic.x.com/4wQL6ZT7i6pic.x.com/4wQL6ZT7i6
Everything you need to know about the "required" modifier in #csharp in less than 1 minute 👇 pic.x.com/PpykHhif3S
We made some changes with the Azure functions team to make the .NET APIs use the new builder API pattern. #dotnet #azure #functions pic.x.com/RkZFHDO8vi
Binary in C# for Game Development
DBSCAN Clustering and Anomaly Detection Using C#
Introducing a new, more conversational way to chat with GitHub Copilot
The Legacy Coder's Guide to .NET Conf 2024
Microsoft Introduces Modern Web App Pattern for .NET: Accelerating App Modernization to the Cloud
String Concatenation in .NET 9 benchmarks There are other approaches when we need even better performance but out of the common approaches shown below StringJoin kicks ass. #dotnet x.com/i/web/status/1… pic.x.com/J998yp7sBN
I Just Discovered Primary Constructors in .NET
Get started with SignalR tutorial ⬇️ #dotnet Getting started with SignalR is likely easier than you think. Here's a nice tutorial (link in 2nd tweet) from MS learn which shows us how to ... Create a web project. Add the SignalR client library. Create a SignalR hub. Configure… x.com/i/web/status/1… pic.x.com/MJRcdNvAfz
Starting w/ Visual Studio 17.12 P5, UWP .NET 9 projects will use the new standalone MSIX tooling NuGet package! We decoupled it from WindowsAppSDK to provide a consistent UX for both UWP and WinUI 3 apps and much easier to update! More features coming soon! đź‘€ #csharp #windowsdev pic.x.com/kHxlM48y2U
Learn how to create a Client-Server Application in under 45 Minutes in the new Season of AI
StringSyntax attribute example 💡 #dotnet The StringSyntax Attribute (.NET 7+) allows us to tell Visual Studio what kind of string (e.g. regex, datetime format, JSON etc.) we are working with in order to get correct intellisense and highlighting. Have you used it yet? x.com/i/web/status/1… pic.x.com/HzKcnE5lSV
#PowerShell to get Windows release & build number gpv 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion' LCUVer Cast to [version] type and can then compare with other releases as necessary pic.x.com/wOzzQSfdDqpic.x.com/wOzzQSfdDqpic.x.com/wOzzQSfdDq
#PowerShell 1 liner to join Hyper-V VM to AD domain setting the computer name to be the VM name. Prompts for domain join credentials when running as local admin. In my lab I create new VMs by copying sysprep'd disk to a new VM Add-Computer -NewName (gpv… x.com/i/web/status/1… pic.x.com/wtBhpuHB5F
Stop Using AutoMapper in .NET
elmah.io Blog - .NET Technical tutorials/guides and new features
Take 3! Download any MS Store app and save it as an AppX package using #PowerShell. Now without any 3rd party involvement getting the URLs.🙂 Also works for the newer .exe package type. tinyurl.com/36a87m88 #ConfigMgr #MEMCM #WeAreOnevinn #Intune pic.x.com/C3UrOq6yUS
Increase Observability, Resiliency, and Dev Usability with .NET Aspire
OpenSSF Scorecard for .NET and the NuGet ecosystem
The making of Bring Back Plus/Minus
.@Office365 Compliance officers and eDiscovery people might like how to use #PowerShell to extract and analyze interactions with #Microsoft365 Copilot from a user's mailbox: practical365.com/copilot-intera… pic.x.com/cRBo02WHa5