Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
JavaScript for .NET Developers

You're reading from   JavaScript for .NET Developers Developing for the modern web

Arrow left icon
Product type Paperback
Published in Jul 2016
Publisher Packt
ISBN-13 9781785886461
Length 390 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Ovais Mehboob Ahmed Khan Ovais Mehboob Ahmed Khan
Author Profile Icon Ovais Mehboob Ahmed Khan
Ovais Mehboob Ahmed Khan
Arrow right icon
View More author details
Toc

Table of Contents (12) Chapters Close

Preface 1. JavaScript for Modern Web Applications FREE CHAPTER 2. Advanced JavaScript Concepts 3. Using jQuery in ASP.NET 4. Ajax Techniques 5. Developing an ASP.NET Application Using Angular 2 and Web API 6. Exploring the WinJS Library 7. JavaScript Design Patterns 8. Node.js for ASP.NET Developers 9. Using JavaScript for Large-Scale Projects 10. Testing and Debugging JavaScript Index

Setting up your environment

Before going through this book, let's set up your environment. There are many renowned editors available in the market to create JavaScript projects such as Sublime Text, Komodo IDE, NetBeans, Eclipse, and more, but we will use Visual Studio 2015 that came up with some good improvements, helping developers to work on JavaScript in a better way than before.

To proceed, let's download and install Visual Studio 2015. You can download the Visual Studio 2015 community edition from https://www.visualstudio.com/, it's a free version and provides certain improvements as described in the following section.

New editing experience of JavaScript in Visual Studio 2015 IDE

The new Visual Studio 2015 IDE provides many rich features for developing web applications and various templates are available to create projects on different frameworks and application models. The earlier version already supported IntelliSense, colorization, and formatting but the new Visual Studio 2015 IDE has some more improvements that are as follows:

  • Added support for the ECMAScript 6 scripting language, which is formally known as ES2015. With the new ES2015, many features have been added, you can now define classes, lambdas, spread operator, and proxy objects. So, with Visual Studio 2015, you can get all IntelliSense using these features in your JavaScript code.
  • Support for popular JavaScript client-side frameworks such as Angular, ReactJS, and so on.
  • Documentation comments that help you add comments to your JavaScript methods and show the description when you use them:
    New editing experience of JavaScript in Visual Studio 2015 IDE
  • IntelliSense for new JavaScript APIs such as touch event and Web Audio API.
  • You can use tokens such as //TODO, //HACK, and //UNDONE, and it gives you a listing in the Task List window that helps to trace the to-do items:
    New editing experience of JavaScript in Visual Studio 2015 IDE
  • With JavaScript files, Visual Studio 2015 provides the same navigation bar we used to see when writing classes in any .NET language. Selecting and navigating to different methods of JavaScript is far easier with this feature:
    New editing experience of JavaScript in Visual Studio 2015 IDE
You have been reading a chapter from
JavaScript for .NET Developers
Published in: Jul 2016
Publisher: Packt
ISBN-13: 9781785886461
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image