---
title: "Nutrient MAUI SDK 1.1 migration guide"
canonical_url: "https://www.nutrient.io/guides/maui/migration-guides/maui-1-1-migration-guide/"
md_url: "https://www.nutrient.io/guides/maui/migration-guides/maui-1-1-migration-guide.md"
last_updated: "2026-05-30T02:20:01.341Z"
description: "Discover essential guidelines for upgrading to Nutrient 1.1. Learn about new document loading methods and viewer configuration for MAUI applications."
---

This article provides a set of guidelines for migrating from version 1.0 to version 1.1 of Nutrient MAUI SDK.

## Opening a document

With the introduction of customization APIs for Nutrient Viewer, we updated the method signature for opening a document. The new signature now accepts a configuration with which the viewer should be loaded. The new method signatures are as follows:

```csharp

Task<IDocument> LoadDocumentFromAssetsAsync(
  string assetDocumentPath, IViewerConfiguration configuration);

Task<IDocument> LoadDocumentFromBufferAsync(
  byte[] buffer, IViewerConfiguration configuration);

Task<IDocument> LoadDocumentFromBase64StringAsync(
  string documentAsBase64String, IViewerConfiguration configuration);

Task<IDocument> LoadDocumentFromURLAsync(
  string url, IViewerConfiguration configuration);

Task<IDocument> LoadDocumentAsync(
  string fullPath, IViewerConfiguration configuration);

```

The `IViewerConfiguration` interface is used to configure the viewer. You can create a configuration using the `IController.CreateViewerConfiguration` method. Viewer configuration that's passed to the methods is optional. If you want to use the default configuration, you can pass `null`.

Viewer configuration cannot be modified once the viewer is loaded. If you want to change the configuration, you need to reload the viewer with the new configuration.

Here’s an example of how to open a document from application assets:

```csharp

string assetDocumentPath = "subFolder/document.pdf"; // Path to the document in the Assets folder.
try
{
    var config = PSPDFKitController.CreateViewerConfiguration();
    config.ToolbarPlacement = ToolbarPlacement.Bottom;
    await PSPDFKitController.LoadDocumentFromAssetsAsync(assetDocumentPath, config);
}
catch (Exception ex)
{
    // Handle exception.
}

```

---

## Related pages

- [Maui 1 2 Migration Guide](/guides/maui/migration-guides/maui-1-2-migration-guide.md)

