You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Your base framework: .Net Framework or .Net Core. - .Net 8
Steps needed to reproduce the problem.
Clone the aspnetboilerplate-samples repo
Open the InterceptionDemo solution
Put breakpoints in the MeasureDurationWithPostAsyncActionInterceptor file. In the constructor and in the TestActionAsync and LogExecutionTime methods.
Run the project
From the swagger page execute the IsTenantAvailable endpoint.
Breakpoints n the TestActionAsync and LogExecutionTime methods are not hit.
The text "MeasureDurationWithPostAsyncActionInterceptor" is not in the ouput->debug window, output->asp.net core web server window, or in the log files.
The MeasureDurationWithPostAsyncActionInterceptor constructor is executed. The MeasureDurationWithPostAsyncActionInterceptor interceptor is registered to the AccountAppService service, but the Intercept and InternalIntercepts are not being hit.
I'm experiencing the same behavior in a 9.1.3 version ((AppVersionHelper version 13.1) of the framework, but it works in 8.2 version (AppVersionHelper version 12.2)
The text was updated successfully, but these errors were encountered:
I just wanted to mention that when I change the IsTenantAvailable to public virtual async, this works. I confirmed that this worked in my 9.1 project a well. Feel free to close.
Clone the aspnetboilerplate-samples repo
Open the InterceptionDemo solution
Put breakpoints in the MeasureDurationWithPostAsyncActionInterceptor file. In the constructor and in the TestActionAsync and LogExecutionTime methods.
Run the project
From the swagger page execute the IsTenantAvailable endpoint.
Breakpoints n the TestActionAsync and LogExecutionTime methods are not hit.
The text "MeasureDurationWithPostAsyncActionInterceptor" is not in the ouput->debug window, output->asp.net core web server window, or in the log files.
The MeasureDurationWithPostAsyncActionInterceptor constructor is executed. The MeasureDurationWithPostAsyncActionInterceptor interceptor is registered to the AccountAppService service, but the Intercept and InternalIntercepts are not being hit.
I'm experiencing the same behavior in a 9.1.3 version ((AppVersionHelper version 13.1) of the framework, but it works in 8.2 version (AppVersionHelper version 12.2)
The text was updated successfully, but these errors were encountered: