Activities of "Nathan"

Answer

Hi sir, it's still err like that. I don't know why if I using version 8 then it's ok. Could you give me another solution?

Answer

Hi EngincanV, Here is DbContextFactory file. Could you help me to check?

using System;
using System.IO;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Design;
using Microsoft.Extensions.Configuration;

namespace Eduverse.EntityFrameworkCore;

/* This class is needed for EF Core console commands
 * (like Add-Migration and Update-Database commands) */
public abstract class EduverseDbContextFactoryBase<TDbContext> : IDesignTimeDbContextFactory<TDbContext>
    where TDbContext : DbContext
{
    public TDbContext CreateDbContext(string[] args)
    {
        // https://www.npgsql.org/efcore/release-notes/6.0.html#opting-out-of-the-new-timestamp-mapping-logic
        AppContext.SetSwitch("Npgsql.EnableLegacyTimestampBehavior", true);
        
        var configuration = BuildConfiguration();

        EduverseEfCoreEntityExtensionMappings.Configure();

        var builder = new DbContextOptionsBuilder<TDbContext>()
            .UseNpgsql(configuration.GetConnectionString("Default"));

        return CreateDbContext(builder.Options);
    }

    protected abstract TDbContext CreateDbContext(DbContextOptions<TDbContext> dbContextOptions);

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

        return builder.Build();
    }
}

Do we have the exactly redirectUrl when I apply custom SSO login using microsoft? I implemented like that but it's seem does not work. This error: An unhandled exception occurred while processing the request.AuthenticationFailureException: The oauth state was missing or invalid.Unknown locationAuthenticationFailureException: An error was encountered while handling the remote login.Microsoft.AspNetCore.Authentication.RemoteAuthenticationHandler<TOptions>.HandleRequestAsync()Stack Query Cookies Headers RoutingAuthenticationFailureException: The oauth state was missing or invalid.Show raw exception detailsAuthenticationFailureException: An error was encountered while handling the remote login.Microsoft.AspNetCore.Authentication.RemoteAuthenticationHandler<TOptions>.HandleRequestAsync()Volo.Abp.Account.Public.Web.ExternalProviders.AbpAccountAuthenticationRequestHandler<TOptions, THandler>.HandleRequestAsync()Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)Volo.Abp.AspNetCore.Security.AbpSecurityHeadersMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)Microsoft.AspNetCore.Builder.UseMiddlewareExtensions+InterfaceMiddlewareBinder+<>c__DisplayClass2_0+<<CreateMiddleware>b__0>d.MoveNext()Volo.Abp.Studio.Client.AspNetCore.AbpStudioMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)Volo.Abp.Studio.Client.AspNetCore.AbpStudioMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)Volo.Abp.Studio.Client.AspNetCore.AbpStudioMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)Microsoft.AspNetCore.Builder.UseMiddlewareExtensions+InterfaceMiddlewareBinder+<>c__DisplayClass2_0+<<CreateMiddleware>b__0>d.MoveNext()Microsoft.AspNetCore.Localization.RequestLocalizationMiddleware.Invoke(HttpContext context)Microsoft.AspNetCore.RequestLocalization.AbpRequestLocalizationMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)Microsoft.AspNetCore.Builder.UseMiddlewareExtensions+InterfaceMiddlewareBinder+<>c__DisplayClass2_0+<<CreateMiddleware>b__0>d.MoveNext()Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddlewareImpl.Invoke(HttpContext context)Show raw exception details

It's an autocomplete input, try type something.

Do you know why is it? how to display as a dropdown instead of auto completion

Unfortunately, there is no way yet

yes thank you

Hi, I recognized that I have to type on input field then the data will display. Do you know why is it? how to display as a dropdown instead of auto completion

Hi, I already followed your step above to create a new project then test it. but I still can not show the data for openIddictApplication:

Hi could you help to send your zip sample code via my email? Here is my email: coolboy30111992@gmail.com I don't know what I am missing. And could you help to capture your network tab and see the api: /api/openiddict/applications called or not. And Further information: I am using commercial abp package Thanks

Hi, Could you help me to resolve the issue that I cannot display data for extraproperty which I consider as select options component? Here is my code:(FYI: I am using .net core vs angular)

yes, I will add it on later.

Hi liangshiwei, I already sent the project for you. Could you take a look and get back to me asap? Thanks

Showing 11 to 20 of 42 entries
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v9.3.0-preview. Updated on June 12, 2025, 09:12