# Plugins Development

ActiveReports components can be used as plugins for third-party applications. This topic contains a sample of creating a new application domain, where you can load ActiveReports.

## Content



[ActiveReports components](/activereportsnet/docs/v19.2/devops/features-devops/ar-components) can be used as plugins for third-party applications.

A sample of creating a new application domain, where you can load ActiveReports is shown below:

```
string appDir = Path.GetDirectoryName(GetType().Assembly.CodeBase.Substring(8));
     //grant permission to the untrusted application
     var pset = new PermissionSet(PermissionState.Unrestricted);
     var sandBoxSetup = new AppDomainSetup
          {
               //set the ApplicationBase to a folder
               ApplicationBase = appDir,
               ConfigurationFile = appDir + "....dll.config"                                    
          };
         //create sandboxed application domain
         AppDomain domain = AppDomain.CreateDomain("Sandboxed Domain", null, sandBoxSetup, pset);
```


> type=note
> **Note**: Partial/Medium Trust is obsolete. ActiveReports does not support it anymore.

## See Also

#### Introduction

[Product Requirements](/activereportsnet/docs/v19.2/introduction/product-requirements)

#### DevOps

[Azure and Medium Trust](/activereportsnet/docs/v19.2/devops/features-devops/azure-medium-trust)