Activities of "liangshiwei"

Answer

it does not help. I have the same result

what result?

you can try reference Volo.Abp.EntityFrameworkCore package in the Application project

var entityChangeQueryable = (await _auditLogRepository.GetDbContextAsync()).Set<EntityChange>().AsQueryable();
var securityLogQueryable = (await _identitySecurityLogRepository.GetDbSetAsync()).AsQueryable();

sorry, i have no idea

https://github.com/abpframework/abp/pull/20673

Answer

Create HttpApi.Client project for each service.

[DependsOn(
    typeof(AbpHttpClientModule), //used to create client proxies
    typeof(AbpVirtualFileSystemModule) //virtual file system
)]
public class XXXServiceHttpClientModule : AbpModule 
{ 
    public override void ConfigureServices(ServiceConfigurationContext context) 
    { 
        // Prepare for static client proxy generation 
        context.Services.AddStaticHttpClientProxies( 
            typeof(XXXServiceHttpClientModule).Assembly, 
            XXXServiceRemoteServiceConsts.RemoteServiceName
        ); 
 
        // Include the generated app-generate-proxy.json in the virtual file system 
        Configure<AbpVirtualFileSystemOptions>(options => 
        { 
            options.FileSets.AddEmbedded<XXXServiceHttpClientModule>(); 
        }); 
    } 
} 

then generate proxy file(Dtos, services etc...)

For example: abp generate-proxy -t csharp -u xxx -m identity (XXXServiceRemoteServiceConsts.RemoteServiceName's value)

Other services can then reference this project for API calls

Answer

Hi,

should put it in the service solution

MyService MyService.HttpApi.Client MyService.Contracts

Answer

Hi,

OH, i see, in this way, I recommend you to create a new project named HttpApi.Client.

and configure static proxy in the HttpApi.Client project

Hi,

It's easy to do, you can disable the local login on the setting page

Hi,

Please remove all account module packages from your solution. (Volo.Abp.Account.xxxx) then install account pro module to your solution (Volo.Abp.Account.Pro.xxxx)

Hi,

could you also share gateway and administration service logs? thanks.

Showing 181 to 190 of 5643 entries
Made with ❤️ on ABP v9.0.0-preview Updated on September 20, 2024, 08:30