hi
You can try to get access token from HttpContext in 7.2.3
var httpContext = HttpContextAccessor?.HttpContext;
if (httpContext == null)
{
return null;
}
return await httpContext.GetTokenAsync("access_token");
hi
https://support.abp.io/QA/Questions/3448/How-to-Deploy-Net-60-web-api-Application-on-windows-server-IIS#answer-5f70c8df-651b-08ba-ec76-3a053289a6f4
https://support.abp.io/QA/Questions/3327/Health-Check-Problem-on-IIS-SystemUriFormatException-Invalid-URI-The-hostname-could-not-be-parsed#answer-51baf847-087a-2aa1-1d76-3a04d9420894
hi
The abp app logs.
See .WriteTo.Async(c => c.File("Logs/logs.txt"))
namespace MyCompanyName.MyProjectName;
public class Program
{
public async static Task<int> Main(string[] args)
{
Log.Logger = new LoggerConfiguration()
#if DEBUG
.MinimumLevel.Debug()
#else
.MinimumLevel.Information()
#endif
.MinimumLevel.Override("Microsoft", LogEventLevel.Information)
.MinimumLevel.Override("Microsoft.EntityFrameworkCore", LogEventLevel.Warning)
.Enrich.FromLogContext()
.WriteTo.Async(c => c.File("Logs/logs.txt"))
.WriteTo.Async(c => c.Console())
.CreateLogger();
hi
I think the changes are too big, so there maybe some breaking. You can try it step by step.
abp will use HttpContext.User(ClaimsPrincipal) to populate the ICurrentUser
hi
Please check the AbpSettings table, the email configurations are stored in it.
hi
Can you get the logs.txt when the app is running on Azure App Service?
hi
The previous EF Core may need the virtual keyword.
There is no need to make navigations virtual unless they are being used by lazy-loading or change-tracking proxies.
It doesn't matter if you use it all the time.
hi
Please sahre the logs of authserver. Thanks
liming.ma@volosoft.com
Can you share a simple project to reproduce?
Thanks
liming.ma@volosoft.com