Orleans.TestingHost Namespace

Classes

AppDomainSiloHandle

Represents a handle to a silo that is deployed inside a remote AppDomain, but in the same process

AppDomainSiloHost

Allows programmatically hosting an Orleans silo in the curent app domain, exposing some marshable members via remoting.

AppDomainSiloHost.CodeGeneratorOptimizer

Methods for optimizing the code generator.

AppDomainSiloHost.GeneratedAssemblies

Represents a collection of generated assemblies accross an application domain.

FaultInjectionGrainStorage

Fault injection decorator for storage providers. This allows users to inject storage exceptions to test error handling scenarios.

FaultInjectionGrainStorageFactory

Factory to create FaultInjectionGrainStorage

FaultInjectionGrainStorageOptions

Options for fault injection grain storage

FaultInjectionStorageProvider<TStorage>

Fault injection decorator for storage providers. This allows users to inject storage exceptions to test error handling scenarios.

FaultInjectionStorageProviderConfigurationExtensions

Extension methods for configuring a FaultyMemoryStorage

FaultyMemoryStorage

A memory storage provider that supports injection of storage exceptions.

InProcessSiloHandle

Represents a handle to a silo that is deployed in the same process and AppDomain.

LogConsistencyProviderConfiguration

A static class with functionality shared by various log-consistency provider tests.

RandomlyInjectedInconsistentStateException

Represents a randomly injected InconsistentStateException.

RandomlyInjectedStorageException

Represents a randomly injected storage exception.

SiloBuilderExtensions

Extension methods for ISiloBuilder.

SiloHandle

Represents a handle to a silo that is remotely deployed

SiloHostBuilderExtensions
StandaloneSiloHandle

A silo handle and factory which spawns a separate process for each silo.

StandaloneSiloHost

The entry point for standalone silo processes. See StandaloneSiloHandle.

StorageFaultGrain

Grain that tracks storage exceptions to be injected.

TestCluster

A host class for local testing with Orleans using in-process silos. Runs a Primary and optionally secondary silos in separate app domains, and client in the main app domain. Additional silos can also be started in-process on demand if required for particular test cases.

TestClusterBuilder

Configuration builder for starting a TestCluster.

TestClusterExtensions

Extension methods for test clusters.

TestClusterHostFactory

Utility for creating silos given a name and collection of configuration sources.

TestClusterNetworkHelper

Methods for assisting in networking configuration for test clusters.

TestClusterOptions

Configuration options for test clusters.

TestClusterOptions.FallbackOptions

Extended options to be used as fallbacks in the case that explicit options are not provided by the user.

TestClusterPortAllocator

Default ITestClusterPortAllocator implementation, which tries to allocate unused ports.

TestingClientOptions

Client options to use in TestingSiloHost

TestingSiloHost

Important note: TestingSiloHost will be eventually deprectated. It is recommended that you use TestCluster instead. A host class for local testing with Orleans using in-process silos.

Runs a Primary and Secondary silo in seperate app domains, and client in the main app domain. Additional silos can also be started in-process if required for particular test cases.

TestingSiloOptions

Silo options to use in TestingSiloHost

TestSiloSpecificOptions

Configuration overrides for individual silos.

Interfaces

IClientBuilderConfigurator

Allows implementations to configure the client builder when starting up each silo in the test cluster.

IHostConfigurator

Allows implementations to configure the host builder when starting up each silo in the test cluster.

ISiloBuilderConfigurator

Allows implementations to configure the host builder when starting up each silo in the test cluster.

ISiloConfigurator

Allows implementations to configure the silo builder when starting up each silo in the test cluster.

IStorageFaultGrain

Grain that tracks storage exceptions to be injected.

ITestClusterPortAllocator

Functionality for finding unused ports.

Enums

ConnectionTransportType

Describe a transport method