# CreateAppWithName Method

## Overloads

| [CreateAppWithName(ILocation, String)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.LocationExtensions.CreateAppWithName.htm#Qlik_Engine_LocationExtensions_CreateAppWithName_Qlik_Engine_ILocation_System_String_) |  | Create an application with given name.<br>This method opens a temporary websocket connection. |
| --- | --- | --- |

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

## CreateAppWithName(ILocation, String)

Create an application with given name. This method opens a temporary websocket connection.

### Declaration

```

          public static IAppIdentifier CreateAppWithName(this ILocation location, string appName)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| [ILocation](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.ILocation.htm) | location | Location object of the Qlik Sense instance |
| System.String | appName | Application name |

### Returns

| Type | Description |
| --- | --- |
| [IAppIdentifier](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IAppIdentifier.htm) | IAppIdentifier, token to identify an unique app |

### Exceptions

| Type | Condition |
| --- | --- |
| [MethodInvocationException](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.MethodInvocationException.htm) |  |