Microsoft .NET Connector 3.1 Reference | MuleSoft Documentation
# Microsoft .NET Connector 3.1 Reference
## Default Configuration
### Parameters
Name | Type | Description | Default Value | Required  
---|---|---|---|---  
The name for this configuration. Connectors reference the configuration with this name.  
Connection | 

| The connection types that can be provided to this configuration.  
Expiration Policy |  Expiration Policy | Configures the minimum amount of time that a dynamic configuration instance can remain idle before the runtime considers it eligible for expiration. This does not mean that the platform expires the instance at the exact moment that it becomes eligible. Mule purges the instances as appropriate.  
## External Connection Type
### Parameters
Name | Type | Description | Default Value | Required  
---|---|---|---|---  
Enumeration, one of:
  * Singleton
  * Transient

| The scope of the module  
Grant Full Trust to the .NET assembly | Set Full Trust  
Declared methods only | Set Declared Only  
Include auto generated code | Set Include Auto Generated Code.  
The name of the .NET assembly, for example, `<Company>.<Component>.dll`  
Reconnection |  | When the application is deployed, a connectivity test is performed on all connectors. If set to `true`, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.  
## GAC Connection Type
### Parameters
Name | Type | Description | Default Value | Required  
---|---|---|---|---  
Enumeration, one of:
  * Singleton
  * Transient

| Provide the scope of the module  
Grant Full Trust to the .NET assembly | Set Full Trust.  
Declared methods only | Set Declared Only.  
Include auto generated code | Set Include Auto Generated Code  
Assembly Type | Provide the Fully Qualified Type name, for example, `Namespace.ClassName`.  
Reconnection |  | When the application is deployed, a connectivity test is performed on all connectors. If set to `true`, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.  
## Legacy Connection Type
### Parameters
Name | Type | Description | Default Value | Required  
---|---|---|---|---  
Enumeration, one of:
  * Singleton
  * Transient

| The scope of the module  
Grant Full Trust to the .NET assembly | Set Full Trust.  
Declared methods only | Set Declared Only.  
Include auto generated code | Set Include Auto Generated Code.  
Assembly Type | The fully qualified type name, for example, `Namespace.ClassName`  
Assembly Path | The path of the .NET assembly, for example, `C:\Projects\<Company>.<Component>.dll`  
Reconnection |  | When the application is deployed, a connectivity test is performed on all connectors. If set to `true`, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.  
## Resource Connection Type
### Parameters
Name | Type | Description | Default Value | Required  
---|---|---|---|---  
Enumeration, one of:
  * Singleton
  * Transient

| The scope of the module  
Grant Full Trust to the .NET assembly | Set Full Trust.  
Declared methods only | Set Declared Only  
Include auto generated code | Set Include Auto Generated Code.  
The name of the .NET assembly, for example, `<Company>.<Component>.dll`  
Resource folder | The name of the resource folder  
Reconnection |  | When the application is deployed, a connectivity test is performed on all connectors. If set to `true`, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.  
## Operations
## Execute
`<dotnet:execute>`
Returns an object that represents the return value of the invoked method.
### Parameters
Name | Type | Description | Default Value | Required  
---|---|---|---|---  
Configuration | The name of the configuration to use.  
Arguments | The arguments to pass to the called method. | #[payload]  
Target Variable | The name of a variable in which to store the operation’s output.  
Target Value | An expression that evaluates the operation’s output. The expression outcome is stored in the target variable. | #[payload]  
Reconnection Strategy | 
  *   * Reconnect Forever

| A retry strategy in case of connectivity errors  
### For Configurations
  * Default Configuration


### Throws
  * DOTNET:LOADER
  * DOTNET:REQUEST
  * DOTNET:METADATA
  * DOTNET:UNKNOWN
  * DOTNET:RETRY_EXHAUSTED
  * DOTNET:CONNECTIVITY


## Types
### Reconnection
Field | Type | Description | Default Value | Required  
---|---|---|---|---  
Fails Deployment | When the application is deployed, a connectivity test is performed on all connectors. If set to `true`, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.  
Reconnection Strategy | 
  *   * Reconnect Forever

| The reconnection strategy to use.  
### Reconnect
Field | Type | Description | Default Value | Required  
---|---|---|---|---  
How often to reconnect (in milliseconds).  
The number of reconnection attempts to make.  
### Reconnect Forever
Field | Type | Description | Default Value | Required  
---|---|---|---|---  
How often in milliseconds to reconnect.  
### Expiration Policy
Field | Type | Description | Default Value | Required  
---|---|---|---|---  
Max Idle Time | A scalar time value for the maximum amount of time a dynamic configuration instance should be allowed to be idle before it’s considered eligible for expiration.  
Time Unit |  Enumeration, one of:
  * NANOSECONDS
  * MICROSECONDS
  * MILLISECONDS
  * SECONDS
  * MINUTES
  * HOURS

| A time unit that qualifies the Max IdleTime field.  
## See Also
  * Introduction to Anypoint Connectors
  * MuleSoft Help Center