# PublishAsync Method

## Overloads

| [PublishAsync(String, String)](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IApp.PublishAsync.htm#Qlik_Engine_IApp_PublishAsync_System_String_System_String_) |  | Publishes an app.<br><br>All app objects are published. Generic objects, bookmarks, dimensions and measures inside the app are published. |
| --- | --- | --- |
| [PublishAsync(AsyncHandle, String, String)](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IApp.PublishAsync.htm#Qlik_Engine_IApp_PublishAsync_Qlik_Engine_AsyncHandle_System_String_System_String_) |  | Publishes an app.<br><br>All app objects are published. Generic objects, bookmarks, dimensions and measures inside the app are published. |

[](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IApp.PublishAsync.htm) [](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IApp.PublishAsync.htm)

## PublishAsync(String, String)

Publishes an app.

All app objects are published. Generic objects, bookmarks, dimensions and measures inside the app are published.

### Declaration

```

          Task PublishAsync([QixName("qStreamId")] string streamId, [QixName("qName")] string name = null)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| System.String | streamId | Identifier of the stream. |
| System.String | name | Name of the published app.<br>If this parameter is not set, the engine automatically gives a new name to the published app. |

### Returns

| Type | Description |
| --- | --- |
| System.Threading.Tasks.Task |  |

### Remarks

An app can only be published once and cannot be published to more than one stream.

[](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IApp.PublishAsync.htm) [](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IApp.PublishAsync.htm)

## PublishAsync(AsyncHandle, String, String)

Publishes an app.

All app objects are published. Generic objects, bookmarks, dimensions and measures inside the app are published.

### Declaration

```

          Task PublishAsync(AsyncHandle asyncHandle, [QixName("qStreamId")] string streamId, [QixName("qName")] string name = null)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| [AsyncHandle](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.AsyncHandle.htm) | asyncHandle | Handle to asynchronous method request |
| System.String | streamId | Identifier of the stream. |
| System.String | name | Name of the published app.<br>If this parameter is not set, the engine automatically gives a new name to the published app. |

### Returns

| Type | Description |
| --- | --- |
| System.Threading.Tasks.Task |  |

### Remarks

An app can only be published once and cannot be published to more than one stream.