How haciendolas/sigc.netcoremvc.arquitecturaonion works
SIGC is a business-management application with product catalog and inventory capabilities alongside organization and security administration. Users interact through a web UI or API; the sampled catalog query handler applies company context, retrieves repository data, and returns a message-wrapped result. Catalog detail queries can also resolve image URLs through file storage. The tree documents many additional catalog, inventory, organization, and access-management features, but their internal call paths were not sampled, so those branches are represented without guessed connections.
Main entry points: CatalogPaginationQueryHandler.cs Catalog queries · CatalogGetQueryHandler.cs Catalog details · CurrentSessionService.cs Session context · MessageService.cs Localized messages
Components 19
Presentation
- MVC Web UI
SIGC.Presentation.AspNetCoreMVC/Program.cs - Web API
SIGC.Presentation.WebApi/Program.cs - Catalog endpoints
SIGC.Presentation.WebApi/Controllers/CategoryController.cs - Establishment endpoints
SIGC.Presentation.WebApi/Controllers/EstablishmentController.cs
Catalog Management
- Catalog queries
SIGC.ApplicationService/Features/CatalogFeatures/Queries/CatalogPagination/CatalogPaginationQueryHandler.cs - Catalog details
SIGC.ApplicationService/Features/CatalogFeatures/Queries/CatalogGet/CatalogGetQueryHandler.cs - Catalog variants
SIGC.ApplicationService/Features/CatalogVariantFeatures/Queries/CatalogVariantList/CatalogVariantListQueryHandler.cs - Catalog changes
SIGC.ApplicationService/Features/CatalogFeatures/Commands - Catalog pricing & tax
SIGC.ApplicationService/Features/CatalogPriceFeatures
Organization & Inventory
- Stock & configuration
SIGC.ApplicationService/Features/CatalogStockFeatures - Company & sites
SIGC.ApplicationService/Features/EstablishmentFeatures - Roles & users
SIGC.ApplicationService/Features/RoleFeatures
Application Core
- Catalog data access
SIGC.Infrastructure.ADONET.SQLSERVER/Repositories/CatalogRepositories/CatalogPaginationRepository.cs - Session context
SIGC.Infrastructure.GeneralService/Services/CurrentSessionService.cs - Localized messages
SIGC.Infrastructure.GeneralService/Services/MessageService.cs - File storage
SIGC.Infrastructure.GeneralService/Services/LocalFileStorageServuce.cs - Result envelope
SIGC.Infrastructure.CrossCutting/Wrappers/MsgResponse.cs - Pagination result
SIGC.ApplicationService/Commons/Dtos/PaginationResultDto.cs
Other components
- User
Connections 14
- User → MVC Web UI: uses
- User → Web API: calls
- Web API → Establishment endpoints: routes to
- Catalog queries → Catalog data access: queries
SIGC.ApplicationService/Features/CatalogFeatures/Queries/CatalogPagination/CatalogPaginationQueryHandler.cs - Catalog queries → Session context: reads context
SIGC.ApplicationService/Features/CatalogFeatures/Queries/CatalogPagination/CatalogPaginationQueryHandler.cs - Catalog queries → Localized messages: gets message
SIGC.ApplicationService/Features/CatalogFeatures/Queries/CatalogPagination/CatalogPaginationQueryHandler.cs - Catalog queries → Pagination result: builds result
SIGC.ApplicationService/Features/CatalogFeatures/Queries/CatalogPagination/CatalogPaginationQueryHandler.cs - Catalog queries → Result envelope: returns envelope
SIGC.ApplicationService/Features/CatalogFeatures/Queries/CatalogPagination/CatalogPaginationQueryHandler.cs - Catalog details → Session context: reads context
SIGC.ApplicationService/Features/CatalogFeatures/Queries/CatalogGet/CatalogGetQueryHandler.cs - Catalog details → Localized messages: gets message
SIGC.ApplicationService/Features/CatalogFeatures/Queries/CatalogGet/CatalogGetQueryHandler.cs - Catalog details → File storage: resolves image URL
SIGC.ApplicationService/Features/CatalogFeatures/Queries/CatalogGet/CatalogGetQueryHandler.cs - Catalog details → Result envelope: returns envelope
SIGC.ApplicationService/Features/CatalogFeatures/Queries/CatalogGet/CatalogGetQueryHandler.cs - Catalog variants → Session context: reads context
SIGC.ApplicationService/Features/CatalogVariantFeatures/Queries/CatalogVariantList/CatalogVariantListQueryHandler.cs - Catalog variants → Localized messages: gets message
SIGC.ApplicationService/Features/CatalogVariantFeatures/Queries/CatalogVariantList/CatalogVariantListQueryHandler.cs