public StandaloneAzureLocalResourceSourceTests() : base(DirectoryType.Account) { _standaloneConfiguration = new StandaloneConfiguration { ServiceDefinitionPath = "ServiceDefinition.csdef", RoleName = "TestWebRole" }; }
public EnvironmentDefinition( AzureEnvironment azureEnvironment, HostingType hostingType, StandaloneConfiguration standaloneConfiguration) { _azureEnvironment = azureEnvironment; _hostingType = hostingType; _standaloneConfiguration = standaloneConfiguration; }
public LightBlueAppDomainContext(string configurationPath, string roleName, bool useHostedStorage) { _roleName = roleName; var configuration = new StandaloneConfiguration { ConfigurationPath = configurationPath, RoleName = roleName, UseHostedStorage = useHostedStorage, }; _settings = new StandaloneAzureSettings(configuration); }
public void InitializeLogicalContext(string configurationPath, string roleName, bool useHostedStorage) { if (IsInitialized()) { throw new InvalidOperationException("Logical call context has already been initialized for this thread."); } Config = new StandaloneConfiguration { ConfigurationPath = configurationPath, RoleName = roleName, UseHostedStorage = useHostedStorage, }; }
public LightBlueAppDomainContext(string configurationPath, string serviceDefinitionPath, string roleName, bool useHostedStorage) { _roleName = roleName; var configuration = new StandaloneConfiguration { ConfigurationPath = configurationPath, ServiceDefinitionPath = serviceDefinitionPath, RoleName = roleName, UseHostedStorage = useHostedStorage, }; _settings = new StandaloneAzureSettings(configuration); _localResources = new StandaloneAzureLocalResourceSource(configuration, StandaloneEnvironment.LightBlueDataDirectory); }