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'.
Thank you so much!
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.
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.
hi I sent