Skip to main content
davetransom avatar

davetransom

NuGet publisher profile

Packages
4
Total Downloads
3.5M
3,461,739

Packages (4)

CSharpVitamins.ShortGuid package icon

CSharpVitamins.ShortGuid

A convenience wrapper struct for dealing with URL-safe Base64 encoded globally unique identifiers (GUID), making a shorter string value (22 vs 36 characters long). As of version 2.0.0, `ShortGuid` performs a sanity check when decoding strings to ensure they haven't been tampered with, i.e. allowing the end of a Base64 string to be tweaked where it still produces that same byte array to create the underlying Guid. Effectively there is "unused space" in the Base64 string which is ignored, but will now result in an `FormatException` being thrown. ShortGuid will never produce an invalid string, however if one is supplied, it could result in an unintended collision where multiple URL-safe Base64 strings can point to the same Guid. To avoid this uncertainty, a round-trip check is performed to ensure a 1-1 match with the input string. Stick with version 1.1.0 if you require the old behaviour with opt-in strict parsing.

3.4M
downloads
CSharpVitamins.SmtpPickupDirectory package icon

CSharpVitamins.SmtpPickupDirectory

Helper library to set your `System.Net.Mail.SmtpClient` drop folder to a web relative location - helps in multi machine/developer setups.

12.5K
downloads
CSharpVitamins.Tabulation package icon

CSharpVitamins.Tabulation

`CharpVitamins.Tabulation` provides helpers to create tabular data with little fuss i.e. Tab or comma separated values (`CsvDefinition`), or padded columns of plain text (via `PlainTextTable`).

7.6K
downloads
CSharpVitamins.XmlDocumentation.Compatibility package icon

CSharpVitamins.XmlDocumentation.Compatibility

Normalizes leading whitespace found in Xml Documentation produced by Visual Studio to play nicer with plain text formats (like Markdown)

2.5K
downloads