When pulling the Serilog.Sinks.Raygun into .NET Core projects that are non-web based, such as console apps or MAUI apps, the enricher requires asp .net dependencies to be pulled in.
This PR removes that dependency which removes the enricher. There are many encrichers available for http properties which can be used instead to add data to the crash reports.
However removing the enricher removes the need for Mindscape.Raygun4Net.AspNetCore which contains an interface for custom Raygun Client providers. To compensate we introduce IRaygunClientProvider which means we can implement custom Raygun Client provider in both .NET Core and .NET Framework.
When pulling the Serilog.Sinks.Raygun into .NET Core projects that are non-web based, such as console apps or MAUI apps, the enricher requires asp .net dependencies to be pulled in.
This PR removes that dependency which removes the enricher. There are many encrichers available for http properties which can be used instead to add data to the crash reports.
However removing the enricher removes the need for
Mindscape.Raygun4Net.AspNetCore
which contains an interface for custom Raygun Client providers. To compensate we introduceIRaygunClientProvider
which means we can implement custom Raygun Client provider in both .NET Core and .NET Framework.