ASP.NET Core PDF Viewer on Azure
How to enable ASP.NET Core PDF Viewer web application on Azure


Step by step guide how to publish, deploy ASP.NET Core web application with PDF Viewer, Editor on Microsoft Azure







It is an easy task to read, open, view, markup, edit, convert PDF documents using EdgePDF in web browser on Azure. EdgePDF ASP.NET PDF Viewer has been fully tested on Azure Windows platforms, including ASP.NET Core MVC web apps, web services.



Prerequisites



An existing ASP.NET Core web application with EdgePDF integrated should be ready to deploy to Azure.

You could view the step by step C# tutorials to create a new ASP.NET Core web app with EdgePDF integrated.





How to publish, deploy a ASP.NET Core PDF Viewer web application to Azure?



Step 1: Copy all VC++ DLLs (both x86 and x64 versions) manually to the root of the solution.





Set property "Copy to Output Directory" to "Copy Always" for ALL 8 VC++ DLLs.



Step 2: In Solution Explorer, right-click the project and choose "Publish" to open the Publish wizard.





Select "Azure" option in the dialog, and then press "Next" button.



Step 3: Select "Azure App Service (Windows)" in the dialog, add press "Next" to continue.





Step 4: Log in your Microsoft account with Azure subscription.





Step 5: After the account is available, then select "Create new" in the "App Service" tab.





Change the new app service name to "EdgePDFDemo" and click "Create".



After creation is completed, it backs to the "Publish" dialog. Then press "Finish".



It creates a new publish profile file.



Step 6: Click "Publish" and Visual Studio deploys the web application to the provided path.





The, wait for publish succeeded.



Step 7: Open PDF Viewer & Editor in Azure.



Navigate to "https://edgepdfdemo.azurewebsites.net/" in web browser.