Yes but you have to modify the main source code and a we prefer don't touch the main project for many reasons, first of all the upgrade to new versions.
So briefly, you say that is not possibile to add a filter from a plugin module without modify the main code, right ?
Thank you @ryancyq
I'm sorry but I don't see any snippet of code suitable to add new filter outside of the abzero code, because in the plugin I've not access to services configuration like in startup with options.Filters.AddService(typeof(AbpAuthorizationFilter); or services.PostConfigure<MvcOptions>....
I mean something like : IocManager.Instance.Resolve<Filters>().Add(typeof(GdprFilter)) in preInitialize step of module.
The problem is how to add new filters in plugin module.
Thanks
Thank you @aaron.
I think that in this case the filters in Core are the best option. So I've created my filter to log some particular methods, but how can I add my filters to abp core filters? Note that I'm developing a module (folder plugins)
Thank you. But what I don't understand is that abpcore auditing intereceptor catch all my application service methods, but if I do the same thing, I cant catch only methods that are virtual.
Where is the magic ?
Hi, I'm implementing a new interceptor on Core version of Abp to make a different kind of log. Initially it didn't work but I've read that for Core the method must be virtual. But I've also read in this post [https://forum.aspnetboilerplate.com/viewtopic.php?f=5&t=11098&p=28564&hilit=interceptors#p28564]) that you don't use interceptor. So, to stay in sync, how do you log every application service methods on Core ?
Thank you
Hi, some news about my question?
Thank you.
Yes sure. Project link sent by mail.
Thank you
No, nothing relevant on log. I've attached an extract of logs.txt
Note: the real name of the method is "AggiornaDocumento" and not UpdateDocument.
Thank you Logs.zip
Already done. I started with the same example on documentation. Nothing . No entity changes is tracked :(
I've tried in PreInitilize method of all modules. Application, Core, Repository and Web
The entity DocumentTemplateData is defined in Core and used in Repository.
Exists some sample project ?