DataWeb
Search Results for

    Show / Hide Table of Contents

    Class ExceptionMiddlewareExtension

    Extension methods for configuring exception handling middleware in the application pipeline.

    Inheritance
    object
    ExceptionMiddlewareExtension
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: DataWeb.MiddlewareExtensions
    Assembly: DataWeb.Core.dll
    Syntax
    public static class ExceptionMiddlewareExtension

    Methods

    ConfigureExceptionHandler(IApplicationBuilder, IAppErrorService, IUser)

    Configures the exception handling middleware to catch and log exceptions in the application.

    Declaration
    public static void ConfigureExceptionHandler(this IApplicationBuilder app, IAppErrorService appErrorService, IUser user)
    Parameters
    Type Name Description
    IApplicationBuilder app

    The IApplicationBuilder instance.

    IAppErrorService appErrorService

    The IAppErrorService instance used for logging errors.

    IUser user

    The current IUser instance.

    In this article
    Back to top Generated by DocFX