Microsoft has released a set of tools that use their dotnet-new tools and a flexible approach to using node. js to quickly build JavaScript-based Web applications.
The Dotnet-new tool is part of the. NET core tool for starting a new project with simple commands. As part of ASP. NET Core JavaScript Services, Web developers can now use the same commands to launch new single-page applications (SPAS).
Steve Sanderson wrote in an article that the purpose of using these templates was to make the initial easier: "We often hear that building these applications (using the angular or react spa) is complicated. Integrating server and client code together can be a challenge, or even simply to initially select an efficient project plan. ”
The availability of these project types depends on the Microsoft.AspNetCore.SpaTemplates NuGet package. Once the installation is complete, use such commands to enable angular, react, reactredux, Aurelia, and knockout to start: dotnet new Reactredux
The source code for these templates is in GitHub. Because this is a. NET core tool, installing one of these templates creates an ASP. "Angular" is a angular application.
Elsewhere in the JavaScript community, options such as the Create-react-app and angular CLI provide an easy way for you to launch these applications, known as node. js and NPM. Based on the dotnet-new. NET provides developers with options that they might be more familiar with the Microsoft environment. But, in some ways, these new. NET tools will be more comprehensive.
For example, the angular and Reactredux templates include the default server-side rendering (which can be turned off). All of these project types use Webpack to bundle front-end code (in addition to the Aurelia template), and hot Module replacement is enabled by default.
Although this is a. NET application, but it still uses node. js through Spaservices. Spaservices uses Microsoft.AspNetCore.NodeServices to enable ASP. NET developers to use the node. JS system without actually running node. JS directly. Sanderson says it all happens "behind the scenes": for example, to pre-build a angular or react component on a server, it needs to execute JavaScript on the server. It is implemented through Nodeservices, which launches hidden node. JS instances and provides a quick and robust way to call from. Net.
Sanderson is also the creator of Knockout.js.
Microsoft Office 365 Business Edition Downloads >>>>
"Article source of HPE control, original not easy, reproduced please indicate the source"
Microsoft's Dotnet-new tool makes it easier to create JavaScript WEB programs