# Microsoft.AspNetCore.Mvc.Infrastructure

``` diff
 namespace Microsoft.AspNetCore.Mvc.Infrastructure {
+    public sealed class DefaultProblemDetailsFactory : ProblemDetailsFactory {
+        public DefaultProblemDetailsFactory(IOptions<ApiBehaviorOptions> options, IOptions<ProblemDetailsOptions>? problemDetailsOptions = null);
+        public override ProblemDetails CreateProblemDetails(HttpContext httpContext, int? statusCode = default(int?), string title = null, string type = null, string detail = null, string instance = null);
+        public override ValidationProblemDetails CreateValidationProblemDetails(HttpContext httpContext, ModelStateDictionary modelStateDictionary, int? statusCode = default(int?), string title = null, string type = null, string detail = null, string instance = null);
+    }
 }
```

