Book Image

ASP.NET Core Essentials

By : Shahed Chowdhuri
Book Image

ASP.NET Core Essentials

By: Shahed Chowdhuri

Overview of this book

<p>ASP.NET Core is the latest collection of Microsoft’s web application development technologies. When you’re trying to reach a broad spectrum of users with a robust web application, ASP.NET Core is there to help you build that application. With the ability to cater to users on desktop, tablet, or smartphone platforms, you can put together a solution that works well anywhere.</p> <p>This book is what you need to get started developing ASP.NET Core applications was quickly as possible; starting by introducing the software and how it can be used in today’s modern world of web applications and smartphone apps. Walking you through the benefits of a Web API to support both applications and mobile apps to give you a solid understanding of the tech to build upon as you see what ASP.NET Core can do for you.</p> <p>The book wraps up with practical guidelines for the use of database technologies, unit tests, security best practices, and cloud deployments for the real world.</p>
Table of Contents (15 chapters)
ASP.NET Core Essentials
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface

Single-page applications with AngularJS


The official ASP.NET documentation mentions AngularJS as an option for building a SPA-style ASP.NET application. The examples in this chapter are derived from Microsoft's documentation at:  http://docs.asp.net/en/latest/client-side/angular.html .

Getting started with AngularJS

AngularJS is an open source JavaScript framework, which is officially maintained by Google. At the time of writing, the latest stable release is at version 1.5.x, and version 2.0 is going through a few release candidate (RC) stages as of July 2016.

AngularJS uses a subset of jQuery called jqLite, which allows it to manipulate the DOM of an HTML page across multiple browsers. If you want to use jQuery in your AngularJS application, you must ensure that jQuery is loaded before the angular.js file.

The easiest way to set up AngularJS to your web application in Visual Studio 2015 is to update your bower.json file in a new web application. Launch Visual Studio 2015, click on File | New...