Hello again,
When I run the command abp generate-proxy -t csharp -u http://localhost:53929/ -m fileManagement
in domain layer, I can see that files generated
But the project gives compile error since there are missing packages regarding application service. For example:
I guess adding the Volo.Abp.Application.Services
package is not a right way to do it. How to resolve that?
Okay. Thanks for suggestions
Okay, I got it. Besides its functionality, we don't want to generate the proxy scripts when every time code changes. When I examine here, we think that X ABP module is an external API and Y module shouldn't work without X module service (at least on some business logics). We know that there is a dependency issue. Let's say that I have a business logic that should run with X module API and I need to call it in domain service. I think Y.Domain like a client application and we can reference HttpApi.Client layer on Y.Domain layer since we run a business logic by using X module API.
Do we violate the rules in terms of DDD by giving the X.HttpApi.Client reference to Y.Domain or is it a basically dependency issue that we should think about?
If I understand it correctly, I need to add X.HttpApi.Client reference to Y.Domain. If the answer is yes, I have two questions:
Is using this package okay on HttpApi.Host application?
Yes, I know how to use this in another client, but I want to use this app service with current user authorization in another web application. I don't want to configure the username or password on configuration file. How to use this app service without giving some information on configuration file? I prefer to do that with Dynamic C# API Client Proxies or is there any different options for that purpose?
Is there a way to do it with the tenant name like passing the __tenant value in the header values?
It works as expected, but I've faced 415 error while publishing a new workflow definition on dashboard. I've inserted 'Content-Type':'application/json'
in request.headers
Thanks a lot!
Hello,
I've sent it. Thanks
any suggestions? any thoughts? any ideas?