Version 1.1.54

Date 2023-12-13 (338 days ago)
Downloads 145K downloads
NuGet View on NuGet
GitHub View on GitHub
Target Frameworks .NET Standard 1.1 .NET Standard 1.3 .NET Standard 2.0 .NET 4.5 .NET 4.6 .NET 4.7 .NET 4.8 .NET 5 .NET 6 .NET 7

#installation">Installation

Install via NuGet - either via the .NET CLI:

dotnet add package Skybrud.Essentials --version 1.1.54

or the NuGet Package Manager:

Install-Package Skybrud.Essentials -Version 1.1.54

#changelog">Changelog

  • Compile constants for .NET 5 and .NET 6 should also apply to .NET 7 and .NET 8 (see #44 and 6fe82aa)
    For the v1.1.53 I added .NET 7 as an additional target framework, but forgot updating the compile constants used throughout the package, so large portions of the package weren't part of v1.1.53 when using the .NET 7 build. This release fixes the compile constants so the missing functionality is now is back.

  • Changed compile constants used in the NameValueCollectionExtensions.cs file and similar files (see 8790b87)
    Prior to this commit, the file content has only been enabled when the NET_FRAMEWORK compile constant is set. While the NameValueCollection class isn't available in all target frameworks, it is available from .NET Standard 2.0 and up as well as .NET 5 and up. To also enabled the file content for these target frameworks, we should instead check against the I_CAN_HAS_NAME_VALUE_COLLECTION compile constant.

  • Added ToTitleCase extension methods (see fc2f736)
    The implementation uses .NET's TextInfo.ToTitleCase method to convert a string to title case.

  • Added additional extension methods for "NameValueCollection" (see a93bfd0 and a68aa06)
    This provides some additional functionality for reading and parsing values from a NameValueCollection and also matches similar named extension methods for other collection.