Activities of "zhongfang"

I can give you a database connection string with email. You can create a empty ABP application with Blazor Server page. Then you can change the database connection string.

  • ABP Framework version: v8.3.0
  • UI Type: Blazor Server
  • Database System: EF Core (MySQL) / MongoDB
  • Tiered (for MVC) or Auth Server Separated (for Angular): no
  • Exception message and full stack trace:
[12:25:58 WRN] Unhandled exception rendering component: Value cannot be null. (Parameter 'stringLocalizer')
System.ArgumentNullException: Value cannot be null. (Parameter 'stringLocalizer')
   at System.ArgumentNullException.Throw(String paramName)
   at System.ArgumentNullException.ThrowIfNull(Object argument, String paramName)
   at Microsoft.Extensions.Localization.StringLocalizerExtensions.GetString(IStringLocalizer stringLocalizer, String name)
   at Volo.Abp.FeatureManagement.Blazor.Components.FeatureManagementModal.<>c__DisplayClass43_5.<BuildRenderTree>b__21(RenderTreeBuilder __builder9)
   at Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder.AddContent(Int32 sequence, RenderFragment fragment)
   at Blazorise.SelectItem`1.BuildRenderTree(RenderTreeBuilder __builder)
   at Microsoft.AspNetCore.Components.Rendering.ComponentState.RenderIntoBatch(RenderBatchBuilder batchBuilder, RenderFragment renderFragment, Exception& renderFragmentException)
  • Steps to reproduce the issue:
  • Start blazor application with debug mode in VS 2022
  • go to this page https://localhost:44313/saas/host/editions
  • select a version, then click '功能‘
  • get above exception

I must mentioned that I didn't difine features for versions for many months. But I use ABP from 4.x.x to 8.3.0...

Oh, after I run the dotnet ef migrations add... The problem has been resolved.

I am very practices with ef core migrations.

Perhaps I missed any module or fuction call?

[ReplaceDbContext(typeof(IIdentityProDbContext))]
[ReplaceDbContext(typeof(ISaasDbContext))]
[ConnectionStringName("Default")]
public class BlazorOneDbContext :
    AbpDbContext<BlazorOneDbContext>,
    IIdentityProDbContext,
    ISaasDbContext
{
    /* Add DbSet properties for your Aggregate Roots / Entities here. */

    #region Entities from the modules

    /* Notice: We only implemented IIdentityProDbContext and ISaasDbContext
     * and replaced them for this DbContext. This allows you to perform JOIN
     * queries for the entities of these modules over the repositories easily. You
     * typically don't need that for other modules. But, if you need, you can
     * implement the DbContext interface of the needed module and use ReplaceDbContext
     * attribute just like IIdentityProDbContext and ISaasDbContext.
     *
     * More info: Replacing a DbContext of a module ensures that the related module
     * uses this DbContext on runtime. Otherwise, it will use its own DbContext class.
     */

    // Identity
    public DbSet<IdentityUser> Users { get; set; }
    public DbSet<IdentityRole> Roles { get; set; }
    public DbSet<IdentitySession> Sessions { get; set; }
    public DbSet<IdentityClaimType> ClaimTypes { get; set; }
    public DbSet<OrganizationUnit> OrganizationUnits { get; set; }
    public DbSet<IdentitySecurityLog> SecurityLogs { get; set; }
    public DbSet<IdentityLinkUser> LinkUsers { get; set; }
    public DbSet<IdentityUserDelegation> UserDelegations { get; }

    // SaaS
    public DbSet<Tenant> Tenants { get; set; }
    public DbSet<Edition> Editions { get; set; }
    public DbSet<TenantConnectionString> TenantConnectionStrings { get; set; }

    #endregion

    public BlazorOneDbContext(DbContextOptions<BlazorOneDbContext> options)
        : base(options)
    {

    }

    protected override void OnModelCreating(ModelBuilder builder)
    {
        base.OnModelCreating(builder);

        /* Include modules to your migration db context */

        builder.ConfigurePermissionManagement();
        builder.ConfigureSettingManagement();
        builder.ConfigureBackgroundJobs();
        builder.ConfigureAuditLogging();
        builder.ConfigureIdentityPro();
        builder.ConfigureOpenIddict();
        builder.ConfigureFeatureManagement();
        builder.ConfigureLanguageManagement();
        builder.ConfigureSaas();
        builder.ConfigureTextTemplateManagement();
        builder.ConfigureBlobStoring();
        builder.ConfigureGdpr();
    ~~~
  • ABP Framework version: v8.3.0
  • **Blazor Server
  • Database System: EF Core (MySQL)
  • Tiered (for MVC) or Auth Server Separated (for Angular): no
  • Exception message and full stack trace:
MySqlConnector.MySqlException (0x80004005): Table '****.AbpSessions' doesn't exist
  • Steps to reproduce the issue: I upgrade my solution to 8.3.0. Perhaps I have added some module? Now I got above error.

I want to create ABP application, expecially ABP module solution. I want to find out the precise package version that abp depends on.

  • ABP Framework version: v8.3.0
  • UI Type: Blazor Server
  • Database System: EF Core MySQL)
  • Tiered (for MVC) or Auth Server Separated (for Angular): no
  • Exception message and full stack trace: There is a menu named 'ABP Suite' in ABP Studio toolbar. I clicked 'Change Version', and set the version to 8.3.0 Then I create a solution in ABP Studio. After I open the new solution created, I found athat all the volo.abp.* packages is 8.2.2 Why?

only with Enter? the ABP framework will splict my multiple lines by Enter to get multiple URLS?

  • I delete database.
  • Then I run migrator to create database again.
  • Start HttpApi Host, Auth Server and Blazor Application.
  • My Blazor application worked very well for every razor. So I think the matter is caused by URL settings for application of Auth Server clients.

How to setup multi urls? I must add my internet address to below picture.

I think my error is caused by some configuration. I must configure my Blazor application to work with Nginx reverse proxy.

Showing 21 to 30 of 185 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 December 08, 2025, 08:24
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.