ASP.NET Web API and Angular 2
- Length: 442 pages
- Edition: 1
- Language: English
- Publisher: Packt Publishing
- Publication Date: 2016-11-04
- ISBN-10: 178646568X
- ISBN-13: 9781786465689
- Sales Rank: #1021728 (See Top 100 Books)
Key Features
- Learn how to design Single Page Applications (SPAs) with the latest versions of the popular frameworks Angular 2 and ASP.NET Web API
- An explicit focus on understanding how the two tools fit together gives this book a unique insight on how to make SPAs for you and your clients that just work
- This book covers all the major topics you need to create SPAs with ASP.NET Web API and Angular 2: routing, creating clean URLs, handling data (OData), and authentication
Book Description
For most developers, writing code is a balance between maintainability and productivity how quickly can you write it versus how much more you have to write in the future. Writing APIs goes some way to striking a balance, as you can have an API that feeds data from your back-end to front-end service for consumption. Now, this front-end can change to a mobile app, a website, desktop app, but what you do at the back doesn’t change and remains ASP.NET Web API.
This book focuses on blending and connecting ASP.NET Web API and AngularJS. We’ll guide you through building a fully-featured, potentially shippable SPA project with all its core aspects in place: readable URIs, OData retrieval, authentication patterns, RESTful interfaces, and more.
By the end of the book, you will be able to make impressive SPAs using ASP.NET Web API and Angular 2.
This book focuses about blending/connecting together the two topic technologies: ASP.NET WebAPI and AngularJS. The book aims to be a guide to the readers throughout by building a fully-featured, potentially shippable SPA project with all its core aspects in place: readable URIs, OData retrieval, authentication patterns, RESTful interfaces and more.
What you will learn
- Get to know the MVC 6 core aspects such as Model and Web API Controller
- Gain the required resources and configure the MVC 6 interface
- See how to client-route requests
- Set-up the data model using entity framework
- Extend the client controllers
- Secure your application against various security threats
Table of Contents
Chapter 1: Getting Ready
Chapter 2: ASP.NET Controllers and Server-Side Routes
Chapter 3: Angular 2 Components and Client-Side Routing
Chapter 4: The Data Model
Chapter 5: Persisting Changes
Chapter 6: Applying Styles
Chapter 7: Authentication and Authorization
Chapter 8: Third-Party Authentication and External Providers
Chapter 9: User Registration and Account Edit
Chapter 10: Finalization and Deployment