Skip to content

Ticket Management API - Application to manage tickets using ASP.NET Core Clean Architecture

Notifications You must be signed in to change notification settings

kadisin/TicketManagement

Repository files navigation

Ticket Management Backend

Paragraphs

  • About project
  • Application architecture
  • CQRS and Mediator patterns
  • Dependency Injection
  • Exception handling and logging

  • Project Information

  • Application created to learn good backend practises
  • Application use .NET Framework, Entity Framework, Mappers, CQRS Architecture, Communication mediator
  • Dependency injection
  • Application handle exceptions and logging information

  • Application architecture

    Solution view

    image

    CQRS - Command Query Resposibility Separation and mediator pattern

    Pattern used to separate query - read and command - add, update, delete operations

    Event separation

    image

    Requests implement IRequest interface (from MediatR package)

    image

    Request handlers implements IRequestHandler interface

    image

    image

    Controller create request and call it to handler

    image

    Validation added if necessary (fluent valdation)

    image

    image


    Dependecy Injection

    If needed project have registered services

    image

    Api project manage all registered services

    image

    image


    Exception handling and logging

    Exception is thrown into Exception handler middleware

    Plugged into pipeline

    image

    image


    Logging important steps in application

    Save logs to files

    image

    image


    Releases

    No releases published

    Packages

    No packages published

    Languages