https://github.com/arnab-developer/aspnet-webapi-azure-deploy
ASP.NET Web API Azure deploy.
https://github.com/arnab-developer/aspnet-webapi-azure-deploy
asp-net-5 azure github-workflow
Last synced: 10 months ago
JSON representation
ASP.NET Web API Azure deploy.
- Host: GitHub
- URL: https://github.com/arnab-developer/aspnet-webapi-azure-deploy
- Owner: Arnab-Developer
- License: mit
- Created: 2021-02-10T09:48:39.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-04-21T07:41:24.000Z (over 4 years ago)
- Last Synced: 2025-01-17T02:24:20.634Z (11 months ago)
- Topics: asp-net-5, azure, github-workflow
- Language: C#
- Homepage:
- Size: 679 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ASP.NET web api azure deploy

Deploy ASP.NET web api to azure web app with GitHub action.
Steps:
- Create a new solution with two new apis and a web app.
- Create some tests.
- Push to GitHub.
- Create three new web apps in Azure for two apis and a web app.
- Download the publish profiles from Azure web app.
- Store the publish profile's content to GitHub repository secrets.
- Create workflow with GitHub action to build, test and deploy.
```
- name: 'Deploy to Azure WebApp'
uses: azure/webapps-deploy@v2
with:
app-name: ${{ env.AZURE_WEBAPP_NAME }}
publish-profile: ${{ secrets.AZURE_WEBAPP_PUBLISH_PROFILE }}
package: ${{ env.AZURE_WEBAPP_PACKAGE_PATH }}/myapp
```
## Tech stack
* .NET 5
* C# 9
* xUnit for unit testing
* Visual Studio 2019