AngularASPNETCore2WebApiAuth

screenshot of AngularASPNETCore2WebApiAuth
angular

Sample project demonstrating jwt-based authentication with an Angular (v5.2.1) frontend and ASP.NET Core 2 WebApi. Includes both local user registration with .NET Core Identity membership and facebook login scenarios.

Overview:

The AngularASPNETCore2WebApiAuthSample project is an impressive demonstration of integrating JWT-based authentication with a modern tech stack. Built with an Angular frontend and an ASP.NET Core 2 backend, this project showcases how to seamlessly implement user registration and social login functionalities, specifically through Facebook. Whether you're looking to enhance your web application with a robust authentication mechanism or simply want to learn from a complete example, this project provides a solid foundation.

The setup is straightforward, supporting local development environments with tools like SQL Server Express and Visual Studio. The combination of Angular and ASP.NET Core not only highlights the versatility of these technologies but also illustrates the ease with which they can operate together to create secure web applications.

Features:

  • JWT-based Authentication: Implements JSON Web Token authentication to secure API access, providing a standard method for user verification.
  • Local User Registration: Utilizes .NET Core Identity for user management, allowing for easy local sign-up.
  • Facebook Login Integration: Includes out-of-the-box support for authentication via Facebook, expanding user access options.
  • Development Environment Compatibility: Designed to run smoothly in both Visual Studio 2017 and Visual Studio Code, offering flexibility in development tools.
  • Database Management: Uses SQL Server Express 2017, with straightforward commands for database creation and management.
  • NPM and Angular CLI Support: Built with Node 8.9.4 and NPM 5.6.0, plus easy Angular CLI setup, allowing for a modern and efficient front-end workflow.
  • Command Line Setup: Detailed command-line instructions simplify the build and run process, ensuring you can easily navigate setup issues.
  • Demo Facebook App Provided: Comes with a pre-configured demo Facebook app, making it easier to test authentication features without extra setup.
angular
Angular

Angular is a TypeScript-based open-source framework by Google for building dynamic single-page applications and cross-platform mobile apps with MVC architecture and a rich set of features.