Publish Spreadsheet Server to Azure App Service using Visual Studio
21 May 20261 minute to read
Prerequisites
-
Visual Studio 2022or later is installed. -
.NET 8.0 SDKor later installed. - An active
Azure subscriptionwith App Services access. - The
Spreadsheet Web API projectrepository cloned locally.
Make sure you build the project using the Build > Build Solution menu command before following the deployment steps.
Publish to Azure App Service
Step 1: In Solution Explorer, right-click the project and click Publish (or use the Build > Publish menu item).

Step 2: In the Pick a publish target dialog box, select Azure as deployment target.

Step 3: After selecting Azure, choose Azure App Service under the target options.

Step 4: Select Publish. The Create App Service dialog box appears. Sign in with your Azure account, if necessary, and then the default app service settings populate the fields.

Step 5: Select Create. Visual Studio deploys the app to your Azure App Service, and the web app loads in your browser with the app name at,
http://<app_name>.azurewebsites.net

Step 6: Once the deployment process is complete, The deployed API will be live at the following URL:
https://XXXXXXXXXX.azurewebsites.net
Step 7: With your server running, verify that it supports import and export operations by testing the following endpoints:
openUrl="https://XXXXXXXXXX.azurewebsites.net/api/spreadsheet/open"
saveUrl="https://XXXXXXXXXX.azurewebsites.net/api/spreadsheet/save
Append the App Service running URL to the service URL in the client‑side Spreadsheet Editor component. For more information about how to get started with the Spreadsheet Editor component, refer to this getting started page
For more information about the app container service, please look deeper into the Microsoft Azure App Service for a production-ready setup.