@Marc George Thanks for reaching here!
To deploy a MAUI application to an App Service for Ad Hoc downloads to devices, you need to follow these steps:
- Create an Azure App Service: You can create an Azure App Service by following the steps mentioned in this https://docs.microsoft.com/en-us/azure/app-service/quickstart-dotnetcore?tabs=netcore31&pivots=development-environment-vscode
- Configure the App Service: Once you have created the App Service, you need to configure it to host your MAUI application. You can do this by following these steps: a. In the Azure portal, navigate to your App Service and click on the "Configuration" tab. b. Under "General settings", set the "Startup Command" to the command that starts your MAUI application. For example, if your MAUI application is named "MyApp", the startup command might be "dotnet MyApp.dll". c. Under "Application settings", add any environment variables that your MAUI application requires. d. Under "Deployment Center", choose the deployment method that you prefer. You can deploy your MAUI application using Git, FTP, or other methods.
- Upload your MAUI application: Once you have configured your App Service, you need to upload your MAUI application to the App Service. You can do this by following these steps: a. Build your MAUI application for the appropriate platform (iOS, Android, or Windows). b. Package your MAUI application into an IPA (iOS), APK (Android), or MSIX (Windows) file. c. Upload the IPA, APK, or MSIX file to your App Service using the deployment method that you chose in step 2.
- Configure Ad Hoc distribution: To enable Ad Hoc distribution of your MAUI application, you need to configure the App Service to allow downloads of the IPA, APK, or MSIX file. You can do this by following these steps: a. In the Azure portal, navigate to your App Service and click on the "Authentication / Authorization" tab. b. Under "Authorization", choose "On" to enable authentication and authorization. c. Under "Action to take when request is not authenticated", choose "Allow Anonymous requests (no action)". d. Under "Allowed External Redirect URLs", add the URL of the page where you want to host the download link for your MAUI application.