Mattncott 1.0.20

There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Mattncott --version 1.0.20
                    
NuGet\Install-Package Mattncott -Version 1.0.20
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Mattncott" Version="1.0.20" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Mattncott" Version="1.0.20" />
                    
Directory.Packages.props
<PackageReference Include="Mattncott" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Mattncott --version 1.0.20
                    
#r "nuget: Mattncott, 1.0.20"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Mattncott@1.0.20
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Mattncott&version=1.0.20
                    
Install as a Cake Addin
#tool nuget:?package=Mattncott&version=1.0.20
                    
Install as a Cake Tool

main codecov NuGet Version

Mattncott

This library is a collection of common C# Code that are used across many of my projects.

RestClient

The RestClient class provides an interface for common rest operations. This allows for you to intercept for unit testing. The RestClientWrapper is used to wrap the RestSharp functionality. Just add the IRestClient in your dependency injection and use the RegisterRestClient method to register the wrapper.

Examples

TODO Insert examples of RestClient

Encrypted String

The EncryptedString provides a string wrapper for EntityFramework. If you need to store a string encrypted in the database then you can use this class. The provided EncryptedStringConverter allows for this value to be automatically converted for using with EntityFramework and the EncryptedStringConverter also provides Json support with a built in JsonConverter.

Examples

TODO Insert examples of EncryptedString

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Mattncott:

Package Downloads
DotNetLlama

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.22-prerelease.6 416 9/28/2025
1.0.20 335 12/23/2024
1.0.19 226 12/6/2024
1.0.18 221 11/26/2024
1.0.17 170 11/26/2024
1.0.16 162 11/26/2024
1.0.15 164 11/26/2024
1.0.14 170 11/25/2024
1.0.13 162 11/25/2024
1.0.12 188 11/23/2024
1.0.11 169 6/13/2024
1.0.10 165 6/13/2024
1.0.9 162 6/13/2024
1.0.8 173 6/13/2024
1.0.7 159 6/13/2024
1.0.1 167 6/12/2024
1.0.0 165 6/12/2024