A demo application showcasing Azure AI Content Understanding — an Azure service for analyzing documents, images, and other content using AI.
src/
├── api/ # .NET 10 Web API (backend)
│ └── ContentUnderstanding.Api/
│ ├── Endpoints/ # Minimal API route mappings
│ ├── Models/ # Request/response DTOs
│ ├── Services/ # Azure CU SDK integration
│ └── Program.cs # Composition root
└── web/ # Vue 3 + Vite (frontend)
└── src/
├── components/ # Reusable UI components
├── views/ # Page-level views
├── services/ # API client
└── types/ # TypeScript type definitions
- .NET 10 SDK
- Node.js 20+
- An Azure subscription with a Content Understanding resource
- Azure CLI (
az login) for DefaultAzureCredential
Update src/api/ContentUnderstanding.Api/appsettings.json with your Azure Content Understanding endpoint and analyzer ID. Alternatively, use user-secrets:
cd src/api/ContentUnderstanding.Api
dotnet user-secrets set "AzureContentUnderstanding:Endpoint" "https://<your-resource>.cognitiveservices.azure.com/"
dotnet user-secrets set "AzureContentUnderstanding:AnalyzerId" "<your-analyzer-id>"cd src/api/ContentUnderstanding.Api
dotnet runAPI starts at http://localhost:5107.
cd src/web
npm install
npm run devFrontend starts at http://localhost:5173 and proxies /api requests to the backend.
| Method | Path | Description |
|---|---|---|
GET |
/api/health |
Health check |
POST |
/api/analyze |
Upload a file for analysis (multipart/form-data) |
GET |
/api/analyze/{id} |
Retrieve a previous analysis result |
Built with Squad
| Role | Agent | Owns |
|---|---|---|
| Lead | Morpheus | Architecture, code review, triage |
| Backend | Neo | .NET API implementation |
| Frontend | Trinity | Vue UI implementation |
| Tester | Oracle | Test coverage and validation |