Deploy PDF Viewer server app to Azure App Service from Visual Studio
15 Oct 20251 minute to read
Prerequisites
- Visual Studio 2017 or 2019
- Azure subscription
- A PDF Viewer Web API application
- Build the project (Build > Build Solution) before publishing
Publish to Azure App Service
Step 1: In Solution Explorer, right-click the project and choose Publish (or use Build > Publish).

Step 2: If a profile exists, select Create new profile.
Step 3: In Pick a publish target, choose App Service.

Step 4: Select Publish. In Create App Service, sign in if prompted and review the default settings.

Step 5: Select Create. After deployment, the app loads at http://
Step 6: Verify the API at http://ej2-pdfviewer-server20200513053326.azurewebsites.net/api/pdfviewer. A default GET response indicates the server is running.
Use the service endpoint (for example, http://ej2-pdfviewer-server20200513053326.azurewebsites.net/api/pdfviewer) as the PDF Viewer client’s serviceUrl. Refer to the getting started guide
For production guidance, see Azure App Service deployment documentation.