From 62700a4c221c83e3d8b47518cd23bcce17e95ebb Mon Sep 17 00:00:00 2001 From: Rick Anderson <3605364+Rick-Anderson@users.noreply.github.com> Date: Wed, 17 May 2023 15:17:44 -1000 Subject: [PATCH] Update Program.cs --- fundamentals/middleware/problem-details-service/Program.cs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/fundamentals/middleware/problem-details-service/Program.cs b/fundamentals/middleware/problem-details-service/Program.cs index 32a64a9..5ece496 100644 --- a/fundamentals/middleware/problem-details-service/Program.cs +++ b/fundamentals/middleware/problem-details-service/Program.cs @@ -321,14 +321,10 @@ app.Run(); // var builder = WebApplication.CreateBuilder(args); -// Add services to the container. -// addd SampleProblemDetailsWriter to dependency injection builder.Services.AddTransient(); var app = builder.Build(); - - // Middleware to handle writing problem details to the response. app.Use(async (context, next) => {