Environment-Specific Settings
Database Connections
• Local Development: SQL Server with integrated security
• DEV/TEST/UAT/MASTER: Azure SQL Database with connection pooling
• Connection Timeout: 60 seconds for all environments
Azure Storage
• Separate storage accounts per environment
• Blob containers for file attachments
• Access policies configured per environment
Email Configuration
"EmailSettings": {
"SmtpServer": "smtp.sendgrid.net",
"SmtpPort": 587,
"FromEmail": "noreply@partners.egzynergy.com",
"FromName": "EG Zynergy Partners"
}
.NET Aspire Orchestration
The system uses .NET Aspire for local development and container orchestration:
var apiService = builder.AddProject<Projects.EGU_PartnerPortal_ApiService>("apiservice")
.WithExternalHttpEndpoints();
var integrationApiService = builder.AddProject<Projects.EGU_PartnerPortal_IntegrationAPIService>("integrationserviceapi")
.WithExternalHttpEndpoints()
.WithReference(apiService);
builder.AddProject<Projects.EGU_PartnerPortal_Web>("webfrontend")
.WithExternalHttpEndpoints()
.WithReference(apiService)
.WithReference(integrationApiService);