Open Closed

How to use Text Template Management Module in micro service architecture. #2600


0
imranStem created

Hello Team,

I have configured the microservice architecture. I have 5 microservices and I want to use Text Template Management Module in one of the microservice modules. The text template is based on angular UI instead of Razor configuration. I checked the many documents but was not able to find any related document to fetch the text template from the database and bind the model with the template using angular language.

The sample code or any document would be greatly appreciated.

Thanks

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

1 Answer(s)
  • 0
    gterdem created
    Support Team

    You need to add each respected layer to related layer of the microservice you want to use like:

    • YourMicroservice.Domain.Shared should have reference of Volo.Abp.TextTemplateManagement.Domain.Shared
    • Also add DependsOn attribute to your microservice Module.

    AdministrationService hosts many management modules that you can take an example of.

    As for UI, based on your modular or monolith UI development; you can use related package. You can see the packages under Abp Commercial Packages tab.