Merge branch 'main' into kub-stage

This commit is contained in:
masoodafar-web
2025-12-06 14:27:42 +03:30
114 changed files with 3432 additions and 223 deletions

View File

@@ -6,6 +6,7 @@ using Microsoft.AspNetCore.Server.Kestrel.Core;
using Serilog;
using Serilog.Core;
using Microsoft.OpenApi.Models;
using BackOffice.BFF.WebApi.Common.Authorization;
var builder = WebApplication.CreateBuilder(args);
if (RuntimeInformation.IsOSPlatform(OSPlatform.OSX))
@@ -37,6 +38,7 @@ builder.Services.AddGrpc(options =>
options.EnableDetailedErrors = true;
options.MaxReceiveMessageSize = 1000 * 1024 * 1024; // 1 GB
options.MaxSendMessageSize = 1000 * 1024 * 1024; // 1 GB
options.Interceptors.Add<PermissionInterceptor>();
}).AddJsonTranscoding();
builder.Services.AddInfrastructureServices(builder.Configuration);
builder.Services.AddApplicationServices();