Is there any similar techniques/services like console app in .net technology for MEAN stack?

General Tech Technology & Software 2 years ago

0 2 0 0 0 tuteeHUB earn credit +10 pts

5 Star Rating 1 Rating

Posted on 16 Aug 2022, this text provides information on Technology & Software related to General Tech. Please note that while accuracy is prioritized, the data presented might not be entirely correct or up-to-date. This information is offered for general knowledge and informational purposes only, and should not be considered as a substitute for professional advice.

Take Quiz To Earn Credits!

Turn Your Knowledge into Earnings.

tuteehub_quiz

Answers (2)

Post Answer
profilepic.png
manpreet Tuteehub forum best answer Best Answer 2 years ago

We have a web & console application in .net technology. The console app will be run through the web application by passing required params for analysis and report purpose.. The console tool will executed by pragmatically and then tool will run independently to generate the data for analysis and reports.

Now we are trying to change the technology from .NET to MEAN stack. We have already developed the web application. Is there any techniques/services in MEAN stack like console app ? So that i can execute the tool/service separately to generate the data for reports like .NET.

If no techniques, please suggest me How to achieve this in MEAN stack ?

profilepic.png
manpreet 2 years ago

The MEAN stack includes Node.js, which can be used to create a command line application.

You can get command line arguments inside a Node.js JavaScript file using process.argv:

process.argv is an array containing the command line arguments. The first element will be 'node', the second element will be the name of the JavaScript file. The next elements will be any additional command line arguments.

You can then execute the file by running node file.js argument1 argument2.


0 views   0 shares

No matter what stage you're at in your education or career, TuteeHub will help you reach the next level that you're aiming for. Simply,Choose a subject/topic and get started in self-paced practice sessions to improve your knowledge and scores.