Version 1.0.17

Date 2022-03-24 (967 days ago)
Downloads 471 downloads
NuGet View on NuGet
GitHub View on GitHub
Target Frameworks .NET Standard 1.3 .NET Standard 2.0 .NET 4.5 .NET 4.6 .NET 4.7

#installation">Installation

#changelog">Changelog

  • Introduced new TryGet{Type} extension methods for IHttpQueryString (see #1 and 5d28f87)
    This release introduces a number of extension methods IHttpQueryString for attempting to get values in different types - eg. TryGetBoolean, TryGetInt32and similar.

  • Added null checks to the HttpQueryString.Add and HttpQueryString.Set methods (see c9fc87f)
    The methods now properly handle when being passed a null value.

  • Added Parse methods to the HttpQueryString class, obsoleting the existing ParseQueryString methods (see fc3b31d)
    Having QueryString in the method names feels a bit redundant, so the two ParseQueryString methods have now been marked as obsolete, and two Parse methods have been added to replace them.

  • Added TryParse methods to the HttpQueryString class (see 924dbdb)
    As the Parse methods may fail if passed an invalid string representation of a query string, so the two TryParse methods in this release encapsulates any error handling should the parsing fail.