我想在我的 .NET Core 应用程序中实现审核日志记录。就像是
[HttpPost, Auditing] public dynamic SomeApiAction() { // API code here ... }
该属性应该能够在执行之前和之后拦截 API 调用以便记录。
.net core 中是否有这样的机制作为框架的一部分?我不想使用任何第三方组件。请指教。
api audit .net-core
.net-core ×1
api ×1
audit ×1