Contents
1: Getting Started with Angular
b'Chapter 1: Getting Started with Angular'
b'Introducing Angular'
b'Building a Hello World app with Angular'
b'The architecture of Angular'
b'Summary'
2: Angular Building Blocks - Part 1
b'Chapter 2: Angular Building Blocks - Part 1'
b'Modules (NgModules)'
b'Components'
b'Decorators and metadata'
b'Templates'
b'Binding'
b'Directives'
b'Dependency injection'
b'Summary'
3: Angular Building Blocks - Part 2
b'Chapter 3: Angular Building Blocks - Part 2'
b'Forms'
b'Pipes'
b'AppComponent'
b'Routers'
b'Services'
b'Observables'
b'Summary'
4: Using TypeScript with Angular
b'Chapter 4: Using TypeScript with Angular'
b'What is TypeScript?'
b'Basic types'
b'Interfaces'
b'Classes'
b'Inheritance'
b'Modules'
b'Generics'
b'Decorators'
b'TypeScript and Angular'
b'Summary'
5: Creating an Angular Single-Page Application in Visual Studio
b'Chapter 5: Creating an Angular Single-Page Application in
Visual Studio'
b'Creating an ASP.NET core web application'
b'Adding client-side packages using NPM package manager'
b'Using Gulp to run tasks'
b'Adding Angular components and templates'
b'Summary'
6: Creating ASP.NET Core Web API Services for Angular
b'Chapter 6: Creating ASP.NET Core Web API Services for
Angular'
b'RESTful Web Services'
b'ASP.NET Web API Overview'
b'Creating ASP.NET Web API services'
b'Using DB Migration'
b'Integrating ASP.NET Core Web API with Angular application'
b'Running the application'
b'Summary'
7: Creating an Application Using Angular, ASP.NET MVC, and Web
API in Visual Studio
b'Chapter 7: Creating an Application Using Angular, ASP.NET
MVC, and Web API in Visual Studio'
b'Using ASP.NET MVC'
b'Combining routing for ASP.NET MVC, the ASP.NET Web API,
and Angular'
b'Summary'
8: Testing Angular Applications
b'Chapter 8: Testing Angular Applications'
b'Introducing Jasmine'
b'Testing Angular services'
b'Testing Angular components'
b'Unit testing a mock service'
b'Summary'
9: What s New in Angular and ASP.NET Core
b'Chapter 9: What s New in Angular and ASP.NET Core'
b'What's new in Angular'
b'Introducing the Meta service'
Chapter 1. Getting Started with Angular
If you are reading this book, it is because you are a .NET developer and
would like to learn how to use Angular with the .NET Framework
technologies such as ASP.NET Model View Controller (MVC) and
Web API, and legacy technologies such as web forms and web services. It
enables the developer to develop richer and dynamic .NET web applications
powered by Angular. Angular is an open source JavaScript framework that
helps create dynamic web applications.
In this chapter, we will cover the following topics:
Introducing Angular
The Angular architecture
Building a Hello World app with Angular