ASP.NET Web API and Angular 2(PACKT2016)
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
用户评论