Step 2: Customizing the Configuration of the ABP Application
To customize the configuration of your ABP application, modify the
ConnectionStringvalues in every location throughout your project. TheConnectionStringvalues are stored in theappsettings.jsonfiles.This includes the following files:
./src/yourapp.DbMigrator/appsettings.json and ./src/yourapp.HttpApi.Host/appsettings.json
./src/yourapp.AuthServer/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
localhost:4200in every location throughout your project.This includes the following files:
./angular/src/environments/environment.prod.ts , ./aspnet-core/src/yourapp.DbMigrator/appsettings.json and ./aspnet-core/src/yourapp.HttpApi.Host/appsettings.json
application: {
baseUrl: 'https://yourapp.azurestaticapps.net'
}
Modify the yourapp.HttpApi.Host URL in every location throughout your project.
This includes the following files:
./angular/src/environments/environment.prod.ts , ./aspnet-core/src/yourapp.DbMigrator/appsettings.json and ./aspnet-core/src/yourapp.HttpApi.Host/appsettings.json
"App": {
"SelfUrl": "https://yourApiHost.azurewebsites.net"
}