Skip to main content

Enterprise Wisej.NET: Architecture to Cloud

One runnable Wisej.NET 4 application per module of the advanced course, built from each module's lesson guide, lab / exam guide and walkthrough video. Every sample is a slice of the same application — the EnterpriseOps Command Center, a multi-tenant field-service work-order system — and each app shows only the screen(s) the module's lab guide and walkthrough video build. Services log their decisions server-side (Diagnostics/ActivityTraceSystem.Diagnostics.Trace); failures reach the user as safe messages with a correlation id. Each module folder has its own README.md (run command, what to try, lab steps → code map) and, where the lab asks for written deliverables, a docs/ folder.

Requirements: .NET 10 SDK and the Wisej-4 4.1.0 NuGet package (Module 4 also restores Microsoft.EntityFrameworkCore.Sqlite 10.0.12). Nothing is deployed anywhere.

The modules

ModuleWhat it builds
1 · Architecture, Technical Leadership & Governancethe solution baseline (folder-per-layer namespaces), the designable CommandCenterDashboard with a one-line handler, ReviewGate catching the 74-line legacy handler, ADR-001 + coding standards + review checklist
2 · Wisej.NET 4 Modernization & Migration Strategythe Migration Dossier (inventory, risk matrix, 7-step path, 10-flow regression harness, rollback) and the migrated WorkOrdersPage painted from the theme map
3 · Session, State, Tenant & Concurrency Designtenant-aware SessionContext, CommandContext + correlation id, TenantGuard, optimistic concurrency and the ConflictDialog (Reload · Compare · Cancel), a live static-state audit
4 · Real Data Architecture: EF Core, Transactions, Repositories & CommandsEF Core on in-memory SQLite behind IWorkOrderCommandService: transactions, unique index, concurrency token, timeout, error mapping, the session-long DbContext anti-pattern, audit dialog
5 · High-Volume Data UX, Server Filtering & Batch Operationsthe Enterprise Work Queue: server paging over 6,000 rows, saved views, sort persistence, cross-page selection, batch reassignment with a per-row report, the load-everything anti-pattern measured
6 · Real-Time Systems, Background Pipelines, Notifications & Importsthe Import Center: job queue, throttled progress observer, retry policy, cancellation, notifications, and re-attaching to a running job after the page is reopened
7 · Workflow UX: Wizards, Modal Orchestration & Compensationthe six-step EscalationWizard over EscalationWorkflow: validation per step, directory timeout, notification failure with compensation, audit gap, the logic-in-the-page anti-pattern
8 · Custom Controls, Extensions, Widget Wrappers & Reusable ComponentsStatusTimeline UserControl + WorkOrderChartWidget (own SVG vendor library, embedded resource package, typed events, fallback rendering), ComponentApiGate over a leaky screen
9 · JavaScript Object Model, Browser APIs & Secure Interop ContractsCtrl+K command palette and browser capability panel through a typed interop contract; every command re-authorized server-side; the trust-the-client anti-pattern and its revert
10 · Security Architecture: Identity, SSO, Authorization, Audit & Secure Deploymentsimulated SSO sign-in gate, claims → roles → permissions, tenant guard, service-level Demand, export approval, the raw-HTML finding (it really runs) and the escape, an append-only audit log
11 · Observability, Diagnostics, Performance & Session ProfilingDiagnosticsPage: structured JSON log, correlation ids end to end, performance budgets with a measured slow query, store failure, session-memory audit, health check
12 · Cloud, Containers, Load Balancing & Release EngineeringReleaseDashboardPage: environment configuration + fail-fast startup validation, /healthz probes, an 8-step runbook deploy with smoke tests and rollback, sticky-session simulation, Dockerfile / compose / nginx notes
13 · Hybrid, PWA, Offline & Device-Aware ApplicationsField Technician mode: IDeviceServices, offline cache + completion queue, reconnect sync with conflicts, revoked-permission rejection, device-writes-straight-to-store anti-pattern, phone/tablet/desktop layouts
14 · AI-Assisted Development, MCP-Ready Documentation & Capstone Deliverythe capstone Command Center + Capstone Review: prompt library, a ten-rule generated-code review run live over an AI draft, MCP-shaped documentation index, demo script, deck outline, readiness statement

Run any module from its EnterpriseOps project folder. The projects multi-target net10.0-windows and net10.0, so dotnet run needs a framework, e.g.

cd "LearnWisej-Samples/Enterprise Wisej.NET Course/Module 5/EnterpriseOps"
dotnet run -f net10.0 --urls http://localhost:5205

or open the EnterpriseOps.slnx in the module folder with Visual Studio and press F5.