📅 Week 43
Deconstructing A DateTime To Day, Month & Year In C# & .NET
[C#, .NET]
In a previous post, “Deconstructing A DateTime To Day, Month & Year In C# & .NET”, we looked at how to deconstruct a DateTime into its Date and Time components.
Deconstructing A DateTime To Date And Time In C# & .NET
[C#, .NET]
Recently, I ran into a problem where I needed to extract the Date and Time components from a DateTime.
Getting The System Date in Microsoft SQL Server
[SQL Server]
When it comes to getting the current date and time in SQL Server, you have a number of options:
Checking If A Year Is A Leap Year in C# & .NET
[C#, .NET]
A problem you may run into is checking whether a particular year is a leap year.
Passing Date & Time Formats Programmatically In C# & .NET
[C#, .NET]
When formatting a DateTime, a DateOnly or a TimeOnly, you typically pass a format string to help the user interpret the values.
Jekyll Posts Must Have A .md Extension
[Jekyll]
I have mentioned a couple of times that this site is generated using the Jekyll site generator.
📅 Week 42
Timing Out Tests in C# & .NET
[C#, .NET, Testing]
In unit testing, there are scenarios where you want to exit your test run early.
Beware - Average Computation Gotcha With LINQ in C# & .NET
[C#, .NET, LINQ]
If you’ve used .NET in any incarnation, you have doubtlessly used LINQ in some way, shape or form.
Fix - Pushing Packages To Nuget With Special Characters In The API Key
[Nuget]
In some previous posts, “Pushing NuGet Packages To An Online Repository with the NuGet Client” and “Pushing NuGet Packages To An Online Repository with dotnet nuget” we looked at how to push nuget packages to repositories using either the native Nuget client, or the .net tool dotnet nuget.
Edge Auto Restart After Update
[Edge]
Today, after restarting Microsoft Edge after an update, I noticed this in the about screen:
.NET 11 Release Candidate 2 Is Out
[C#, .NET]
The second release candidate for .NET 11 is out!
Parallels Networking Considerations
[Parallels, macOS, Windows]
As I have mentioned a couple of times, my main computer is a MacBook Pro running on macOS Sequoia 15.8.1. It has an M3 Max chip and 64GB of RAM.
How To Generate The Last Date Of Every Month Of A Year With LINQ In C# & .NET
[C#, .NET, LINQ]
I recently need to generate the last day of each month, for some processing in an algorithm.
📅 Week 41
How to Generate The First Day of Every Month Of A Year with LINQ In C# & .NET
[C#, .NET, LINQ]
I recently needed to generate the first day of each month, for some processing in an algorithm.
📅 Week 39
Checking for Other Running Operating Systems in C# & .NET
[C#, .NET]
In previous posts, “Checking If the Operating System Is macOS in C# & .NET”, “Checking If the Operating System Is Linux in C# & .NET”, and “Checking If the Operating System Is Windows in C# & .NET”, we looked at a simpler API to check whether we are running on macOS, Linux and Windows, respectively.
📅 Archives ...