Book description
Develop a simple, yet fully-functional modern web application using ASP.NET Core MVC, Entity Framework and Angular 5.
About This Book
- Based on the best-selling book ASP.NET Core and Angular 2
- Easily build a complete single page application with two of the most impressive frameworks in modern development, ASP.NET Core and Angular
- Bring together the capabilities and features of both Angular 5 and ASP.NET Core 2 for full stack development
- Discover a comprehensive approach to building your next web project-From managing data, to application design, through to SEO optimization and security
Who This Book Is For
This book is for seasoned ASP.NET developers who already know about ASP.NET Core and Angular in general, but want to know more about them and/or understand how to blend them together to craft a production-ready SPA.
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
In Detail
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.
Style and approach
More than just a technical manual, this guide takes you through the most important technical facets of developing with these two hugely popular frameworks and then demonstrates how to put those skills into practice. It’s a book that recognizes that what’s really important is the end product.
Table of contents
- Preface
-
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
- Backend with .NET Core
-
Frontend with Angular
- Navigation pattern
- Master/detail binding
- Adding additional lists
- Two-way data binding
- Client-side routing
- Full-Scale test
- Suggested topics
- Summary
- Data Model with Entity Framework Core
- Client-Server Interactions
- Style Sheets and UI Layout
- Forms and Data Validation
-
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
-
Advanced Topics
- Token expiration and refresh tokens
- New user registration
- Third-party authentication
- Suggested topics
- Summary
-
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
Product information
- Title: ASP.NET Core 2 and Angular 5
- Author(s):
- Release date: November 2017
- Publisher(s): Packt Publishing
- ISBN: 9781788293600
You might also like
book
ASP.NET Core 5 for Beginners
Learn how to build web applications efficiently using ASP.NET Core 5 with the C# programming language …
book
ASP.NET Core 3 and React
Build modern, scalable, and cloud-ready single-page applications using ASP.NET Core, React, TypeScript, and Azure Key Features …
video
Advanced ASP.NET Core 3.1 MVC
Whether you’re looking to understand the Repository Pattern and N-Tier Architecture or get to grips with …
book
ASP.NET Core 5 Secure Coding Cookbook
Learn how to secure your ASP.NET Core web app through robust and secure code Key Features …