OElite.Services.Platform 5.0.9-develop.7331

OElite.Services.Platform

Platform business logic services: auth, customer, merchant, order, payment, inventory, role, settings, tenant, and omni-channel operations.

NuGet Version .NET

Overview

OElite.Services.Platform provides the business logic service layer for the OElite eCommerce Platform. Every service implements IOEliteService and is auto-discovered and registered through OElite.Common.Hosting's AddOEliteDependencyInjections() extension.

This package is the heart of the Platform's business operations: it orchestrates data access (via OElite.Data.Platform), applies business rules, manages caching, and emits audit events. Nexus (the core API server) is the primary consumer.

Features

🔐 Auth & Identity

  • AuthService: Authentication, token issuance, refresh, and revocation
  • RoleService / PermissionService: RBAC and permission catalog management
  • IPasswordHasher: Argon2id password hashing

🏪 Commerce Operations

  • CustomerService: Customer CRUD, search, multi-tenant isolation
  • MerchantService: Merchant onboarding, settings, configuration
  • ProductService / CategoryService / CampaignService: Catalog management
  • OrderService: Order lifecycle (create, cancel, fulfill, refund)
  • PaymentService: Payment processing and webhook handling
  • FinanceService: Invoices, expenses, payment tracking

📦 Inventory & Operations

  • InventoryService: Stock adjustments, reservations, low-stock alerts
  • DashboardService: Aggregated analytics and KPIs

🏢 Multi-tenant

  • TenantService: Tenant context resolution and configuration
  • SettingService: Per-tenant configuration overrides
  • All services enforce tenant isolation via RequestContext

🌐 OmniChannel

  • SalesChannelStockAllocationService: Multi-channel stock allocation
  • ShippingProviderService / MerchantShippingProviderService: Shipping integration
  • OeSterlingAccountService / OeSterlingUsageEventService: Loyalty points accounting
  • EnhancedSalesChannelService: Channel management and synchronization

🔔 Auxiliary

  • NotificationService: Email, push, and in-app notification dispatch
  • PasswordHasher: Argon2id implementation

Quick Start

1. Installation

dotnet add package OElite.Services.Platform

2. Inject a Service

using OElite.Services.Platform.Biz.Customers;

public class MyController
{
    private readonly CustomerService _customers;

    public MyController(CustomerService customers)
    {
        _customers = customers;
    }

    public async Task<IActionResult> GetById(string id)
    {
        var customer = await _customers.GetByIdAsync(id);
        return customer is null ? NotFound() : Ok(customer);
    }
}

Services are auto-registered via OElite's AddOEliteDependencyInjections() — no manual services.AddScoped<CustomerService>() required.

Dependencies

  • OElite.Services (core service patterns)
  • OElite.Data.Platform (repositories)
  • OElite.Common.Platform (entities and DTOs)
  • OElite.Common.Hosting.AspNetCore (DI integration)
  • OElite.Restme.Hosting 2.x, OElite.Restme.MongoDb 2.x, OElite.Restme.RateLimiting 2.x
  • OElite.Common.Hosting.AspNetCore - DI auto-discovery entry point
  • OElite.Servers.Nexus - Reference implementation using all these services

License

Copyright (c) Phanes. All rights reserved.

No packages depend on OElite.Services.Platform.

Version Downloads Last updated
5.0.9-develop.8629 0 09/06/2026
5.0.9-develop.7922 1 08/31/2026
5.0.9-develop.7484 1 08/28/2026
5.0.9-develop.7331 1 08/27/2026
5.0.9-develop.7315 1 08/26/2026
5.0.9-develop.7299 1 08/26/2026
5.0.9-develop.2450 2 07/21/2026
5.0.9-develop.2419 3 07/21/2026
5.0.9-develop.2373 3 07/21/2026
5.0.9-develop.2332 15 07/21/2026
5.0.9-develop.1591 3 07/08/2026
5.0.9-develop.1587 3 07/08/2026
5.0.9-develop.1580 3 07/08/2026
5.0.9-develop.1241 17 06/29/2026
5.0.9-develop.1143 3 06/27/2026
5.0.9-develop.928 3 05/29/2026
5.0.9-develop.642 8 03/08/2026
5.0.9-develop.532 6 03/08/2026
5.0.9-develop.531 3 03/08/2026
5.0.9-develop.530 2 03/08/2026
5.0.9-develop.529 2 03/08/2026
5.0.9-develop.528 3 03/08/2026
5.0.9-develop.526 3 03/08/2026
5.0.9-develop.525 3 03/08/2026
5.0.9-develop.523 3 03/08/2026
5.0.9-develop.522 3 03/08/2026
5.0.9-develop.517 3 03/08/2026
5.0.9-develop.515 3 03/08/2026
5.0.9-develop.514 3 03/08/2026
5.0.9-develop.511 3 03/08/2026
5.0.9-develop.510 3 03/08/2026
5.0.9-develop.509 3 03/08/2026
5.0.9-develop.480 3 03/08/2026
5.0.9-develop.478 3 03/08/2026
5.0.9-develop.477 3 03/08/2026
5.0.9-develop.476 3 03/08/2026
5.0.9-develop.472 3 03/08/2026
5.0.9-develop.471 3 03/08/2026
5.0.9-develop.470 3 03/08/2026
5.0.9-develop.462 3 03/08/2026
5.0.9-develop.448 3 03/08/2026
5.0.9-develop.446 3 03/08/2026
5.0.9-develop.443 3 03/08/2026
5.0.9-develop.441 3 03/08/2026
5.0.9-develop.415 3 03/08/2026
5.0.9-develop.412 3 03/08/2026
5.0.9-develop.411 3 03/08/2026
5.0.9-develop.410 3 03/08/2026
5.0.9-develop.409 4 03/08/2026
5.0.9-develop.402 3 03/08/2026
5.0.9-develop.399 5 03/08/2026
5.0.9-develop.394 3 03/08/2026
5.0.9-develop.391 3 03/08/2026
5.0.9-develop.389 5 03/08/2026
5.0.9-develop.376 5 03/08/2026
5.0.9-develop.374 5 03/08/2026
5.0.9-develop.373 3 03/08/2026
5.0.9-develop.372 3 03/08/2026
5.0.9-develop.259 3 03/08/2026
5.0.9-develop.258 5 03/08/2026
5.0.9-develop.244 5 03/08/2026
5.0.9-develop.240 3 03/08/2026
5.0.9-develop.239 4 03/08/2026
5.0.9-develop.238 5 03/08/2026
5.0.9-develop.236 5 03/08/2026
5.0.9-develop.235 3 03/08/2026
5.0.9-develop.234 3 03/08/2026
5.0.9-develop.227 3 03/08/2026
5.0.9-develop.226 3 03/08/2026
5.0.9-develop.225 3 03/08/2026
5.0.9-develop.224 3 03/08/2026
5.0.9-develop.222 3 03/08/2026
5.0.9-develop.216 3 03/08/2026
5.0.9-develop.215 3 03/08/2026
5.0.9-develop.212 3 03/08/2026
5.0.9-develop.211 3 03/08/2026
5.0.9-develop.210 3 03/08/2026