أنشطة "uyarbtrlp"

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 it best practice to consume X module API on domain layer by referencing X.HttpApi.Client?
  • If it is not the best practice, should we call remote service on application layer by referencing X.Application.Contracts to Y.Application.Contracts?

Hello,

I have a X module and I want to call one of its API on Y module in domain service. I want to use Synchronous Communication. Since the interface is in X.Application.Contracts and give the reference on Y.Application.Contracts, I am not able to use it in domain service. What is the best practice to call ABP module API in domain service?

Thanks

  • ABP Framework version: v5.3.3
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC): yes

Hello all,

We've been trying to make our OSS clearing. Our OSS clearing team have found @transloadit/prettier-bytes package which has a confusing license issue and said that it could be risky to use it for customers since it has AGPL license. When I look into the package-lock.json file of xx.IdentityServer project, I can see that it comes from @volo/account not directly but it's subcomponents.

When I examine the source code of the package, I see that the main source code has AGPL-v3 license. But when I go the packages folder and find the prettier-bytes folder, it is written as MIT license. https://github.com/transloadit/monolib/tree/%40transloadit/prettier-bytes%400.0.7. Also, when I search it on npm, I can confirm that it has MIT license for this version. Our team thinks that AGPL license overwrites MIT since the main source code has AGPL license. I know it is a strange case but I want to know your opinion or approach. We don't want to open our repository to public, of course. Is it safe to use it for end customers? What do you think about this issue?

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?

  • ABP Framework version: v5.3.3
  • UI type: MVC
  • DB provider: EF Core
  • Module Template (Separated Deployment & Databases Scenario): yes

Hello all,

I've wanted to use IIdentityRoleAppService to add roles, get roles etc. in my app service but somehow I have not been able to use it. I've examined the https://support.abp.io/QA/Questions/2785/Consume-external-REST-API-to-get-data issue to see how to use different application services in the app service. I've followed three steps that mentioned. I've ended up with "unauthorized error" even though I've had the right permissions. Here are the steps to reproduce the issue:

  1. Create a new solution by using the command abp new TestAppForRoleAppService -t module-pro --add-to-solution-file --output-folder C:\Users\TestAppForRoleAppService --version 5.3.3
  2. Create the db and seed the users
  3. Insert the Volo.Abp.Identity.Pro.Application.Contracts 5.3.3 package in TestAppForRoleAppService.Application.Contracts to get the interfaces.
  4. Insert the Volo.Abp.Identity.Pro.HttpApi.Client package in TestAppForRoleAppService.HttpApi.Host and insert it in module dependencies
  5. Remote service configuration on TestAppForRoleAppService.HttpApi.Host . (It's base url is https://localhost:44388/ which is the identity server url since the related services are in identity server)
  6. Use the IIdentityRoleAppServices to get all roles in the sample services
  7. Run the projects : TestAppForRoleAppService.HttpApiHost, TestAppForRoleAppService.IdentityServer and TestAppForRoleAppService.Web.Host
  8. Call it from the host by using the swagger and get the unauthorized error
  9. Check the identity server logs and see the error which is caused for missing privilege, but I have the right permission to get the roles.

Am I missing something to use the app service in another app service or is it kind a bug for the module template?

Thanks. Kind Regards

Hello,

I want to override AbpRemoteServiceOptions.BaseUrl while using the dynamic c# API clients on console application, but it still retrieves the value which is defined on the configuration. I've followed the issue (https://support.abp.io/QA/Questions/3224/How-we-can-extend-Dynamic-API-Client-Proxy-to-allow-changing-RemoteService-base-url-dynamically) and created an options manager.

I see that it still reads the value on the configuration.

How to change it dynamically?

  • ABP Framework version: v5.3.3
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

Is there a way to do it with the tenant name like passing the __tenant value in the header values?

Hello,

We've created a WPF application that uses the dynamic C# API client proxies. It consumes the HttpApi.Client module of our project. We basically want to set the tenant name while the request is being sent to do operations according to the tenant and expect it from the users with an input field. How can I set the tenant name while using the dynamic C# API client proxies?

  • ABP Framework version: v5.3.3
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"
عرض 11 الي 20 من 64 إدخالات
Made with ❤️ on ABP v8.2.0-preview Updated on مارس 25, 2024, 15:11