Hello @SriRaghavendran Prabhakaran - Just adding to Bruce's answer here: consider using Dapr Integration with your Azure Container Apps: Dapr integration with Azure Container Apps
calling JS file in .net core api
Hello,
I have a requirement to call a npm package in ASP .net core web api. Please suggest, how can i proceed it with.
this need to be containerized (.net core+npm package)
Developer technologies ASP.NET ASP.NET Core
Azure Container Apps
-
Bruce (SqlWork.com) 77,686 Reputation points Volunteer Moderator
2023-11-06T16:24:49.92+00:00 You will need to run two processes in your container
https://docs.docker.com/config/containers/multi-service_container/
the first is a node express application that implements a webapi to the node package you want to use. The port need not be exposed outside the container.
https://expressjs.com/en/starter/hello-world.html
the second process is asp.net core app. This app will HttpClient to call the node express app. It port(s) will need to be exposed.