Starts in:
0 DAY
15 HRS
44 MIN
38 SEC
Starts in:
0 D
15 H
44 M
38 S

There are multiple versions of this document. Pick the options that suit you best.

UI
Database
Tiered

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. The ConnectionString values are stored in the appsettings.json files.

    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:4200 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

    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"
    }

What's next?

Contributors


Last updated: October 23, 2024 Edit this page on GitHub

Was this page helpful?

Please make a selection.

To help us improve, please share your reason for the negative feedback in the field below.

Please enter a note.

Thank you for your valuable feedback!

Please note that although we cannot respond to feedback, our team will use your comments to improve the experience.

In this document
Community Talks

What’s New with .NET 9 & ABP 9?

21 Nov, 17:00
Online
Watch the Event
Mastering ABP Framework Book
Mastering ABP Framework

This book will help you gain a complete understanding of the framework and modern web application development techniques.

Learn More