From e9b523e96397e0464553e69de3ec1805c977ed7a Mon Sep 17 00:00:00 2001 From: Mahdiyar Ghannad Date: Sat, 11 Nov 2023 17:25:37 +0330 Subject: [PATCH 1/2] Made global exception handling true --- .../EasyMicroservices.ContentsMicroservice.WebApi/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CSharp/EasyMicroservices.ContentsMicroservice.WebApi/Program.cs b/src/CSharp/EasyMicroservices.ContentsMicroservice.WebApi/Program.cs index 0e709b3..cd17bbd 100644 --- a/src/CSharp/EasyMicroservices.ContentsMicroservice.WebApi/Program.cs +++ b/src/CSharp/EasyMicroservices.ContentsMicroservice.WebApi/Program.cs @@ -9,7 +9,7 @@ public class Program public static async Task Main(string[] args) { var app = CreateBuilder(args); - var build = await app.Build(); + var build = await app.Build(trues); build.MapControllers(); build.Run(); } From 7b1ac49249151da9bf2350ee1975e45e74ec3ce6 Mon Sep 17 00:00:00 2001 From: Mahdiyar Ghannad Date: Sat, 11 Nov 2023 17:27:00 +0330 Subject: [PATCH 2/2] correct typo --- ...icroservices.ContentsMicroservice.Database.csproj | 2 +- ...yMicroservices.ContentsMicroservice.Domain.csproj | 2 +- ...Microservices.ContentsMicroservice.StartUp.csproj | 4 ++-- ...syMicroservices.ContentsMicroservice.Tests.csproj | 12 ++++++------ ...yMicroservices.ContentsMicroservice.WebApi.csproj | 2 +- .../Program.cs | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/CSharp/EasyMicroservices.ContentsMicroservice.Database/EasyMicroservices.ContentsMicroservice.Database.csproj b/src/CSharp/EasyMicroservices.ContentsMicroservice.Database/EasyMicroservices.ContentsMicroservice.Database.csproj index 1ec3971..e117fe9 100644 --- a/src/CSharp/EasyMicroservices.ContentsMicroservice.Database/EasyMicroservices.ContentsMicroservice.Database.csproj +++ b/src/CSharp/EasyMicroservices.ContentsMicroservice.Database/EasyMicroservices.ContentsMicroservice.Database.csproj @@ -13,7 +13,7 @@ - + diff --git a/src/CSharp/EasyMicroservices.ContentsMicroservice.Domain/EasyMicroservices.ContentsMicroservice.Domain.csproj b/src/CSharp/EasyMicroservices.ContentsMicroservice.Domain/EasyMicroservices.ContentsMicroservice.Domain.csproj index e836611..5cd5d4e 100644 --- a/src/CSharp/EasyMicroservices.ContentsMicroservice.Domain/EasyMicroservices.ContentsMicroservice.Domain.csproj +++ b/src/CSharp/EasyMicroservices.ContentsMicroservice.Domain/EasyMicroservices.ContentsMicroservice.Domain.csproj @@ -12,7 +12,7 @@ - + diff --git a/src/CSharp/EasyMicroservices.ContentsMicroservice.StartUp/EasyMicroservices.ContentsMicroservice.StartUp.csproj b/src/CSharp/EasyMicroservices.ContentsMicroservice.StartUp/EasyMicroservices.ContentsMicroservice.StartUp.csproj index 004dbf5..c9e2c30 100644 --- a/src/CSharp/EasyMicroservices.ContentsMicroservice.StartUp/EasyMicroservices.ContentsMicroservice.StartUp.csproj +++ b/src/CSharp/EasyMicroservices.ContentsMicroservice.StartUp/EasyMicroservices.ContentsMicroservice.StartUp.csproj @@ -6,8 +6,8 @@ - - + + diff --git a/src/CSharp/EasyMicroservices.ContentsMicroservice.Tests/EasyMicroservices.ContentsMicroservice.Tests.csproj b/src/CSharp/EasyMicroservices.ContentsMicroservice.Tests/EasyMicroservices.ContentsMicroservice.Tests.csproj index 69ee562..ef293a4 100644 --- a/src/CSharp/EasyMicroservices.ContentsMicroservice.Tests/EasyMicroservices.ContentsMicroservice.Tests.csproj +++ b/src/CSharp/EasyMicroservices.ContentsMicroservice.Tests/EasyMicroservices.ContentsMicroservice.Tests.csproj @@ -19,20 +19,20 @@ - + - - - + + + all runtime; build; native; contentfiles; analyzers; buildtransitive - + runtime; build; native; contentfiles; analyzers; buildtransitive all - 7.0.11 + 7.0.13 diff --git a/src/CSharp/EasyMicroservices.ContentsMicroservice.WebApi/EasyMicroservices.ContentsMicroservice.WebApi.csproj b/src/CSharp/EasyMicroservices.ContentsMicroservice.WebApi/EasyMicroservices.ContentsMicroservice.WebApi.csproj index 1983cb7..96e3df0 100644 --- a/src/CSharp/EasyMicroservices.ContentsMicroservice.WebApi/EasyMicroservices.ContentsMicroservice.WebApi.csproj +++ b/src/CSharp/EasyMicroservices.ContentsMicroservice.WebApi/EasyMicroservices.ContentsMicroservice.WebApi.csproj @@ -6,7 +6,7 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/CSharp/EasyMicroservices.ContentsMicroservice.WebApi/Program.cs b/src/CSharp/EasyMicroservices.ContentsMicroservice.WebApi/Program.cs index cd17bbd..6749558 100644 --- a/src/CSharp/EasyMicroservices.ContentsMicroservice.WebApi/Program.cs +++ b/src/CSharp/EasyMicroservices.ContentsMicroservice.WebApi/Program.cs @@ -9,7 +9,7 @@ public class Program public static async Task Main(string[] args) { var app = CreateBuilder(args); - var build = await app.Build(trues); + var build = await app.Build(true); build.MapControllers(); build.Run(); }