public TheSessionStateManager(TheServiceHostInfo pSiteID)
 {
     MySite          = pSiteID;
     MySessionStates = new TheStorageMirror <TheSessionState>(TheCDEngines.MyIStorageService)
     {
         IsRAMStore = true, BlockWriteIfIsolated = true
     };
     MySessionStates.SetRecordExpiration(TheBaseAssets.MyServiceHostInfo.SessionTimeout, sinkExpired);
     MySessionStates.InitializeStore(true);
 }
Exemplo n.º 2
0
        public override void UpdateServiceHostInfo(TheServiceHostInfo shi)
        {
            shi.Title             = "My-Relay";
            shi.ApplicationTitle  = "My Relay Portal";
            shi.ApplicationName   = "My-Relay";
            shi.SiteName          = "https://www.my-relay.com";
            shi.VendorName        = "C-Labs";
            shi.VendorUrl         = "http://www.mycompany.com";
            shi.Description       = "The My-Relay Service";
            shi.ISMMainExecutable = "SampleWorkerService";
            shi.cdeMID            = CU.CGuid("{AA2cde02-413B-401A-80BC-BAA04814145D}"); //Unique SHI cdeMID for TLS
            shi.VendorID          = CU.CGuid("{7B8ED692-DD7D-40BD-9B98-2266CB0C645F}"); //Vendor Guid for TLS/SVS

            shi.AddManifestFiles(new List <string>
            {
            });

            StartupLog?.Log("SHI was Updated by Host");
        }
Exemplo n.º 3
0
 public virtual void UpdateServiceHostInfo(TheServiceHostInfo shi)
 {
 }