Skip to main content
davetransom avatar

davetransom

4 packages

Author Trust

Growing58/100
4
Packages
3.7M
Total DLs
Sort:

4 packages

CSharpVitamins.ShortGuid package icon

CSharpVitamins.ShortGuid

Dave Transom

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.7M4 versionsGuid, ShortGuid, Identifiers +2
CSharpVitamins.SmtpPickupDirectory package icon

CSharpVitamins.SmtpPickupDirectory

Dave Transom

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

12.5K1 versionSMTP
CSharpVitamins.Tabulation package icon

CSharpVitamins.Tabulation

Dave Transom

`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.7K4 versionsCSV, Text, PlainText
CSharpVitamins.XmlDocumentation.Compatibility package icon

CSharpVitamins.XmlDocumentation.Compatibility

Dave Transom

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

2.6K1 versionmarkdown, xml, build +3