public class MyExceptionFilter : IExceptionFilter
{
public void OnException(ExceptionContext context)
{
...
}
}
how can I register this filter on a specific net 7 minimal API endpoint?
public class MyExceptionFilter : IExceptionFilter
{
public void OnException(ExceptionContext context)
{
...
}
}
how can I register this filter on a specific net 7 minimal API endpoint?
Copyright © 2021 Jogjafile Inc.