Modify Configuration#
Open *.Web\Properties\launchSettings.json
, refer to the following configuration:
{
"iisSettings": {
"windowsAuthentication": false,
"anonymousAuthentication": true,
"iisExpress": {
"applicationUrl": "http://localhost:44372/",
"sslPort": 0
}
},
"profiles": {
"IIS Express": {
"commandName": "IISExpress",
"launchBrowser": false,
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
},
"XXW.IDCloud.Web": {
"commandName": "Project",
"launchBrowser": false,
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
},
"applicationUrl": "http://*:44372/"
}
}
}
Then open the appsettings.json
file of the Web project and make the following modifications:
{
"App": {
"SelfUrl": "http://localhost:44372"
},
}
Note#
After changing the Web project to HTTP startup, some interfaces may respond with 400 but no other messages.
Solution: abp/issues/14089