Activities of "AbpRaven"

Question

Hi all.

In SettingsDefinition I can see these settings:

Could you tell me please for what we have them? I tried to find any information but I did not manage to find anything usefull. Do we have some base worker or maybe some job with these setting?

Best regards and thanks in advance

Answer

Thank you so much! Please add this information into documentation

Answer

Does it mean that I have to have DTOs models not in Contracts layer?

no, just the namespace.

And result

Answer

Could anyony help me??

Answer

Does it mean that I have to have DTOs models not in Contracts layer?

Answer

yes.

Answer

without dtos

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

it does not help. I have the same result

Answer

I see it but in which solution?? I have 2 solutions: auth service (client) and Identity (server). In which one I have to add HttpApi.Client

Auth Solution (has just 1 project):

  • Service (here I added AbpHttpClient and EmbeddedResource)

Identoty Solution (has 2 projects):

  • Service
  • Contracts

So as far as I understood I have to add HttpApi.Client project into Auth Solution. Am I right?

Answer

It shoud be on the client side (in my case in the auth service)?

Showing 1 to 10 of 40 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 v9.3.0-preview. Updated on May 20, 2025, 06:55