Book description
Unlock the potential of evergreen browsers and increase the efficiency of your ASP.NET applications by learning how to write JavaScript
About This Book
- Boost your skillset and start bringing JavaScript into your web development projects
- Leverage your existing ASP.NET knowledge to develop dynamic and responsive SPAs
- Learn effective design patterns for sustainable, and scalable web development
Who This Book Is For
This book is for ASP.NET developers that want to bring JavaScript into their skillset to build applications that are truly dynamic and responsive. It's for developers who are focused on developing for users who want to deliver a great end product and a fantastic experience.
What You Will Learn
- Get to grips with the basic to advanced concepts of JavaScript
- Learn how to use JavaScript on server side using Node.js
- Develop web applications in ASP.NET using JavaScript
- Get to know with industry-wide best practices and design patterns that provide maintainability and scalability
- Build an ASP.NET application using Angular 2 with TypeScript and Web API
- Explore WinJS and see how to use mobile capabilities from web applications
- Use JavaScript to develop scalable ASP.NET applications
- See how to test and debug JavaScript
In Detail
If you want to improve responsiveness or the UX in your ASP.NET applications, JavaScript can be a life saver. In an age where server-side operations have shifted to the client, being able to handle JavaScript with confidence and fluency is vital for ASP.NET developers. There's no point trying to fight it, so start learning with this book. Make sure your projects exceed user expectations.
Begin by getting stuck into the basics of JavaScript, and explore the language in the context of ASP.NET Core. You'll then find out how to put the principles into practice, as you learn how to develop a basic ASP.NET application using Angular 2 and TypeScript. You'll also develop essential skills required to develop responsive apps, with a little help from AJAX, ensuring that you're building projects that can be easily accessed across different devices.
With guidance on Node.js and some neat techniques to test and debug a range of JavaScript libraries in Visual Studio, you'll soon be well on your way to combining JavaScript with ASP.NET in a way that's capable of meeting the challenges of modern web development head-on.
Style and approach
This book will build the skillset of every .NET developer, so they can build stronger and more responsive web apps with confidence.
Table of contents
-
JavaScript for .NET Developers
- Table of Contents
- JavaScript for .NET Developers
- Credits
- About the Author
- About the Reviewer
- www.PacktPub.com
- Preface
-
1. JavaScript for Modern Web Applications
- Importance of JavaScript
- Setting up your environment
-
Programming in JavaScript
- Core fundamentals of JavaScript
- Elements of JavaScript
- Expressions
- Operators
- Built-in display methods in JavaScript
- Browser Object Models in JavaScript
- Summary
-
2. Advanced JavaScript Concepts
- Variables – scope and hoisting
- Events in JavaScript
- Function arguments
-
Object-oriented programming in JavaScript
- Creating objects
- Exception handling
- Closures
- JavaScript typed arrays
- Maps, sets, weak maps, and weak sets
- Summary
-
3. Using jQuery in ASP.NET
-
Getting started with jQuery
- Using a content delivery network
- The document ready event
-
The jQuery selectors
- Selecting the DOM elements using the ID
- Selecting the DOM elements using TagName
- Selecting nodes by the class name
- Selecting by the attribute value
- Selecting input elements
- Selecting all the elements
- Selecting the first and last child elements
- The contains selector in jQuery
- Selecting the even and odd rows selectors
- Manipulating DOM
- Event handling in jQuery
- Summary
-
Getting started with jQuery
-
4. Ajax Techniques
- Introducing Ajax
- Calling WCF services from JavaScript
- Summary
-
5. Developing an ASP.NET Application Using Angular 2 and Web API
- TypeScript
- Introduction to Angular 2
- Developing a to-do application in ASP.NET Core
- Summary
- 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
- Testing the JavaScript code
- Debugging JavaScript
- Summary
- Index
Product information
- Title: JavaScript for .NET Developers
- Author(s):
- Release date: July 2016
- Publisher(s): Packt Publishing
- ISBN: 9781785886461
You might also like
book
Building Web Applications with .NET Core 2.1 and JavaScript: Leveraging Modern JavaScript Frameworks
Roll up your sleeves and jump into building web applications using .NET Core 2.1 and the …
book
ASP.NET Core Recipes: A Problem-Solution Approach
Quickly find solutions to common web development problems. Content is presented in the popular problem-solution format. …
book
Essential ASP.NET Web Forms Development: Full Stack Programming with C#, SQL, Ajax, and JavaScript
Go from beginner to pro using one of the most effective and widely used technology stacks, …
book
Begin to Code with JavaScript
Become a JavaScript programmerand have fun doing it! Start writing software that solves real problems, even …