Step 2: Customizing the Configuration of the ABP Application
To customize the configuration of your ABP application, modify the
ConnectionString
values in every location throughout your project. TheConnectionString
values are stored in theappsettings.json
files.This includes the following files:
./src/yourapp.DbMigrator/appsettings.json and ./src/yourapp.Web/appsettings.json
"ConnectionStrings": {
"Default": "Server=tcp:yourserver.database.windows.net,1433;Initial Catalog=yourdatabase;Persist Security Info=False;User ID=yourusername;Password=yourpassword;MultipleActiveResultSets=False;Encrypt=True;TrustServerCertificate=False;Connection Timeout=30;"
}
- Modify the yourapp.Web URL in every location throughout your project, especially within the ./src/yourapp.Web/appsettings.json and ./src/yourapp.DbMigrator/appsettings.json files, to match your Azure Web App Service URL.
"App": {
"SelfUrl": "https://yourapp.azurewebsites.net"
}