# AppWithNameOrCreate Method

## Overloads

| [AppWithNameOrCreate(ILocation, String)](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.LocationExtensions.AppWithNameOrCreate.htm#Qlik_Engine_LocationExtensions_AppWithNameOrCreate_Qlik_Engine_ILocation_System_String_) |  | Connect to a Qlik Sense app with the name or create it if it does not exists.<br>This method opens a temporary websocket connection. |
| --- | --- | --- |

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

## AppWithNameOrCreate(ILocation, String)

Connect to a Qlik Sense app with the name or create it if it does not exists. This method opens a temporary websocket connection.

### Declaration

```

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

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| [ILocation](https://help.qlik.com/en-US/sense-developer/November2024/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/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IAppIdentifier.htm) | IAppIdentifier |