Activities of "AbpRaven"

Answer

ok. I have fixed this problem. Need to manuly create "ClientProxies" folder. But I faced a new one problem. When I use this command abp generate-proxy -t csharp -u http://localhost:44331/ I can not see that Dtos were created. Why? In app-generate-proxy.json I can see them, but not physically.

Answer

HI,

we have to create projects manualy (for example Domain, Domain.Shared and so on)

you don't need to do this.

you can configure csharp proxy in the Web project

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

Add generate-proxy.json config to csproj file

  <ItemGroup> 
    <EmbeddedResource Include="**\*generate-proxy.json" /> 
    <Content Remove="**\*generate-proxy.json" /> 
  </ItemGroup> 

Then you can use abp command to generate proxy

I did it in service B and then I ran Service A and tryed to use this command (abp generate-proxy -t csharp -u http://localhost:44331/) in serice B but I get this error System.IO.DirectoryNotFoundException: Could not find a part of the path 'path\Service B\ClientProxies\app-generate-proxy.json'.

Answer

Thank you so much!

Answer

but currently I have this structure

And I want to split it for a sevrel layers

Answer

And am I right that in current microservice template we have to create projects manualy (for example Domain, Domain.Shared and so on)? Or maybe ABP has some command vie CLI?

We solved the issue. Just remove these certificate and create a new ones.

and next question. at what point these certificates are installed

Hi,

I am not able to reproduce this issue from a newly create app (6.0.0) on abp suite. Could you please share your project to support@abp.io.?

This problem is not with source. Could you explain me what it is "localhost.conf"?

Hi,

Can you try this solution. https://support.abp.io/QA/Questions/3537/OpenIddict-WindowsCryptographicException-Access-is-denied

Hi I don't have IIS on my local machine. I am not deploying an application. I am running a project locally for development and am getting this error.

Answer

hi I sent

Showing 11 to 20 of 30 entries
Made with ❤️ on ABP v9.0.0-preview Updated on September 19, 2024, 10:13