ASP.NET Core 2 and Angular 5

Develop a simple, yet fully-functional modern web application using ASP.NET Core MVC, Entity Framework and Angular 5.
Preview in Mapt

ASP.NET Core 2 and Angular 5

Valerio De Sanctis

15 customer reviews
Develop a simple, yet fully-functional modern web application using ASP.NET Core MVC, Entity Framework and Angular 5.
Mapt Subscription
FREE
$29.99/m after trial
eBook
$18.00
RRP $35.99
Save 49%
Print + eBook
$44.99
RRP $44.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$18.00
$44.99
$29.99 p/m after trial
RRP $35.99
RRP $44.99
Subscription
eBook
Print + eBook
Start 14 Day Trial

Frequently bought together


ASP.NET Core 2 and Angular 5 Book Cover
ASP.NET Core 2 and Angular 5
$ 35.99
$ 18.00
C# 7.1 and .NET Core 2.0 – Modern Cross-Platform Development - Third Edition Book Cover
C# 7.1 and .NET Core 2.0 – Modern Cross-Platform Development - Third Edition
$ 31.99
$ 16.00
Buy 2 for $33.50
Save $34.48
Add to Cart

Book Details

ISBN 139781788293600
Paperback550 pages

Book Description

Become fluent in both frontend and backend web development by combining the impressive capabilities of ASP.NET Core 2 and Angular 5 from project setup right through the deployment phase.

Full-stack web development means being able to work on both the frontend and backend portions of an application. The frontend is the part that users will see or interact with, while the backend is the underlying engine, that handles the logical flow: server configuration, data storage and retrieval, database interactions, user authentication, and more.

Use the ASP.NET Core MVC framework to implement the backend with API calls and server-side routing. Learn how to put the frontend together using top-notch Angular 5 features such as two-way binding, Observables, and Dependency Injection, build the Data Model with Entity Framework Core, style the frontend with CSS/LESS for a responsive and mobile-friendly UI, handle user input with Forms and Validators, explore different authentication techniques, including the support for third-party OAuth2 providers such as Facebook, and deploy the application using Windows Server, SQL Server, and the IIS/Kestrel reverse proxy.

Table of Contents

Chapter 1: Getting Ready
Two players, one goal
A full-stack approach
Single-Page Application
A sample Single-Page Application project
Preparing the workspace
Looking around
Getting to work
References
Suggested topics
Summary
Chapter 2: Backend with .NET Core
The data flow
Our first ViewModel
Adding other controllers
Understanding routes
Dealing with single entries
Suggested topics
Summary
Chapter 3: Frontend with Angular
Navigation pattern
Master/detail binding
Adding additional lists
Two-way data binding
Client-side routing
Full-Scale test
Suggested topics
Summary
Chapter 4: Data Model with Entity Framework Core
Getting ready
Creating Entities
Defining relationships
Setting up the DbContext
Database initialization strategies
Implementing a Data Seed strategy
Updating the QuizController
Suggested topics
Summary
Chapter 5: Client-Server Interactions
Add, update, and delete quizzes
Questions, answers, and results
Full-scale test
Suggested topics
Summary
Chapter 6: Style Sheets and UI Layout
How bad is it, doc?
Introducing LESS
Implementing LESS
DIY versus framework-based styling
Working with Bootstrap
Suggested topics
Summary
Chapter 7: Forms and Data Validation
Data validation
Debugging and testing
Suggested topics
Summary
Chapter 8: Authentication and Authorization
To auth, or not to auth
Proprietary auth with .NET Core
Updating the database
Authentication methods
Implementing JWT authentication
Enforcing authorization
Suggested topics
Summary
Chapter 9: Advanced Topics
Token expiration and refresh tokens
New user registration
Third-party authentication
Suggested topics
Summary
Chapter 10: Finalization and Deployment
Switching to SQL Server
Publishing our native web application
Configuring the web server and IIS
Firing up the engine
Suggested topics
Summary

What You Will Learn

  • Use ASP.NET Core to its full extent to create a versatile backend layer based on RESTful APIs
  • Consume backend APIs with the brand new Angular 5 HttpClient and use RxJS Observers to feed the frontend UI asynchronously
  • Implement an authentication and authorization layer using ASP.NET Identity to support user login with integrated and third-party OAuth 2 providers
  • Configure a web application in order to accept user-defined data and persist it into the database using server-side APIs
  • Secure your application against threats and vulnerabilities in a time efficient way
  • Connect different aspects of the ASP. NET Core framework ecosystem and make them interact with each other for a Full-Stack web development experience

Authors

Table of Contents

Chapter 1: Getting Ready
Two players, one goal
A full-stack approach
Single-Page Application
A sample Single-Page Application project
Preparing the workspace
Looking around
Getting to work
References
Suggested topics
Summary
Chapter 2: Backend with .NET Core
The data flow
Our first ViewModel
Adding other controllers
Understanding routes
Dealing with single entries
Suggested topics
Summary
Chapter 3: Frontend with Angular
Navigation pattern
Master/detail binding
Adding additional lists
Two-way data binding
Client-side routing
Full-Scale test
Suggested topics
Summary
Chapter 4: Data Model with Entity Framework Core
Getting ready
Creating Entities
Defining relationships
Setting up the DbContext
Database initialization strategies
Implementing a Data Seed strategy
Updating the QuizController
Suggested topics
Summary
Chapter 5: Client-Server Interactions
Add, update, and delete quizzes
Questions, answers, and results
Full-scale test
Suggested topics
Summary
Chapter 6: Style Sheets and UI Layout
How bad is it, doc?
Introducing LESS
Implementing LESS
DIY versus framework-based styling
Working with Bootstrap
Suggested topics
Summary
Chapter 7: Forms and Data Validation
Data validation
Debugging and testing
Suggested topics
Summary
Chapter 8: Authentication and Authorization
To auth, or not to auth
Proprietary auth with .NET Core
Updating the database
Authentication methods
Implementing JWT authentication
Enforcing authorization
Suggested topics
Summary
Chapter 9: Advanced Topics
Token expiration and refresh tokens
New user registration
Third-party authentication
Suggested topics
Summary
Chapter 10: Finalization and Deployment
Switching to SQL Server
Publishing our native web application
Configuring the web server and IIS
Firing up the engine
Suggested topics
Summary

Book Details

ISBN 139781788293600
Paperback550 pages
Read More
From 15 reviews

Read More Reviews

Recommended for You

C# 7.1 and .NET Core 2.0 – Modern Cross-Platform Development - Third Edition Book Cover
C# 7.1 and .NET Core 2.0 – Modern Cross-Platform Development - Third Edition
$ 31.99
$ 16.00
Learning ASP.NET Core 2.0 Book Cover
Learning ASP.NET Core 2.0
$ 35.99
$ 18.00
ASP.NET Core 2 High Performance - Second Edition Book Cover
ASP.NET Core 2 High Performance - Second Edition
$ 39.99
$ 20.00
Mastering Entity Framework Core 2.0 Book Cover
Mastering Entity Framework Core 2.0
$ 39.99
$ 20.00
Building Microservices with .NET Core 2.0 - Second Edition Book Cover
Building Microservices with .NET Core 2.0 - Second Edition
$ 35.99
$ 18.00
Switching to Angular - Third Edition Book Cover
Switching to Angular - Third Edition
$ 23.99
$ 12.00