Answer the question
In order to leave comments, you need to log in
How to use Node.js in an ASP.Net MVC project?
Give examples of connecting various JavaScript assemblies that can be useful when developing an Asp.Net application in Visual Studio.
How to screw them on?
Although everything can be implemented without JavaScript, it is the collaboration of JavaScript packages with the Visual Studio project that is interesting. As a collaboration tool, I have now found a NuGet extension - Microsoft Edje, through which you can "sew" Asp.Net functions into Node.js and vice versa. And another question, since I just started studying the topic, I still didn’t understand about all sorts of Gulp, Grunt, Browserify, etc. - how to screw it all up?
Answer the question
In order to leave comments, you need to log in
In ASP.NET, Gulp, Grunt, Browserify and so on are mainly used for Front End assembly, to see the finished example, create a new ASP.NET Core project.
They are attached to an existing project via npm (init, install). I don’t see much point in using JavaScript + .NET on the server, but https://github.com/tjanczuk/edge allows you to do this if necessary.
Look here, running js code inside asp.
https://github.com/aspnet/JavaScriptServices/blob/...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question