Activities of "maliming"

hi

Can you share a minimum project to reproduce? Thanks liming.ma@volosoft.com

hi

See https://docs.abp.io/en/abp/latest/Modules/Setting-Management#angular-ui

Answer

hi

Can you share your code of AddJwtBearer and the identity server configuration info?

Same result in Nuget Package Explorer

hi viswajwalith

Sorry, I'm not good at MongoDb.

Reopen if you don't resolve the problem.

hi

Can you share the full stack trace?

hi

I think you can copy all code from the base method.

hi Spospisil

Identity authentication will take effect in the next request.

For current request:

using (CurrentPrincipalAccessor.Change(await SignInManager.CreateUserPrincipalAsync(user)))
{
    //Use currentuser here
}

hi

There is should be a IndoDbContextFactory.cs file and Microsoft.EntityFrameworkCore.Tools package in hte EntityFrameworkCore project.

/* This class is needed for EF Core console commands
 * (like Add-Migration and Update-Database commands) */
public class IndoDbContextFactory : IDesignTimeDbContextFactory<IndoDbContext>
{
    public IndoDbContext CreateDbContext(string[] args)
    {
        IndoEfCoreEntityExtensionMappings.Configure();

        var configuration = BuildConfiguration();

        var builder = new DbContextOptionsBuilder<IndoDbContext>()
            .UseSqlServer(configuration.GetConnectionString("Default"));

        return new IndoDbContext(builder.Options);
    }

    private static IConfigurationRoot BuildConfiguration()
    {
        var builder = new ConfigurationBuilder()
            .SetBasePath(Path.Combine(Directory.GetCurrentDirectory(), "../Indo.DbMigrator/"))
            .AddJsonFile("appsettings.json", optional: false);

        return builder.Build();
    }
}
<ItemGroup>
    <PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="5.0.*">
      <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
      <PrivateAssets>compile; contentFiles; build; buildMultitargeting; buildTransitive; analyzers; native</PrivateAssets>
    </PackageReference>
</ItemGroup>
Showing 9461 to 9470 of 10667 entries
Learn More, Pay Less
33% OFF
All Trainings!
Get Your Deal
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.0.0-preview. Updated on September 15, 2025, 14:41