Activities of "liangshiwei"

Hi ,

Try add AbpAccountPublicWebIdentityServerModule module to your .Web project module dependencies.

Hi,

  1. You can use the CLI to create a module project and you will see the console application in the aspnet-core/test folder. It just a simple application.
  2. Abp used oauth2.0 protocol for authorization, see https://github.com/abpframework/abp/blob/d4551c83b7379b8a47e82bbe3adfbcf02273e54a/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.HttpApi.Host/MyProjectNameHttpApiHostModule.cs#L96

There are some document:

Authorization OAuth2.0 IdentityServer4 abp commercial IdentityServer4

Hi,

You can use setting system to store the cards layout settings and change cards layout in js function.

Hi,

  • Console application You can check the console application : https://github.com/abpframework/abp/blob/dev/templates/module/aspnet-core/test/MyCompanyName.MyProjectName.HttpApi.Client.ConsoleTestApp/ClientDemoService.cs.
  • Postman You can call token endpoint to get access token, See : https://identityserver4.readthedocs.io/en/latest/endpoints/token.html
Answer

Hi,

There is no such example, but abp does not restrict you from using multiple solutions. You can change the solution architecture according to your needs.

I think you can simply delete the other solution files(.sln) in the microservice example.

Hi,

You need to override UI interface. See https://docs.abp.io/en/abp/latest/Customizing-Application-Modules-Overriding-User-Interface

Add to app.UseSwagger(); before

Hi,

You can add a middleware to do it: like this:

if (!env.IsDevelopment())
{
    app.Use(async (httpContext, next) =>
    {
        if (httpContext.Request.Path.Value.ToLower().Contains("swagger"))
        {
            var user = httpContext.RequestServices.GetService<ICurrentUser>();
            if (user.IsAuthenticated && user.IsInRole("Admin"))
            {
                httpContext.Response.StatusCode = 404;
                return;
            }
        }
        await next.Invoke();
    });
}

Hi,

You need to enable multi-tenancy and install the saas module.

Hi,

You can refer the audit-loggin module.

Showing 5721 to 5730 of 5968 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 11, 2024, 11:11