.NET 10 solution for Ping, a Discord style chat app: Domain, Application and Infrastructure projects plus the Api host. SignalR for chat and presence, LiveKit for call tokens, EF Core on Postgres, S3 compatible storage for attachments, and OIDC auth shared with the Musify Zitadel instance. Includes the Compose stack for local development.
26 lines
599 B
C#
26 lines
599 B
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace Ping.Infrastructure.Configuration
|
|
{
|
|
public class InfrastructureStorageConfiguration
|
|
{
|
|
public const string SectionName = "InfrastructureStorage";
|
|
|
|
[Url]
|
|
[Required]
|
|
public required string Address { get; set; }
|
|
|
|
[Required]
|
|
public required string AccessKey { get; set; }
|
|
|
|
[Required]
|
|
public required string SecretAccessKey { get; set; }
|
|
|
|
[Required]
|
|
public bool ForcePathStyle { get; set; }
|
|
|
|
[Required]
|
|
public bool UseHttp { get; set; }
|
|
}
|
|
}
|