Activities of "EngincanV"

Hi, I have tried to reproduce the error as well, without success. I will continue to try to find the issue why this is happening in our specific project, I will get back to you regarding this if there are any progress. Thanks for your help!

Thanks. We will wait for a response from you. Regards.

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(); 
    } 
} 
 

Hi again, can you make the following change and let me know if it fix your problem:

- .SetBasePath(Path.Combine(Directory.GetCurrentDirectory(), "../Eduverse.DbMigrator/"))
+ .SetBasePath(Path.Combine(Directory.GetCurrentDirectory(), @"..\Eduverse.DbMigrator\"))

How can i redirect a user to the homepage after logout rather then the "You have been logged out" page?

There should be an OpenIddictDataSeedContributor class under your domain project, you should open it and update the postLogoutRedirectUri:

                // postLogoutRedirectUri: $"{blazorRootUrl}/authentication/logout-callback",
                postLogoutRedirectUri: $"{blazorRootUrl}",

Then, run the dbmigrator project to update your database. (since you already have a database, this change will not be applied, so you can manually update in database for now - or delete the OpenIddictApplication table records and run the dbmigrator)

Hi, please see this thread. This was a known-issue and we fixed with https://github.com/abpframework/abp/pull/21797

appreciate the diligence and the ticket refund. Deleting the .razor file before generating solved the issue. One more thing to note, the .extended.razor.cs file for the entity I am generating is also getting wiped on generation (even with content). Can I prevent this somehow, is this a bug? thanks

If it overrides your changes and is re-generated each time, then yes this is a bug. I will test this as well and create an internal issue for that. Thanks for reporting this problem too.

Regards.

Thanks you for a quick response to this and also the created ticket on GitHub. And yes, I fully understand that keeping docs updated is somewhat of a PIA.

Since we seem to agree about the need for this, I guess this ticket should be refunded :)

Sure. I have refunded your ticket :)

Thanks.

Please do not share our account specific info here even though it isn't exactly sensitive information :)

Removed 👍

Thanks you for a quick response to this and also the created ticket on GitHub. And yes, I fully understand that keeping docs updated is somewhat of a PIA.

Since we seem to agree about the need for this, I guess this ticket should be refunded :)

Sure. I have refunded your ticket :)

Best regards.

Hi, thanks for your suggestion. As you said, some parts of the documentation might be outdated. Therefore, we need to revise all of our Angular documents from that perspective. I have created an issue for that and assigned it to a member of our angular team, which you can follow the progress from https://github.com/abpframework/abp/issues/22092.

We are revising and updating our documents whenever possible but as you know it's really hard to maintain such a big documentation system. Thanks for your understanding, in advance.

Best regards.

Hi,

I can't seem to be able to download the Chat Module source code, could you kindly send it to my email or explain the approach you used in the module?

Thanks.

In the chat module, there is a hub class called ChatHub and we simply use it to trigger a socket connection (for sending a message, deleting a conversation, and deleting a message on the server side, and on the client side doing the receiving events). Creating a new hub and using its DisconnectAsync is what comes to my mind as the first solution.

However, investigating the other options can be better, because it might be hard to maintain and understand if the user really disconnected temporarily or permanently. Since this is not related to ABP, I'm sorry to not being able to answer with a concrete solution.

Regards.

Is this a known issue when reverting from source code to package reference?

Hi, no similar issue has been reported before. When you revert back to using NuGet packages, it should work as expected.

To confirm your problem, can you answer the questions below:

  • Your *.BlazorServer project depends on the typeof(SaasHostBlazorServerModule),?
  • Your *.Application project depends on the typeof(SaasHostApplicationModule),?
  • also the other relevant module integrations have been made?
Showing 511 to 520 of 1359 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 v10.1.0-preview. Updated on November 07, 2025, 08:20