Filter by title
Document Options

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

    ./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 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.

    • This includes the following files: ./src/yourapp.DbMigrator/appsettings.json

    ./src/yourapp.Web/appsettings.json

    ./src/yourapp.AuthServer/appsettings.json

    "App": {
        "SelfUrl": "https://yourapp.azurewebsites.net"
    }
  • Modify the yourapp.ApiHost URL in every location throughout your project.

    • This includes the following files:

    ./src/yourapp.HttpApi.Host/appsettings.json , ./src/yourapp.Web/appsettings.json , ./src/yourapp.DbMigrator/appsettings.json and ./src/yourapp.AuthServer/appsettings.json

"App": {
    "SelfUrl": "https://yourapp-apihost.azurewebsites.net"
}
  • Modify the yourapp.AuthServer URL in every location throughout your project.

    • This includes the following files:

    ./src/yourapp.Web/appsettings.json , ./src/yourapp.AuthServer/appsettings.json , ./src/yourapp.DbMigrator/appsettings.json and ./src/yourapp.HttpApi.Host/appsettings.json

"App": {
    "SelfUrl": "https://yourapp-authserver.azurewebsites.net"
}
  • Modify the Redis__Configuration URL in every location throughout your project.

    • This includes the following files:

    ./src/yourapp.Blazor/appsettings.json , ./src/yourapp.AuthServer/appsettings.json , ./src/yourapp.DbMigrator/appsettings.json and ./src/yourapp.HttpApi.Host/appsettings.json

"Redis": {
    "Configuration": "redis-abpdemo.redis.cache.windows.net:6380,password={yourpassword},ssl=true,abortConnect=False"
    },

What's next?

Contributors


Last updated: October 14, 2025 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.

ABP Community Talks
AI-Powered .NET Apps with ABP & Microsoft Agent Framework
18 Dec, 17:00
Online
Register Now
ABP Live Webinar
Webinar Calendar Webinar Calendar
Discover
ABP Platform
Register Now
Dec 17
Wednesday,
17:00 UTC
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.