protected virtual void Init( )
        {
            ConnectionStringProvider = new ConnectionStringProvider( );
            StorageConection         = CloudConfigurationManager.GetSetting("app:PacsStorageConnection");

            var supportSSUrl = CloudConfigurationManager.GetSetting("app:supportSelfSignedUrls");

            if (!string.IsNullOrWhiteSpace(supportSSUrl))
            {
                DicomWebServerSettings.Instance.SupportSelfSignedUrls = bool.Parse(supportSSUrl.Trim());
            }
        }
Exemple #2
0
        protected virtual void Init( )
        {
            ConnectionStringProvider = new ConnectionStringProvider( );
            StorageConection         = CloudConfigurationManager.GetSetting("app:PacsStorageConnection");

            var supportPreSignedUrl = CloudConfigurationManager.GetSetting("app:supportPreSignedUrls");

            // For backward compatability - Feb-1-2020
            if (string.IsNullOrEmpty(supportPreSignedUrl))
            {
                supportPreSignedUrl = CloudConfigurationManager.GetSetting("app:supportSelfSignedUrls");
            }

            if (!string.IsNullOrWhiteSpace(supportPreSignedUrl))
            {
                DicomWebServerSettings.Instance.SupportPreSignedUrls = bool.Parse(supportPreSignedUrl.Trim());
            }
        }
 protected virtual void Init( )
 {
     ConnectionStringProvider = new ConnectionStringProvider( );
     StorageConection         = CloudConfigurationManager.GetSetting("app:PacsStorageConnection");
 }