Click or drag to resize
AlchemyResourceGroupAddWebApiProxy Method
Adds the web api JavaScript proxy file to the file of this resource group and attaches necessary dependencies. The proxy is an automatically built JavaScript API that allows you to call your plugin's WebAPI controllers as well as some other server side utilities like getting your custom configuration client settings.
Note Note
You do not have to add a dependency to the Alchemy Core resource group via Dependencies.AddAlchemyCore() as the proxy already has a dependency on it.

Namespace: Alchemy4Tridion.Plugins.GUI.Configuration
Assembly: Alchemy4Tridion.Plugins (in Alchemy4Tridion.Plugins.dll) Version: 1.0.0.0 (0.7.0.0)
Syntax
C#
public void AddWebApiProxy()
Remarks
You can call AddWebApiProxy anywhere within your ResourceGroup's constructor. It will always be placed at the top of your dependencies.
See Also