C# (CSharp) AzureWebFarm.Helpers Namespace

Classes

Name Description
AutoRenewLease Helper library to maintain a lease while in a using block. Attempts to autorenew a 90 second lease every 40 seconds (customisable) rather than indefinitely, meaning the lease isn't locked forever if the instance crashes. Based on https://github.com/smarx/WazStorageExtensions pending a pull request we have sent to this project.
AzureDiagnosticsLogger Redirects all Trace messages to the "Default" TraceSource so that the standard Azure Diagnostics Listener picks up the messages.
AzureDiagnosticsTraceListenerFactory Castle.Core Logger Factory that provides a logger that uses Trace.Write in a way compatible with the Azure Diagnostics Listener.
AzureRoleEnvironment
Constants
DiagnosticsHelper
FilesHelper
LeaseBlobExtensions Set of extension methods to add lease functionality until we can upgrade to the newer Azure storage libraries. Based on https://github.com/smarx/WazStorageExtensions pending a pull request we have sent to this project.