Enterprise Software Engineering with C# and .NET: Architecture, Design Patterns, and AI-Enabled Systems · HIT

Week 11   Part V · Integration and AI-Enabled Systems

Azure Cloud Services and Enterprise Integration

Instructor lesson plan: lecture (2 h) and practice (2 h).

Learning objectives

Tools this week

Azure App ServiceAzure SQLKey VaultManaged IdentityService BusAzure FunctionsApplication Insights

🎓Lecture · 2 hours

0:00-0:1515 minCloud as architecture, not just hostingHow cloud choices affect security, data, reliability, cost, observability, and coupling.
0:15-0:4025 minCore Azure map for .NET apps
  • App Service for web/API hosting.
  • Azure SQL for relational persistence.
  • Storage for blobs, files, queues, and durable artifacts.
  • Application Insights for telemetry and operational evidence.
0:40-1:0525 minIdentity and secrets
  • Entra ID for identity and enterprise authentication.
  • Managed Identity to avoid application secrets.
  • Key Vault for secrets, certificates, and connection material.
1:05-1:1510 minBreak
1:15-1:4025 minMessaging and background work
  • Service Bus for commands, events, retries, dead-letter queues, and decoupling.
  • Azure Functions for event-driven workflows.
  • Hosted services for app-owned background processes.
1:40-2:0020 minEnterprise integration designDraw the deployment and integration view: users, API, database, identity, secrets, queues, functions, telemetry, and external APIs.
Common misconception to confront.

Students often think: Azure deployment is an operations topic outside software design.
Set it straight: cloud services shape the application's boundaries, identity model, failure modes, cost, and security posture.

Check for understanding
Why use Managed Identity with Key Vault?
The application can access secrets or resources without storing long-lived credentials in configuration files or source code.
When is Service Bus a better fit than a direct HTTP call?
When work can be asynchronous, needs retry or dead-letter handling, or should be decoupled from the caller's request latency.
Key takeaways.

📚Reading & resources

💻Practice · 2 hours

0:00-0:2020 minAzure service mapTeams draw the Azure view of their application: API, database, identity, secrets, storage, messaging, functions, telemetry.
0:20-0:4525 minConfiguration and secrets boundaryReplace hardcoded settings with options classes and identify what would move to Key Vault.
0:45-1:0520 minIdentity and authorization boundaryIdentify where Entra ID, app roles, claims, and Managed Identity would appear in the design.
1:05-1:1510 minBreak
1:15-1:4530 minMessaging or Functions designChoose one workflow that should be asynchronous and sketch Service Bus, Azure Functions, or hosted-service handling.
1:45-2:0015 minProject-integration briefSubmit an Azure deployment and integration diagram plus one ADR explaining the cloud-service choices.

Project integration (this week)

PreviousWeek 10: SecurityNextWeek 12: AI-Enabled Systems