How abpframework/eventhub works
EventHub is an ABP reference application for managing events and organizations, with separate public and administrative experiences and a reusable PayPal payment module. The principal workflow is event creation and publication: an organizer uses the public web experience, which exposes event operations through the public API; event rules are represented in the domain. Admins manage events, organizations, memberships, registrations, and users through a separate Blazor/API surface. Payment and scheduled background work are additional product capabilities. Some links are documented at solution level rather than demonstrated in sampled callers, so those are marked unverified.
Main entry points: EventHub.Web Public web · Events/EventController.cs Event API · EventManagement.razor.cs Admin Blazor · Events/EventController.cs Admin API
Components 22
Public events
- Public web
src/EventHub.Web - Event API
src/EventHub.HttpApi/Controllers/Events/EventController.cs - Event service contract
src/EventHub.Application.Contracts/Events/IEventAppService.cs - Event application
src/EventHub.Application/Events/EventAppService.cs - Organization application
src/EventHub.Application/Organizations/OrganizationAppService.cs
Administration
- Admin Blazor
src/EventHub.Admin.Web.Client/Pages/EventManagement.razor.cs - Admin API
src/EventHub.Admin.HttpApi.Host/Controllers/Events/EventController.cs - Admin services
src/EventHub.Admin.Application/Events/EventAppService.cs - Admin domains
src/EventHub.Admin.Application
Payments
- Payment pages
modules/payment/src/Payment.Web/Pages/Payment/PreCheckout.cshtml.cs - Payment API
modules/payment/src/Payment.HttpApi/PaymentRequests/PaymentRequestController.cs - Payment contract
modules/payment/src/Payment.Application.Contracts/PaymentRequests/IPaymentRequestAppService.cs - Payment service
modules/payment/src/Payment.Application/PaymentRequests/PaymentRequestAppService.cs
Domain and operations
- Event rules
src/EventHub.Domain/Events/EventManager.cs - Event aggregate
src/EventHub.Domain/Events/Event.cs - Organization aggregate
src/EventHub.Domain/Organizations/Organization.cs - Event database
src/EventHub.EntityFrameworkCore/EntityFrameworkCore/Events/EventRepository.cs - Background workers
src/EventHub.BackgroundServices - Identity host
src/EventHub.IdentityServer/Program.cs
Other components
- Organizer
- Admin user
- PayPal
Connections 10
- Organizer → Public web: creates events
README.md - Public web → Event API: submits operations
- Event API → Event service contract: delegates calls
src/EventHub.HttpApi/Controllers/Events/EventController.cs - Admin user → Admin Blazor: manages events
- Admin Blazor → Admin API: uses admin API
- Admin API → Admin services: routes requests
- Payment pages → Payment API: starts checkout
- Payment API → Payment contract: delegates calls
modules/payment/src/Payment.HttpApi/PaymentRequests/PaymentRequestController.cs - Payment service → PayPal: processes payments
- Background workers → Event database: updates organizations