Activities of "maliming"

hi

You can get the dbcontext migrate and seed the data in OnPreApplicationInitializationAsync method of your module.

public async override Task OnPreApplicationInitializationAsync(ApplicationInitializationContext context)
{
    using var uow = context.ServiceProvider.GetRequiredService<IUnitOfWorkManager>().Begin();
    {
        var dbContext = await context.ServiceProvider.GetRequiredService<IDbContextProvider<ServerDbContext>>().GetDbContextAsync();
        if ((await dbContext.Database.GetPendingMigrationsAsync()).Any())
        {
            await dbContext.Database.MigrateAsync();
        }

        await uow.CompleteAsync();
    }

    await context.ServiceProvider
        .GetRequiredService<IDataSeeder>()
        .SeedAsync();
}

hi

Please check the logs.txt to see the error details.

Angular will get an access token after signing in.

hi

Have you added the JWT Bearer authentication to your website?

Please share your start-up module code and the logs of this 401 request.

Thanks.

hi

This seems to be not related to the abp framework.

We don't have much experience.

hi

We have the session management feature.

https://abp.io/docs/latest/modules/identity/session-management https://abp.io/docs/latest/modules/account/session-management

Answer

hi

how can i call a controller on page load itself with any type of parameter.

You can add a from to your page and submit the form via JS code.

Answer

Can you push your code to a Github repository?

Answer

hi

How can I reproduce this?

Answer

If you click the Send anyway

What are the requests in your browser dev tool?

Answer

hi

What is the submit URL? is it HTTPS?

Showing 261 to 270 of 7729 entries
Made with ❤️ on ABP v9.0.0-preview Updated on September 20, 2024, 08:30