0
niall created
- ABP Framework version: v8.2.2
- UI Type: Angular / MVC / Blazor WASM / Blazor Server
- Database System: EF Core (SQL Server, Oracle, MySQL, PostgreSQL, etc..) / MongoDB
- Tiered (for MVC) or Auth Server Separated (for Angular): yes/no
- Exception message and full stack trace:
- Steps to reproduce the issue:
There are a App.SelfUrl
attribute at appsettings.json, This attribute does not affect the listening address of the service, so what is the function of this attribute?
5 Answer(s)
-
0
hi
If you search this keyword in your solution globally, You will find some code like:
Configure<AppUrlOptions>(options => { options.Applications["MVC"].RootUrl = configuration["App:SelfUrl"]; });
We will set the
RootUrl
ofAppUrlOptions
based on this property. -
0
Is this property must same as address of listening?
-
0
It should be the
URL
of your website.You may use localhost and a domain(external url) for your websites.
eg: localhost, abp.io
This value should uses the external URL(abp.io)
-
0
I get it, Thanks ~
-
0
: )