Interceptor.AOP 1.0.2

There is a newer version of this package available.
See the version list below for details.
dotnet add package Interceptor.AOP --version 1.0.2
                    
NuGet\Install-Package Interceptor.AOP -Version 1.0.2
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Interceptor.AOP" Version="1.0.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Interceptor.AOP" Version="1.0.2" />
                    
Directory.Packages.props
<PackageReference Include="Interceptor.AOP" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Interceptor.AOP --version 1.0.2
                    
#r "nuget: Interceptor.AOP, 1.0.2"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=Interceptor.AOP&version=1.0.2
                    
Install Interceptor.AOP as a Cake Addin
#tool nuget:?package=Interceptor.AOP&version=1.0.2
                    
Install Interceptor.AOP as a Cake Tool

📦 Interceptor.AOP

Una librería ligera y extensible para aplicar Aspect-Oriented Programming (AOP) en aplicaciones .NET mediante interceptores de método automáticos usando DispatchProxy.

🎯 Propósito

Centralizar y estandarizar el manejo de lógica transversal como:

  • 🛡️ Manejo automático de excepciones
  • 📝 Logging estructurado con ILogger<T>
  • 🧠 Contextualización de errores usando atributos
  • 💡 Preparado para futuras extensiones (reintentos, métricas, validaciones, etc.)

🚀 Características

✔️ Intercepta automáticamente todos los métodos públicos de servicios registrados por interfaz
✔️ Captura excepciones sin necesidad de try/catch en cada método
✔️ Registra errores con la categoría de clase usando ILogger<T>
✔️ Compatible con Serilog, Seq, Application Insights, etc.
✔️ Opcional: usa el atributo [HandleException("Contexto")] para enriquecer los logs


🧱 Cómo instalar

Desde NuGet:

dotnet add package Interceptor.AOP
Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Interceptor.AOP:

Package Downloads
Interceptor.AOP.AspNetCore

Integración ASP.NET Core para la librería Interceptor.AOP con soporte automático de interceptores AOP en servicios.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.3.11 136 5/1/2025
1.3.10 139 5/1/2025
1.3.9 137 5/1/2025
1.3.8 173 4/22/2025
1.3.7 152 4/22/2025
1.3.6 157 4/22/2025
1.2.6 205 4/18/2025
1.2.5 191 4/18/2025
1.2.4 193 4/18/2025
1.2.3 185 4/18/2025
1.2.2 189 4/17/2025
1.2.1 191 4/17/2025
1.2.0 185 4/17/2025
1.1.2 201 4/15/2025
1.1.1 190 4/15/2025
1.1.0 196 4/15/2025
1.0.2 194 4/15/2025
1.0.1 207 4/15/2025
1.0.0 191 4/15/2025