Backend API & Orchestration

The [TransScriptorBackend](https://dev.azure.com/waeldaoud/Globex_Solutions/_git/TransScriptorBackend) is a high-performance orchestration layer built on **.NET 10**. It serves as the secure gateway for document ingestion, state management, and the high-speed "handshake" with the Python intelligence pipeline.

System Logic Flow

Backend Logic Diagram

Fig 2.1: Request lifecycle from Web API to PostgreSQL persistence.

Core Responsibilities

  • Document Ingestion: Secure multi-part PDF upload handling with schema validation.
  • EF Core Data Layer: High-performance persistence utilizing [TransScriptor.Data](https://dev.azure.com/waeldaoud/Globex_Solutions/_git/TransScriptorBackend?path=%2Fsrc%2FTransScriptor.Data) migrations.
  • Python Bridge: Orchestrates calls to the [transScriptor intelligence pipeline](https://dev.azure.com/waeldaoud/Tools-Box/_git/transScriptor) via versioned JSON schemas.
// DevOps Configuration
FROM mcr.microsoft.com/dotnet/sdk:10.0-machine
EXPOSE 8900
# Ensuring machine-level optimization for heavy I/O

Data Governance & Persistence

Documents Table

Manages UUID-based lifecycles, tracking document status from Pending to Transformed.

Metadata Schema

Stores high-fidelity text extraction results and AI confidence scores generated by the Python engine.