CodeBits.WindowsServiceRunner 2.1.3

dotnet add package CodeBits.WindowsServiceRunner --version 2.1.3                
NuGet\Install-Package CodeBits.WindowsServiceRunner -Version 2.1.3                
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="CodeBits.WindowsServiceRunner" Version="2.1.3" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add CodeBits.WindowsServiceRunner --version 2.1.3                
#r "nuget: CodeBits.WindowsServiceRunner, 2.1.3"                
#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.
// Install CodeBits.WindowsServiceRunner as a Cake Addin
#addin nuget:?package=CodeBits.WindowsServiceRunner&version=2.1.3

// Install CodeBits.WindowsServiceRunner as a Cake Tool
#tool nuget:?package=CodeBits.WindowsServiceRunner&version=2.1.3                

Code Bits

Code Bits is a set of useful code blocks that can included in your .NET projects through NuGet. Each code bit is a single source file that gets added to a CodeBits folder in your project when you import it.

Code Bits does not add assemblies to your project.

You can do a search for 'CodeBits' on NuGet.org to view the list of available Code Bits packages.

General code bits

Name Compatibility Description
ByteArrayHelper .NET Framework 3.5 and higher Set of utility extensions for byte arrays.
ByteSizeFriendlyName .NET Framework 3.5 and higher Builds a friendly string representation of a specified byte size value, after converting it to the best matching unit (bytes, KB, MB, GB, etc.).
EnumIterator .NET Framework 3.5 and higher Provides an iterator for traversing through the values of an enum type.
IniFile .NET Framework 3.5 and higher Class to read and modify .INI files.
PasswordGenerator .NET Framework 3.5 and higher Generates a random password.
SaltedHash .NET Framework 3.5 and higher A helper class to generate and validate salted hashes.
ShortGuid .NetStandard 2.1 and higher Shorter, URL-friendly and readable GUID.

Custom collections

Name Description
OrderedCollection<T> An automatically sorted collection that has options to allow/disallow duplicate items and optionally sort in reverse order.
OrderedObservableCollection<T> An automatically sorted observable collection that has options to allow/disallow duplicate items and optionally sort in reverse order.

Windows-specific code bits

Name Description
WindowsServiceRunner Helper class to execute a Windows Service project either as a Console Application or a Windows Service, depending on the project type.
There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.1.3 500 8/29/2021
2.1.2 360 8/29/2021
2.1.1 351 8/29/2021
2.1.0 354 8/29/2021
2.0.0 361 5/11/2021
1.4.0 805 1/14/2019
1.3.0 2,184 11/4/2012
1.2.0 1,430 7/24/2012
1.1.0 1,359 7/14/2012
1.0.0 1,355 7/9/2012