Configures the Web API.
Namespace:
Aurigma.DesignAtoms.Configuration
Assembly:
Aurigma.DesignAtoms (in Aurigma.DesignAtoms.dll)
public static void Setup( bool enableCors, IEnumerable<Assembly> controllerAssemblies, TypeRegistrationOrderedDict additionalBindings )
Type: System.Boolean
Iftrue
, enables cross-origin requests. By default, cross-origin requests are disabled.Type: System.Collections.Generic.IEnumerable<Assembly>
The collection of assemblies containing Web API controllers. This parameter isnull
by default.Type: TypeRegistrationOrderedDict
Additional parameters for Dependency Injection. This parameter isnull
by default.