C# Class AzureWebFarm.Services.SyncService

Inheritance: ISyncService
Afficher le fichier Open project: MRCollective/AzureWebFarm Class Usage Examples

Méthodes publiques

Свойство Type Description
SyncWait int

Méthodes publiques

Méthode Description
DeploySitesFromLocal ( ) : void
Dispose ( ) : void
PackageSitesToLocal ( ) : void

Packages sites that are in IIS but not in local temp storage. There are new sites that have been deployed to this instance using Web Deploy.

SyncBlobToLocal ( ) : void
SyncForever ( Func interval ) : void
SyncLocalToBlob ( ) : void
SyncOnce ( ) : void
SyncService ( IWebSiteRepository sitesRepository, ISyncStatusRepository syncStatusRepository, Microsoft.WindowsAzure.CloudStorageAccount storageAccount, string localSitesPath, string localTempPath, IEnumerable directoriesToExclude, IEnumerable sitesToExclude, Func syncEnabled, IISManager iisManager, ILoggerFactory loggerFactory, LoggerLevel logLevel ) : System
UpdateIISSitesFromTableStorage ( ) : void

Méthodes protégées

Méthode Description
OnPing ( ) : void
OnSiteDeleted ( string siteName ) : void
OnSiteUpdated ( string siteName ) : void

Private Methods

Méthode Description
EnumerateLocalEntries ( ) : FileEntry>>.IEnumerable
GetFolderLastModifiedTimeUtc ( string sitePath ) : System.DateTime
IsExcluded ( string topPath ) : bool
UpdateSyncStatus ( string webSiteName, SyncInstanceStatus status, Exception lastError = null ) : void

Method Details

DeploySitesFromLocal() public méthode

public DeploySitesFromLocal ( ) : void
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

OnPing() protected méthode

protected OnPing ( ) : void
Résultat void

OnSiteDeleted() protected méthode

protected OnSiteDeleted ( string siteName ) : void
siteName string
Résultat void

OnSiteUpdated() protected méthode

protected OnSiteUpdated ( string siteName ) : void
siteName string
Résultat void

PackageSitesToLocal() public méthode

Packages sites that are in IIS but not in local temp storage. There are new sites that have been deployed to this instance using Web Deploy.
public PackageSitesToLocal ( ) : void
Résultat void

SyncBlobToLocal() public méthode

public SyncBlobToLocal ( ) : void
Résultat void

SyncForever() public méthode

public SyncForever ( Func interval ) : void
interval Func
Résultat void

SyncLocalToBlob() public méthode

public SyncLocalToBlob ( ) : void
Résultat void

SyncOnce() public méthode

public SyncOnce ( ) : void
Résultat void

SyncService() public méthode

public SyncService ( IWebSiteRepository sitesRepository, ISyncStatusRepository syncStatusRepository, Microsoft.WindowsAzure.CloudStorageAccount storageAccount, string localSitesPath, string localTempPath, IEnumerable directoriesToExclude, IEnumerable sitesToExclude, Func syncEnabled, IISManager iisManager, ILoggerFactory loggerFactory, LoggerLevel logLevel ) : System
sitesRepository IWebSiteRepository
syncStatusRepository ISyncStatusRepository
storageAccount Microsoft.WindowsAzure.CloudStorageAccount
localSitesPath string
localTempPath string
directoriesToExclude IEnumerable
sitesToExclude IEnumerable
syncEnabled Func
iisManager IISManager
loggerFactory ILoggerFactory
logLevel LoggerLevel
Résultat System

UpdateIISSitesFromTableStorage() public méthode

public UpdateIISSitesFromTableStorage ( ) : void
Résultat void

Property Details

SyncWait public_oe static_oe property

public static int SyncWait
Résultat int