Public Shared helper classes and samples
ClipboardUtils.cs:
Helper class with Windows Clipboard functions to get files from FileGroupDescriptorW or FileContents clipboard formats.
BootstrapSiteMapPath.cs:
ASP.NET SiteMapPath class to create Bootstrap Breadcrumb komponent for sitemap defined in Web.sitemap.
ProcessUtil.cs:
Class with RunCommandAs method to run an command under another user credentials.
MailDefinition.cs:
Class for creating or sending email messages based on text or HTML template.
WebApplicationUtil.cs:
Helper class with GetAbsoluteUrl, GetAppRelativeUrl and similar functions for ASP.NET web aplications.
DownloadHandlerUtil.cs:
ASP.NET helper class for writing file content to the HTTP response.
DownloadHandler.cs:
ASP.NET IHttpHandler for downloading files.
SafeSessionAuthenticationModule.cs:
SessionAuthenticationModule with 'Key not valid for use in specified state' error handling.
SignCertificateConfiguration.cs:
Configuration section to set custom Sign certificate.
CertificateUtil.cs:
Helper class to load and validate X509 Certificates from Windows certificate store.
UriHelper.cs:
Uri helper class to get Uri from base and relative uri.
OsVersionInfo.cs:
Class gets information about platform, edition, version of operating system that are currently installed, system's processor and gets concatenated string with description of operating system.
ExceptionExtensions.cs:
Class that contains Exception extension methods.
ClaimsPrincipalExtensions.cs:
Class that contains IClaimsIdentity and IPrincipal extension methods.
RoutingExtensions.cs:
Adds MapHttpHandler method to RouteCollection object.
The code is by Phil Haack and was taken from http://haacked.com/archive/2009/11/04/routehandler-for-http-handlers.aspx.
ADObjectPickerDialog.cs:
Represents a common dialog box to call up the Active Directory object Picker dialog. This dialog can by used to select users and groups or find computers.
SecurityDescriptor.cs:
Helper class to create Security Descriptor from SDDL (Security Descriptor Definition Language) with ACL (Access Control List) strings.
FolderPickerDialog.cs:
Vista style Select Folder dialog.
FileDialogsCOMClasses.cs:
Helper P/Invoke Vista API COM interface interop for Common Dialogs.
CommonDialogNativeMethods.cs:
Helper Vista API imports and types for Common Dialogs.
IsolatedStorageSettings.cs:
Provides a System.Collections.Generic.Dictionary that stores key-value pairs in isolated storage for WPF or Windows Forms.
EventLogLogger.cs:
Log messages to Event Log.
DialogWindow.cs:
Base class for WPF modal dialogs. Adds ControlBox, ShowIcon
DynamicConverter.cs:
Class that allows to perform a cast of any value type to the specific type without inserting boxing/unboxing operations.
Scheduler.cs:
Class for triggering recurring Tasks.
EnumerableReader.cs:
Class that allows access to any IEnumerable<T> source in reader-based API.
AdjacentGroupingExtensions.cs:
Provides the WithAdjacentGrouping extension method with custom implementation of the LINQ GroupBy method, which groups only adjacent elements of the input sequence.
WCFServiceProxy.cs:
Sample WCF Service client proxy class.
UpdateAssemblyFileVersion.cs:
MSBuild task to update File Version in the AssemblyInfo.cs file.
LoggerBuildEngine.cs:
Logger MSBuild BuildEngine for testing class.
AssemblyInfoHelper.cs:
Helper class to update FileVersion in AssemblyInfo.cs file.
SourceControlClient.cs:
Source Control helper class working on TFS current local workspace.
SourceControlHelper.cs:
Source Control helper class working on TFS workspace.