- ABP Framework version: v4.4.0
- UI type: MVC
- DB provider: EF Core / MongoDB
- **Micro service template
We gone through the link and tried to define new text template https://docs.abp.io/en/abp/latest/Text-Templating#defining-templates
we are unable to trigger TemplateDefinitionProvider, aded to web application while running the application.
42 Answer(s)
-
0
hi
It will triggered when you're using the template fuctions.
-
0
-
0
hi
You can define the Razor or Scriban template. Then it will show in this list.
https://docs.abp.io/en/abp/latest/Text-Templating-Razor https://docs.abp.io/en/abp/latest/Text-Templating-Scriban
-
0
-
0
hi
https://zoom.us/j/92718384520?pwd=ZE5sYnZIQmlzTUdrbXF0dHFmWUpNZz09
Can i check it?
-
0
hi
I am ready to join now
-
0
https://zoom.us/j/95166594146?pwd=bU0yVitydnBhZGMxTlJURzJsMEl3UT09
-
0
There are some problems with ZOOM.
Can you create a new project and try your code then share it with me? liming.ma@volosoft.com
-
0
can we try again in zoom
-
0
can we try again in zoom
-
0
I can't control your computer in ZOOM.
-
0
we will try once again
-
0
https://zoom.us/j/95270082795?pwd=OHhoYXJoUUgzTTFQTWI1M3BhM1Uydz09
-
0
https://support.abp.io/QA/Questions/1669#answer-c03a1acf-3901-fd26-f527-39fe2ce102ce
-
0
We created new project and tried but facing same issue. How to share project with your email, project compressed size is 183MB
-
0
You can run the
delete-bin-obj-folders.bat
and compress project, liming.ma@volosoft.com -
0
project sent to liming.ma@volosoft.com
-
0
hi
Please add your code to
TextTemplateDemo.HttpApi.Host
project insteadTextTemplateDemo.Web
-
0
Code added to TextTemplateDemo.HttpApi.Host
Now templates showing in text templates module list, but not able to render Hello template. we are able to render StandardEmailTemplates.Message template.
When we were added code to TextTemplateDemo.Web, we were able to render template but not displaying in the texttemplate list.
-
0
but not able to render Hello template
You can't do this in
TextTemplateDemo.Web
project.It only available in
TextTemplateDemo.HttpApi.Host
project. -
0
We can render StandardEmailTemplates.Message template in TextTemplateDemo.Web
how to render hello templates in TextTemplateDemo.Web like StandardEmailTemplates.Message template.
-
0
HI
The
TextTemplateDemo.Web
is a UI project, It should not contains business logic. egrender hello templates
You can render template in application. then call it in
TextTemplateDemo.Web
project. -
0
Hi,
We are using micro service template for our application and we have multiple micro services.
We want to develope custom text templates for all the microservices.
For normal application we can implement text templates in TextTemplateDemo.HttpApi.Host project, but in micro service where do we implement text templates at one place for all micro services.
Our micro service application structure:
-
0
hi
Maybe you can try to add it in
AdministrationService
.AdministrationService is an infrastructural microservice
https://docs.abp.io/en/commercial/latest/startup-templates/microservice/microservices#administrationservice
-
0
Hi,
We created a new text template in AdministrationService and we are able to see the template in text template list.
To access the template we created app service and controller in Administration service and we are able see the API in Swagger but not able to use it from web and not found in ServiceProxyScript