R
R
Roman Rakzin2016-10-25 02:48:21
ASP.NET
Roman Rakzin, 2016-10-25 02:48:21

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

3 answer(s)
S
Sergey, 2016-10-25
@senal

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.

N
Nikolai Molchanov, 2016-11-03
@kroniak

Look here, running js code inside asp.
https://github.com/aspnet/JavaScriptServices/blob/...

G
ggsandro, 2016-11-03
@ggsandro

Try downloading these templates for ASP.NET Core, they embed it there, like
https://visualstudiogallery.msdn.microsoft.com/31a...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question