Hello Zero,
we're trying to add some custom log audit of the business logic service calls using the interceptor approach. Following the steps in the tutorial I've written an interceptor class, a registrar and added the lines to the module. But I can't see no Intercept method calls.
Here's the interface declaration:
public interface IDataAppService : IAsyncCrudAppService<DataSourceDto, Int32, PagedDataSourceResultRequestDto, CreateDataSourceDto, DataSourceDto>
We're working with the Ng+Core template.
Any assistance is appreciated, thank you.
2 Answer(s)
-
0
hi 1dataladder
Can you share the full code or an example project?
You can also check this sample https://github.com/aspnetboilerplate/aspnetboilerplate-samples/tree/master/InterceptionDemo
-
0
Hello maliming,
although I hadn't managed to make it work I found a solution using action filters. The sample project didn't work for me too.
Nevermind, I'm closing the support request, thank you.