Starts in:
99 DAYS
99 HRS
99 MIN
99 SEC
Starts in:
99 D
99 H
99 M
99 S

Activities of "liangshiwei"

Answer

Can you share the error logs? Thanks.

Answer

Hi,

Here have an example : https://github.com/abpframework/abp-samples/tree/master/TextTemplateDemo, may can help you. Why you close this question? Did you resolve this?

Hi,

Because you are using tiered template, the .web project just a UI layer. If you want use repository, you need add .EntityFrameworkCore module dependencies to the web module. like:

Hi,

I can't reproduce your problem, can you provide an example to reproduce? Thanks. You can send the example to my email : shiwei.liang@volosoft.com.

See https://github.com/abpframework/abp/issues/394#issuecomment-683447380

Hi,

I think this is a big question. You can wait for https://support.abp.io/QA/Questions/361/What-is-the-estimated-timeline-for--'startup-template-to-create-microservices'#answer-efdd439d-15f8-4a83-d4b4-39f737902052

Answer

Hi,

Can you explain in detail? thanks.

Answer

Hi,

This is a problem.

Try to add the following code to the .identityserver project:

public class FormTenantResolveContributor: HttpTenantResolveContributorBase
{
    public const string ContributorName = "Form";

    public override string Name => "Form";

    protected override string GetTenantIdOrNameFromHttpContextOrNull(
        ITenantResolveContext context,
        HttpContext httpContext) => httpContext.Request?.Form[context.GetAbpAspNetCoreMultiTenancyOptions().TenantKey];
}
Configure<AbpTenantResolveOptions>(options =>
{
    options.TenantResolvers.Add(new FormTenantResolveContributor());
});

Try to add the following code to the .Web project:

.AddOpenIdConnect("oidc", options =>
{
    //.......
    
    options.Events = new OpenIdConnectEvents()
    {
        OnAuthorizationCodeReceived = receivedContext =>
        {
            if (receivedContext.Request.Cookies.ContainsKey("__tenant"))
            {
                receivedContext.TokenEndpointRequest.SetParameter("__tenant",
                    receivedContext.Request.Cookies["__tenant"]);
            }

            return Task.CompletedTask;
            ;
        }
    };
}
Answer

I will check it out.

Answer

Do you initialize seed data? try run the .DbMigrator project.

Showing 2101 to 2110 of 2428 entries
Made with ❤️ on ABP v9.2.0-preview. Updated on January 22, 2025, 10:44