ABP Framework goes Azure
A step-by-step tutorial on how to set up Continuous Deployment of an ABP Framework application.
Continuous Deployment to Azure with Azure DevOps
Continuous deployment is a software engineering approach in which software functionalities are delivered frequently and through automated deployments. (Wikipedia)
Source Code
The sample application has been developed with Blazor as UI framework and SQL Server as database provider.
The same principles apply for other UI frameworks like Angular, MVC or databases like MongoDb, MySql, Progress, ...
Get the source code on GitHub.
ATTENTION: This tutorial is by no means production-ready and just serves as a guide to point you in the right direction.
Requirements
The following tools are needed to be able to run the solution.
- .NET 8.0 SDK
- VsCode, Visual Studio 2022 or another compatible IDE
- Microsoft Server SQL Management Studio
- ABP CLI version 8.0.0
Step-by-step
1. Create a new GitHub repository
2. Create a new ABP Framework application
3. Create an SQL Database in Azure
4. Set up the Build pipeline in AzureDevops
5. Create a Web App in the Azure Portal for the API
6. Create a Release pipeline to deploy the HttpApi.Host project
7. API Deployment succeeded. Web App not working. Fix the issues!
8. Create a Web App in the Azure Portal for the Blazor project
9. Add a stage in the Release pipeline to deploy the Blazor project
10. Blazor Deployment succeeded. Web App not working. Fix the issues!
Comments
No one has commented yet, be the first to comment!