Activities of "mmaldonado@emscltd.com"

Hi,

Open the ServiceBHttpClientModule class and change AddHttpClientProxies to AddStaticHttpClientProxies

You can search for AddHttpClientProxies globally and replace it with AddStaticHttpClientProxies in the MicroserviceB solution.

Hi,

I am still facing a problem, is it possible to set a meeting to show you so you could help me find the error?

Hi,

It looks like you are using the Dynamic proxy.

The Dynamic proxy system needs to get the API defines from the gateway.

You can consider using the Static proxy.

  • Run the abp generate-proxy -t csharp -m TheModuleNameOfServiceB -u TheURLOfServiceB on the ServiceB.HttpApi.Client project directory
  • Open the ServiceBHttpClientModule class and change AddHttpClientProxies to AddStaticHttpClientProxies

Now it should be working.

If you don't know the TheModuleNameOfServiceB, you can access the TheURLOfServiceB:/api/abp/api-definition endpoint to check it.

Hi,

It still load with dynamic proxy

you should modify the function

mapEnumToOptions(CustomDataType);

on microservices to get the localization of service

It did not work, since i am on microservice template I have to use the prefix of the owner

const label: string = this.localizationService.instant('MyService::Enum:' + enumTypeName + '.' + element.key);

abp generate-proxy -t ng -m identity -u https://localhost:44388 --target identity-service --api-name Identity abp generate-proxy -t ng -m identityServer -u https://localhost:44388 --target identity-service --api-name Identity abp generate-proxy -t ng -m abp -u https://localhost:44388 --target identity-service --api-name Identity abp generate-proxy -t ng -m accountAdmin -u https://localhost:44388 --target identity-service --api-name Identity

hello,

looks like the solution I was looking is https://docs.abp.io/en/commercial/latest/startup-templates/microservice/synchronous-interservice-communication

I am going to treat the user as an object out of the microservice, I do not want to go over http request because i am inside the same server, but it makes sense, because I could split the microservices into many servers later

yes, microservice template, it is on first message

Hi,

Can you share the full steps? thanks.

  1. Create the entity Agency (class) (Domain)
  2. Create the entity AgencyUser (Class) (Domain)
  3. Create the map for entities on separate files (EntityFrameworkCore )
  4. Add dbSet for AgencyUser and Agency to dbContext
  5. Call the maps from dbContext
  6. Add reference to package: Volo.Abp.IdentityServer.Domain to EntityFrameworkCore and Domain projects ( I add this package to get the user as FK)

there are no more steps.

Could you guide me how should I solve this? or which should be the correct implementation for this ?

Answer

I couldn't understand well but if you want to change layout. You just remove abp-dynamic-layout. and add <router-outlet> and are ready to go. if you want to use <abp-sidemenu> you can use it. Just add in HTML.

Result

I would like to re use your components, like your menu, to create a secondary menu

my secondary menu is dinamic based on the context and role, but as you can see, the style, the behavior are not the same, so I have to create a component to fit your style, so is better if I could re-use your component.

also I need to work with breadcrumb

Answer

Would you describe what is your purpose for using Abp Side Menu? What do you want to do ?

also to keep working with guards, I am thinking is better to re use instead of write new component for same functionallity, full functionallity about menu, permissions, style,

顯示 40 個紀錄的 11 到 20 個.
Made with ❤️ on ABP v8.2.0-preview Updated on 3月 25, 2024, 15:11