How to use IronPDF on MAUI Android
IronPDF is equipped to run as a remote service, offering improved convenience, performance, and deployability. Many customers are already using this technology to run IronPDF in a Docker container alongside their main applications.
The IronPdf.Server.Azure
NuGet package now enables running IronPDF in the cloud, making it easy to use IronPDF across any platform, including mobile!
For your convenience, you can clone a GitHub repository on the right side.
How to use IronPDF on MAUI Android
- Download the C# library to render PDF files on Android
- Configure the Azure App Service
- Configure the Android MAUI client
- Generate and edit PDFs on Android with ease
- Download the project for a fast start
Install with NuGet
Install-Package IronPdf
Download DLL
Manually install into your project
Install with NuGet
Install-Package IronPdf
Download DLL
Manually install into your project
Start using IronPDF in your project today with a free trial.
Check out IronPDF on Nuget for quick installation and deployment. With over 8 million downloads, it's transforming PDF with C#.
Install-Package IronPdf
Consider installing the IronPDF DLL directly. Download and manually install it for your project or GAC form: IronPdf.zip
Manually install into your project
Download DLLAzure App Service Host
- Create a new Azure BLOB Storage Container
- Create a new Azure App Service and App Service Plan. We suggest Basic B2 plan or greater, but Free F1 should be sufficient to get started.
- Navigate to the Settings/Configuration section of your Web app and set the following values:
BLOB_STORAGE_CONNECTION
: You can configure a connection string according to the format outlined by MicrosoftBLOB_STORAGE_CONTAINER
: This is just the name of the container within the storage accountHTTP20_ONLY_PORT
: Must be set to 80
- Using Visual Studio, open the example Azure App Service Linux Container app,
IronPdf.Android.Server.csproj
- Create a new publish profile which targets the Azure App Service you created in step 2.
- Publish your app!
- After several minutes, you should be able to verify your app is successfully publish by navigating to the URL in a browser, which will print a simple debug string.
Android MAUI Client
- Using Visual Studio, open the example MAUI Android application,
IronPdf.Android.Client.csproj
- Within MainPage.xaml.cs, set your license key or remove this line to generate watermarked documents
- Within MainPage.xaml.cs, change the Host = "
https://YOUR-APP-SERVICE.azurewebsites.net/
", line to your Azure App Service which is hosting IronPdf. - Run the demo on an Android device which supports API 21.0 or higher.
NOTE: Depending on your plan settings, the first render may take a while as your Azure App Service is started for the first time.