Merge branch 'master' into fit/master/Hassanzadeh

This commit is contained in:
mohammad.mahdi
2025-09-05 15:51:33 +03:30
9 changed files with 67 additions and 79 deletions
+7
View File
@@ -1,6 +1,13 @@
using Vizhtalk.CDN.Presentation.Services;
var builder = WebApplication.CreateBuilder(args);
builder.Services.AddGrpc();
var app = builder.Build();
app.MapGet("/", () => "Hello World!");
app.MapGrpcService<CDNService>();
app.Run();
@@ -0,0 +1,12 @@
using Grpc.Core;
using VizhTalk.Grpc.CDN;
namespace Vizhtalk.CDN.Presentation.Services;
public class CDNService : CDNGrpc.CDNGrpcBase
{
public override Task<UploadFileDTO> UploadFile(UploadFileCommand request, ServerCallContext context)
{
return base.UploadFile(request, context);
}
}
@@ -7,7 +7,9 @@
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\VizhTalk.BuildingBlocks.Infrastructure\VizhTalk.BuildingBlocks.Infrastructure.csproj" />
<PackageReference Include="Grpc.AspNetCore" Version="2.57.0" />
<ProjectReference Include="..\VizhTalk.BuildingBlocks.Infrastructure\VizhTalk.BuildingBlocks.Infrastructure.csproj" />
<ProjectReference Include="..\VizhTalk.Grpc.CDN\VizhTalk.Grpc.CDN.csproj" />
</ItemGroup>
<ItemGroup>