Activities of "zhongfang"

Ok,Ok。 If ABP can check above error stage, and mentioned us. It will save time for us.

I have found out the problem. Is that out parameter not supported in HttpController?

[HttpGet]
    [Route("try-open-id")]
    public bool TryGetOpenId(Guid? userId, out string openId)
    {
        return this._userWeChatIdAppService.TryGetOpenId(userId, out openId);
    }

private void ConfigureAuthentication(ServiceConfigurationContext context, IConfiguration configuration) { context.Services.AddAuthentication(options => { options.DefaultScheme = "Cookies"; options.DefaultChallengeScheme = "oidc"; }) .AddCookie("Cookies", options => { options.ExpireTimeSpan = TimeSpan.FromDays(365); }) .AddAbpOpenIdConnect("oidc", options => { options.Authority = configuration["AuthServer:Authority"]; options.RequireHttpsMetadata = Convert.ToBoolean(configuration["AuthServer:RequireHttpsMetadata"]);; options.ResponseType = OpenIdConnectResponseType.CodeIdToken; options.ClientId = configuration["AuthServer:ClientId"]; options.ClientSecret = configuration["AuthServer:ClientSecret"]; options.SaveTokens = true; options.GetClaimsFromUserInfoEndpoint = true; options.Scope.Add("role"); options.Scope.Add("email"); options.Scope.Add("phone"); options.Scope.Add("Brain"); }); }

A TIRED blazor server side application。 I think it is caused by some configuration such as CORS to call API?

<strong>@L["Roles"]</strong>: @CurrentUser.Roles.JoinAsString(", ")

Waiting for you good news!

Any progress?

Oh, I add above global features. Then I rebuild the solutions. Run ef migrations add again. still got nothing.

[DependsOn(typeof(CmsKitProDomainSharedModule))]
    public class Id5DomainSharedModule : AbpModule
    {
        public override void PreConfigureServices(ServiceConfigurationContext context)
        {
            Id5GlobalFeatureConfigurator.Configure();
            Id5ModuleExtensionConfigurator.Configure();
        }

        public override void ConfigureServices(ServiceConfigurationContext context)
        {
            Configure&lt;AbpVirtualFileSystemOptions&gt;(options =>
            {
                options.FileSets.AddEmbedded&lt;Id5DomainSharedModule&gt;();
            });

            Configure&lt;AbpLocalizationOptions&gt;(options =>
            {
                options.Resources
                    .Add&lt;Id5Resource&gt;("en")
                    .AddBaseTypes(typeof(AbpValidationResource))
                    .AddVirtualJson("/Localization/Id5");

                options.DefaultResourceType = typeof(Id5Resource);
            });

            Configure&lt;AbpExceptionLocalizationOptions&gt;(options =>
            {
                options.MapCodeNamespace("Id5", typeof(Id5Resource));
            }); 
            
            GlobalFeatureManager.Instance.Modules.CmsKit(cmsKit =>
            {
                cmsKit.EnableAll();
            });

            GlobalFeatureManager.Instance.Modules.CmsKitPro(cmsKitPro =>
            {
                cmsKitPro.EnableAll();
            });
        }
public partial class AddTables_CmsKitPro_Enabled : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {

        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {

        }
    }

Yes, I call InsertAsync in try catch.

I must InsertAsnyc first, then continue with throw exception.

How to do?

After I upgrade to the 5.1.3. It is OK, now.

Showing 91 to 100 of 121 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.0.0-preview. Updated on September 18, 2025, 07:10