π Week 44
Deleting A Non-Existent File In Python
[Python]
In some earlier posts, βWhat Happens When You Do File.Delete For A Non-Existent File In C# & .NETβ and βWhat Happens When You Delete A Non-Existent File In Javaβ, we looked at how deletion of non existent files was treated in .NET and Java.
Programatic File And Directory HouseKeeping In C# & .NET
[C#, .NET]
In an earlier post, βWhat Happens When You Do File.Delete For A Non-Existent File In C# & .NETβ, I mentioned working on a utility that generated and processed some files.
What Happens When You Delete A Non-Existent File In Java
[Java]
In yesterdayβs post, βWhat Happens When You Do File.Delete For A Non-Existent File In C# & .NETβ, we looked at the intriguing fact that in .NET trying to delete a file that does not exist will not throw an exception.
π Week 43
What Happens When You Do File.Delete For A Non-Existent File In C# & .NET
[C#, .NET]
Was recently writing a small utility that needed to generate some files, process them, add them to a zip archive, and then delete them.
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 Microsoft 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!
π Archives ...