/// <summary> /// Asynchronously creates an application from an application package. /// </summary> /// <param name="name"> /// Name of the application to create. /// </param> /// <returns> /// An object representing the application created. /// </returns> /// <remarks> /// This method uses the <a href="http://goo.gl/SzKzNX">POST /// apps/local</a> endpoint to construct the <see cref="Application"/> /// object it returns. /// </remarks> public async Task<Application> InstallApplicationAsync(string name, string path, bool update = false) { var resource = new Application(this.Context, this.Namespace, name); await resource.InstallAsync(path, update); return resource; }