Class SmartDeploymentBase
Inheritance
System.Object
SmartDeploymentBase
Assembly: IronPdf.dll
Syntax
public abstract class SmartDeploymentBase : Object, IDeployment
SmartDeploymentBase is the object IronPDF C# code works with for deployment. It is part of the IronPDF deployment API.
SmartDeploymentBase matters when an application needs to configure or invoke deployment from C# code. The class encapsulates the related options and behavior in a single object that is set up once and reused across render or processing calls. Typical scenarios include batch generation pipelines, templated document workflows, and integration with existing C# document services.
To use SmartDeploymentBase, instantiate or obtain it from the relevant entry point in the IronPDF C# API. Key properties include ActualPath, Assembly, AssemblyName, DeploymentConfigFileName. Assign options or invoke methods on the instance to configure or perform the operation. The base URLs covers typical usage in C# end to end.
using IronPdf;
// Obtain SmartDeploymentBase from the relevant entry point in the IronPDF API
void Configure(SmartDeploymentBase instance)
{
var current = instance.ActualPath;
instance.CheckAssemblies();
}
For the broader workflow, see the IronPDF C# documentation for related how-to guides and examples. For broader context, the deployment portion of the IronPDF C# API contains related types that work with SmartDeploymentBase directly. SmartDeploymentBase exposes additional members beyond those highlighted above; the reference tables on this page list the full set. In application code, treat SmartDeploymentBase as a configured object that is constructed once and reused across operations rather than instantiated per call. Configuration is generally idempotent: assigning the same property value twice has the same effect as assigning it once. For diagnostic purposes, inspect the relevant SmartDeploymentBase property after each operation to confirm the configured state. See the constructors, properties, and methods tables below for the complete API surface of SmartDeploymentBase. Application code typically obtains or instantiates a single SmartDeploymentBase and shares it across multiple IronPDF operations rather than recreating it per call.
Constructors
SmartDeploymentBase(String)
Declaration
protected SmartDeploymentBase(string directory_in)
Parameters
| Type |
Name |
Description |
| System.String |
directory_in |
|
Fields
directory
Declaration
protected readonly string directory
Field Value
| Type |
Description |
| System.String |
|
Properties
ActualPath
Declaration
public string ActualPath { get; }
Property Value
| Type |
Description |
| System.String |
|
Assembly
Declaration
public virtual Assembly Assembly { get; set; }
Property Value
| Type |
Description |
| System.Reflection.Assembly |
|
AssemblyName
Declaration
public abstract string AssemblyName { get; }
Property Value
| Type |
Description |
| System.String |
|
DeploymentConfigFileName
Declaration
public virtual string DeploymentConfigFileName { get; }
Property Value
| Type |
Description |
| System.String |
|
Deployments
Declaration
public List<IDeployment> Deployments { get; }
Property Value
| Type |
Description |
| System.Collections.Generic.List<IronSoftware.Deployment.IDeployment> |
|
IsDeployed
Declaration
public bool IsDeployed { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
Name
Declaration
public abstract string Name { get; }
Property Value
| Type |
Description |
| System.String |
|
OriginalAssemblyName
Declaration
public virtual string OriginalAssemblyName { get; }
Property Value
| Type |
Description |
| System.String |
|
Path
Declaration
public string Path { get; }
Property Value
| Type |
Description |
| System.String |
|
VersionFactory
Declaration
public abstract BaseVersionFactory VersionFactory { get; }
Property Value
Methods
CheckAssemblies(String)
Declaration
public virtual void CheckAssemblies(string path)
Parameters
| Type |
Name |
Description |
| System.String |
path |
|
Cleanup()
Declaration
Deploy()
Declaration
public virtual void Deploy()
Deploy(Boolean)
Declaration
public virtual void Deploy(bool download)
Parameters
| Type |
Name |
Description |
| System.Boolean |
download |
|
ExecuteDeploymentCommands(IDeployment)
Declaration
public virtual void ExecuteDeploymentCommands(IDeployment deployment)
Parameters
| Type |
Name |
Description |
| IronSoftware.Deployment.IDeployment |
deployment |
|
GetDeploymentConfiguration(IDeployment)
Declaration
protected virtual DeploymentConfiguration GetDeploymentConfiguration(IDeployment deployment)
Parameters
| Type |
Name |
Description |
| IronSoftware.Deployment.IDeployment |
deployment |
|
Returns
| Type |
Description |
| IronSoftware.Deployment.DeploymentConfiguration |
|
Declaration
public abstract string GetPlatformSpecificErrorMessage(Exception e)
Parameters
| Type |
Name |
Description |
| System.Exception |
e |
|
Returns
| Type |
Description |
| System.String |
|
LoadAssemblies(String)
Declaration
public abstract void LoadAssemblies(string path)
Parameters
| Type |
Name |
Description |
| System.String |
path |
|
ToString()
Declaration
public override string ToString()
Returns
| Type |
Description |
| System.String |
|