hi
The web app has two modes, server
and wasm
.
CookieBased
means you don't need to get the access token because of the authentication state in the cookies.
You can request the API, The browser will add the cookies automatically.
hi junio
Enable debug logs and reproduce the problem, then share the logs.txt
file with liming.ma@volosoft.com
https://abp.io/support/questions/8622/How-to-enable-Debug-logs-for-troubleshoot-problems
Thanks.
When you encounter problems in the development or production environment, we would like to see the log to troubleshoot the problem.
.MinimumLevel.Debug()
will set MinimumLevel
to Debug
to show more logs.
We don't want to see EF Core's
Debug
logs when your problem has nothing to do with EF Core.
var loggerConfiguration = new LoggerConfiguration()
.MinimumLevel.Debug()
.MinimumLevel.Override("Microsoft.EntityFrameworkCore", LogEventLevel.Warning)
.Enrich.FromLogContext()
.WriteTo.Async(c => c.File("Logs/logs.txt"))
If you have an EF Core-related problem, you can remove MinimumLevel.Override("Microsoft.EntityFrameworkCore", LogEventLevel.Warning)
and EnableSensitiveDataLogging
to see EF Core debug logs.
Configure<AbpDbContextOptions>(options =>
{
/* The main point to change your DBMS.
* See also BookStoreMigrationsDbContextFactory for EF Core tooling. */
Configure<AbpDbContextOptions>(options =>
{
options.Configure(actions =>
{
actions.UseSqlServer();
actions.DbContextOptions.EnableSensitiveDataLogging();
});
});
});
If your API website experiences a JWT
authentication problem, please ShowPII
and output identity model
logs.
public async static Task<int> Main(string[] args)
{
IdentityModelEventSource.ShowPII = true;
IdentityModelEventSource.Logger.LogLevel = EventLevel.Verbose;
var wilsonTextLogger = new TextWriterEventListener("Logs/identitymodel.txt");
wilsonTextLogger.EnableEvents(IdentityModelEventSource.Logger, EventLevel.Verbose);
See: https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/wiki/PII https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/wiki/How-to-log-from-IdentityModelEventSource.Logger
If you have an OpenIddict
related problem, please override the OpenIddict
log level to Verbose
.
var loggerConfiguration = new LoggerConfiguration()
.MinimumLevel.Debug()
.MinimumLevel.Override("Microsoft.EntityFrameworkCore", LogEventLevel.Warning)
.MinimumLevel.Override("OpenIddict", LogEventLevel.Verbose)
.Enrich.FromLogContext()
.WriteTo.Async(c => c.File("Logs/logs.txt"))
hi
context.Services.Configure<HubOptions>(options =>
{
// Set to 256KB
options.MaximumReceiveMessageSize = 262144;
});
hi
If you're only extending and using the ABP Framework in your own commercial application, you do not need to publish your source code. If you modify the ABP Framework itself, you must make those modifications public under LGPL 3.0, but this does not apply to your proprietary or commercial code that interacts with it.
https://abp.io/support/questions/7834/Request-for-confirmation-on-ABP-framework-commercial-license
hi
I will ask our angular team.
Thanks
: )
hi
Can you share a test project to reproduce?
I will download and check it.
liming.ma@volosoft.com
Thanks.
Thank you for sharing the solution.