Runtime .NET 11.0.0; dynamic code True; JSON reflection False
info: Microsoft.Hosting.Lifetime[14]
      Now listening on: http://127.0.0.1:57522
info: Microsoft.Hosting.Lifetime[0]
      Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
      Hosting environment: Production
info: Microsoft.Hosting.Lifetime[0]
      Content root path: <published>
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0]
      Executing endpoint 'HTTP: GET /health'
info: Microsoft.AspNetCore.Http.Result.ContentResult[2]
      Write content with HTTP Response ContentType of text/plain; charset=utf-8
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1]
      Executed endpoint 'HTTP: GET /health'
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0]
      Executing endpoint 'HTTP: GET /health'
info: Microsoft.AspNetCore.Http.Result.ContentResult[2]
      Write content with HTTP Response ContentType of text/plain; charset=utf-8
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1]
      Executed endpoint 'HTTP: GET /health'
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0]
      Executing endpoint 'HTTP: GET /jobs'
info: Microsoft.AspNetCore.Http.Result.JsonResult[3]
      Writing value of type 'JobQueue' as Json.
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1]
      Executed endpoint 'HTTP: GET /jobs'
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0]
      Executing endpoint 'HTTP: POST /jobs'
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1]
      Executed endpoint 'HTTP: POST /jobs'
fail: Microsoft.AspNetCore.Server.Kestrel[13]
      Connection id "0HNQ7SF8EEL44", Request id "0HNQ7SF8EEL44:00000001": An unhandled exception was thrown by the application.
      System.NotSupportedException: JsonTypeInfo metadata for type 'JobProblem' was not provided by TypeInfoResolver of type '[JobJson]'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
         at System.Text.Json.ThrowHelper.ThrowNotSupportedException_NoMetadataForType(Type type, IJsonTypeInfoResolver resolver)
         at System.Text.Json.JsonSerializerOptions.GetTypeInfoInternal(Type type, Boolean ensureConfigured, Nullable`1 ensureNotNull, Boolean resolveIfMutable, Boolean fallBackToNearestAncestorType)
         at Program.<>c__DisplayClass0_0.<<<Main>$>g__Reject|4>d.MoveNext() in <course-source>/Program.cs:line 51
      --- End of stack trace from previous location ---
         at Program.<>c__DisplayClass0_0.<<<Main>$>g__Submit|3>d.MoveNext() in <course-source>/Program.cs:line 39
      --- End of stack trace from previous location ---
         at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
         at System.Runtime.CompilerServices.AsyncHelpers.TransparentAwait(Task task)
         at Microsoft.AspNetCore.Hosting.HostingApplication.ProcessRequestAsync(Context context)
         at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.ProcessRequests[TContext](IHttpApplication`1 application)
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0]
      Executing endpoint 'HTTP: GET /jobs'
info: Microsoft.AspNetCore.Http.Result.JsonResult[3]
      Writing value of type 'JobQueue' as Json.
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1]
      Executed endpoint 'HTTP: GET /jobs'
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0]
      Executing endpoint 'HTTP: POST /jobs'
info: Microsoft.AspNetCore.Http.Result.JsonResult[1]
      Setting HTTP status code 202.
info: Microsoft.AspNetCore.Http.Result.JsonResult[3]
      Writing value of type 'QueuedJob' as Json.
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1]
      Executed endpoint 'HTTP: POST /jobs'
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0]
      Executing endpoint 'HTTP: GET /jobs'
info: Microsoft.AspNetCore.Http.Result.JsonResult[3]
      Writing value of type 'JobQueue' as Json.
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1]
      Executed endpoint 'HTTP: GET /jobs'
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0]
      Executing endpoint 'HTTP: POST /jobs'
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1]
      Executed endpoint 'HTTP: POST /jobs'
fail: Microsoft.AspNetCore.Server.Kestrel[13]
      Connection id "0HNQ7SF8EEL48", Request id "0HNQ7SF8EEL48:00000001": An unhandled exception was thrown by the application.
      System.NotSupportedException: JsonTypeInfo metadata for type 'JobProblem' was not provided by TypeInfoResolver of type '[JobJson]'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
         at System.Text.Json.ThrowHelper.ThrowNotSupportedException_NoMetadataForType(Type type, IJsonTypeInfoResolver resolver)
         at System.Text.Json.JsonSerializerOptions.GetTypeInfoInternal(Type type, Boolean ensureConfigured, Nullable`1 ensureNotNull, Boolean resolveIfMutable, Boolean fallBackToNearestAncestorType)
         at Program.<>c__DisplayClass0_0.<<<Main>$>g__Reject|4>d.MoveNext() in <course-source>/Program.cs:line 51
      --- End of stack trace from previous location ---
         at Program.<>c__DisplayClass0_0.<<<Main>$>g__Submit|3>d.MoveNext() in <course-source>/Program.cs:line 39
      --- End of stack trace from previous location ---
         at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
         at System.Runtime.CompilerServices.AsyncHelpers.TransparentAwait(Task task)
         at Microsoft.AspNetCore.Hosting.HostingApplication.ProcessRequestAsync(Context context)
         at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.ProcessRequests[TContext](IHttpApplication`1 application)
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0]
      Executing endpoint 'HTTP: GET /jobs'
info: Microsoft.AspNetCore.Http.Result.JsonResult[3]
      Writing value of type 'JobQueue' as Json.
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1]
      Executed endpoint 'HTTP: GET /jobs'
info: Microsoft.Hosting.Lifetime[0]
      Application is shutting down...
