How dathabe/studiooms works
StudioOMS is an order-management system exposed through an ASP.NET API, with a Blazor WebAssembly client and an SDK. The main user workflow is to authenticate, then manage users, employees and customers and perform order operations, including assignment, state changes and timing consumption. The tree also shows session/permission services, domain models, EF Core persistence and order/me queries. The README gives no capability detail, and most endpoint and handler implementations were not sampled, so their internal dispatch links are omitted.
Main entry points: StudioOMS.WebApi/Program.cs API host · AppDbContext.cs EF Core database · SessionManager.cs Session manager · StudioOMS.Web/Program.cs Blazor client
Components 19
Client access
- Blazor client
src/StudioOMS.Web/Program.cs - Web API SDK
src/StudioOMS.WebApi.Sdk/Routes/ServerRoutes.cs
HTTP API
- API host
src/StudioOMS.WebApi/Program.cs - API routes
src/StudioOMS.WebApi.Routes/WebApiRoutes.cs - Login and me
src/StudioOMS.WebApi/Endpoints/LoginEndpoint.cs - User and staff
src/StudioOMS.WebApi/Endpoints/UserEndpoint.cs - Customer operations
src/StudioOMS.WebApi/Endpoints/CustomerEndpoint.cs - Order operations
src/StudioOMS.WebApi/Endpoints/OrderEndpoint.cs - Session middleware
src/StudioOMS.WebApi/Middlewares/CurrentSessionMiddleware.cs
Application and domain
- Application requests
src/StudioOMS.Application/Orders/OrderListRequest.cs - Session contracts
src/StudioOMS.Application/Session/ISessionManager.cs - OMS domain
src/StudioOMS.Domain/Orders/Order.cs - Order query contract
src/StudioOMS.Application/Orders/IOrderQuery.cs
Persistence and services
- EF Core database
src/StudioOMS.Infrastructure/EfCore/AppDbContext.cs - Entity repositories
src/StudioOMS.Infrastructure/Repositories/Repository.cs - Order list query
src/StudioOMS.Infrastructure/Queries/OrderQuery.cs - Session manager
src/StudioOMS.Infrastructure/Session/SessionManager.cs - Session cache
src/StudioOMS.Infrastructure/Session/SessionInfoRepository.cs
Other components
- OMS user
Connections 10
- OMS user → Blazor client: uses
- Blazor client → Web API SDK: requests
- Web API SDK → API host: HTTP calls
- API host → API routes: maps
- API host → Session middleware: installs
- API host → EF Core database: registers infrastructure
- Order list query → EF Core database: queries
- Session manager → EF Core database: loads user
- Session manager → Session cache: saves or removes
- Entity repositories → EF Core database: reads and writes