Activities of "zhongfang"

# cd wwwroot
# ls
 _content              'favicon copy.ico.gz'   favicon.ico.gz         global-scripts.js.gz   global-styles.css.gz   Loda.Platform.Blazor.styles.css
'favicon copy.ico'      favicon.ico            global-scripts.js      global-styles.css      images                 Loda.Platform.Blazor.styles.css.br
'favicon copy.ico.br'   favicon.ico.br         global-scripts.js.br   global-styles.css.br   libs                   Loda.Platform.Blazor.styles.css.gz
#  

QQ邮箱的Web界面太落伍了,还没有引入AI。你几年前就是我的通讯录联系人了。重新发送了。

我的Dockerfile是WindSurf生成的,不是我以前那样用VIsual Studio 2026来生成; .csproj也被WindSurf改了两个包,因为你默认的包里有WebAssembly字样的包,被移除了。

你们得多提交点东西给AI训练。我最近高度依赖WindSurf,没想到它能给我改这么多错误,连dotnet publish都搞出问题来。

先前我也是用mardown的语法三个波浪加三个波浪,竟然触发了cloudfare的拦截,说我被blocked了。。。

现在是ABP的警告框。

但是我刚刚给你发的邮件,被退回来啦

我要在markdown编辑器里发3个代码块,被阻止了。所以我给maliming@abp.io发了个邮件。

Okay, I will wait the version. Can you return the ticket to me?

I have read the post. May I wait the next ABP version to fix the bug?

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.

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();
    ~~~
Showing 11 to 20 of 136 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.