C C T B H P N

Lecture #11 - Authentication and Authorization

Example code

Web Resources
Web API Console client, Asp.Net Web API Console Client Console Applications
WPF Client for Asp.Net Web API, Consuming Asp.Net Web API in WPF
Asp.Net Core Clients
React Native
CRUD with React and Asp.Net Core, CRUD with React.js and Entity Framework Core
Angular Client for Asp.Net Web API, Build CRUD App for Asp.Net Web API with Angular.js
WPF Client for Asp.Net Web API, wpftutorial.net, WPF Tutorial - tutorialspoint.com
Xamarin.Android Applications

Content

Final Exam Schedule In this lecture we will focus on Authentication and Authorization with Roles.
  1. Syllabus describes topics to be covered, reading material for you to digest before coming to class, and due dates for the assigned projects.
  2. Projects: Final Project #1, Final Project #2, Final Project #3
    You will do one of these - the choice of which is yours to make - and present on the last day of classes.
    Additional Requirements
    You are expressly requested to refrain from using site editors like Wix, web.com, or other web designers. You may use any of the facilities of Visual Studio or any other text editor of your choice. This same rule applies to your lab submissions as well. For your Final Project demos you will be required to use only page links for navigation. You may host and demonstrate your labs in the built-in Visual Studio web server.
    All projects must use:
    • Asp.net core MVC - main site
    • Asp.net Web API - web service
    • Web API Client
    • SQL db storage
    • At least one static page that uses new features of HTML5, CSS3, and JavaScript6.
  3. Vaibhav Kumar's Resources

    Lecture:
    Roles and Authentication, pptx
    Roles and Authentication code demo Lab:
    Authentication and Authorization, pptx
    Roles and Authentication Details code demo
  4. Tutorials:

    Custom user roles
    Policy-based authorization
    Role-based Authorization - C# Corner
    Asp.Net Core Identity
    User data protected by authorization
  5. Videos:

    Implementing Authentication and Authorization with Asp.Net Core 2
  6. References:

    Role-based authorization - MSDN
    Create roles and assign to users - StackOverflow
    Securing Asp.Net Core 2.0 Apps with Jason Web Tokens (JWTs)
  7. Lab #11

    - Add Authentication and Authoriation to your Lab #10 app.