Node.js for .NET Developers
- Length: 112 pages
- Edition: 1
- Language: English
- Publisher: Microsoft Press
- Publication Date: 2015-04-11
- ISBN-10: 0735662983
- ISBN-13: 9780735662988
- Sales Rank: #2631290 (See Top 100 Books)
Build scalable, high-traffic websites and web applications with Node.js
For many .NET programmers, Node.js represents a new way to build high-traffic websites and applications. Now there’s a practical, concise introduction to Node.js specifically for Microsoft developers. David Gaynes guides you through the entire Node.js development process. Using Microsoft Visual Studio examples, he addresses everything from setting up servers and authorization through delivering rich CSS pages packed with graphics and data-driven content. Gaynes clearly explains Node.js’s async model, coding approach, request/response paradigm, site structure, data management, security, and more. This quick guide will help you apply your hard-won .NET skills to Node.js.
Expert guidance showing you how to:
- Choose, organize, and configure the tools you need to build Node.js solutions in Visual Studio
- Apply JavaScript coding practices that help you avoid problems in Node.js
- Work with callback functions and the Node.js asynchronous programming model
- Set up a Node.js project and use what you know about MVVM and MVC patterns
- Control the entire Node.js request/response life cycle
- Establish site structure, routes, and access to static resources
- Manage data through caching, forms, IO techniques, and file uploads
- Integrate data from Microsoft SQL Server and other databases
- Use Passport to integrate simple, flexible authentication
Table of Contents
Chapter 1. Setup
Chapter 2. JavaScript and asynchronous code
Chapter 3. Coding Node.js
Chapter 4. Rendering with Node.js
Chapter 5. Working with site data in Node.js
Chapter 6. Working with external data in Node.js
Chapter 7. Working with file data in Node.js
Chapter 8. External authentication in Node.js
Chapter 9. Putting it all together in Node.js
Appendix. Common errors in Node.js