.NET Core waddo

dslayer

Well-known member
  • Mar 25, 2021
    1,335
    678
    113
    .NET Core API ekak liyanna one assignment ekakata. Udau karanna kenek innawada?
     
    Last edited:
    • Like
    Reactions: kinkon

    EKGuest

    Well-known member
  • Nov 16, 2022
    3,176
    5,637
    113
    but oya aduma gane project eke details full dala oya karanna yana de pahadili kaloth nam help godak labeyi

    ඔව් එතකොට .NET ඉගෙන ගන්න අනිත් අයටත් ප්‍රයෝජනවත්
     

    dslayer

    Well-known member
  • Mar 25, 2021
    1,335
    678
    113
    Design and implement a microservice responsible for handling user authentication and authorization. This microservice should integrate with other microservices and adhere to best practices for security, scalability, and maintainability. For an example create 3 different microservices customer, product, order and communicate with each other.

    Requirements:

    (1) Authentication and Authorization:
    Implement JWT-based authentication and authorization mechanisms.
    Support role-based access control (RBAC) for different user roles.

    (2) External Integration:
    Integrate the authentication microservice with other microservices in the
    system. Demonstrate how other microservices can securely authenticate and authorize requests. (Ex - customer, product, order services)

    (3) Scalability:
    Design the microservice to handle many concurrent authentication requests. Implement strategies for horizontal scaling.

    (4) Event-Driven Architecture:
    Implement an event-driven architecture for user-related events.
    Demonstrate how events are published and consumed by other
    microservices.

    (5) Caching and Optimizations:
    Implement caching mechanisms to optimizeauthentication and authorization
    processes. Apply optimizations to reduce response times for common
    scenarios.

    (6) Fault Tolerance:
    Implement fault tolerance measures, such as circuit breakers and retry
    Mechanisms. Demonstrate how the microservice handles failures gracefully.



    meka thamai requirement eka
     
    • Like
    Reactions: gnilukshi

    HAneo

    Well-known member
  • Jan 30, 2007
    12,971
    29,152
    113
    Homagama
    Design and implement a microservice responsible for handling user authentication and authorization. This microservice should integrate with other microservices and adhere to best practices for security, scalability, and maintainability. For an example create 3 different microservices customer, product, order and communicate with each other.

    Requirements:

    (1) Authentication and Authorization:
    Implement JWT-based authentication and authorization mechanisms.
    Support role-based access control (RBAC) for different user roles.

    (2) External Integration:
    Integrate the authentication microservice with other microservices in the
    system. Demonstrate how other microservices can securely authenticate and authorize requests. (Ex - customer, product, order services)

    (3) Scalability:
    Design the microservice to handle many concurrent authentication requests. Implement strategies for horizontal scaling.

    (4) Event-Driven Architecture:
    Implement an event-driven architecture for user-related events.
    Demonstrate how events are published and consumed by other
    microservices.

    (5) Caching and Optimizations:
    Implement caching mechanisms to optimizeauthentication and authorization
    processes. Apply optimizations to reduce response times for common
    scenarios.

    (6) Fault Tolerance:
    Implement fault tolerance measures, such as circuit breakers and retry
    Mechanisms. Demonstrate how the microservice handles failures gracefully.



    meka thamai requirement eka

    Some questions

    1. Will Auth Microservice need third party Authentication service Like Azure AD or Okta ?
    2. Are we going to use Inbuild .net core oauth 2.0 System or do we need to use Something like IdentityServer

    If above true the first Microservice is useless it will double the work. instead we can Directly Use Third party auth or IdentityServer Api endpoints to authenticate other Microservices
     

    dslayer

    Well-known member
  • Mar 25, 2021
    1,335
    678
    113
    Some questions

    1. Will Auth Microservice need third party Authentication service Like Azure AD or Okta ?
    2. Are we going to use Inbuild .net core oauth 2.0 System or do we need to use Something like IdentityServer

    If above true the first Microservice is useless it will double the work. instead we can Directly Use Third party auth or IdentityServer Api endpoints to authenticate other Microservices
    No. We can not use a third party service we need to create an auth api for authentication and authorization

    Help!!
    ------ Post added on Jan 30, 2024 at 6:09 PM