Book Image

Learning Node.js for .NET Developers

Book Image

Learning Node.js for .NET Developers

Overview of this book

Node.js is an open source, cross-platform runtime environment that allows you to use JavaScript to develop server-side web applications. This short guide will help you develop applications using JavaScript and Node.js, leverage your existing programming skills from .NET or Java, and make the most of these other platforms through understanding the Node.js programming model. You will learn how to build web applications and APIs in Node, discover packages in the Node.js ecosystem, test and deploy your Node.js code, and more. Finally, you will discover how to integrate Node.js and .NET code.
Table of Contents (21 chapters)
Learning Node.js for .NET Developers
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface
Index

JavaScript and ASP.NET


On the server side, we don't need to wait for WebAssembly to mature in order to work with Node.js and .NET together. There is already some convergence between programming on these two platforms and support for interoperability between them.

Exploring .NET Core

The next version of NET, called .NET Core, makes some major changes to the platform. Some of these changes might seem familiar if you've spent some time working with Node.js. This is not just a coincidence. Microsoft are incorporating good ideas that have worked in Node.js and elsewhere into their ecosystem.

Defining project structure in .NET Core

.NET Core separates the programming platform from the IDE. Microsoft still recommends using Visual Studio, but have made it much easier to use other editors. For example, the OmniSharp project (http://www.omnisharp.net/) supports development in other editors, providing features such as Intellisense outside of Visual Studio.

One aspect of this change is simplifying the use...