Exceptionless .NET Clients

repository·main·Indexed 20 days ago

https://github.com/exceptionless/exceptionless.net

Real-time error reporting and actionable data for .NET applications, including ASP.NET, Web API, WebForms, WPF, Console, and MVC. Provides integrations for .NET Core, .NET Framework, ASP.NET Core, Microsoft.Extensions.Hosting, and Microsoft.Extensions.Logging. Includes guidance on manual exception reporting, GDPR/PII data privacy configuration, and deployment to AWS Lambda.

Tokens
6.3K
Snippets
27
Records
39
Agent score
64%

What's inside exceptionless.net

  1. Configure GDPR and PII data exclusions

    main
    By default, the Exceptionless Client reports all available metadata, which may include Personally Identifiable Information (PII). To comply with GDPR or other privacy requirements, you can fine-tune data collection using Data Exclusions or by disabling collection entirely. Detailed configuration instructions can be found in the official documentation: https://exceptionless.com/docs/clients/dotnet/private-information/
  2. Manage PII and Data Exclusions in .NET Clients

    main

    By default, the Exceptionless .NET client collects all available metadata, which may include Personally Identifiable Information (PII).

    To comply with privacy requirements like GDPR, you can:

    1. Use Data Exclusions to fine-tune what information is collected.
    2. Turn off collection completely.

    For detailed implementation instructions on configuring privacy settings, refer to the official documentation: https://exceptionless.com/docs/clients/dotnet/private-information/

  3. Configure PII and Data Exclusions for GDPR

    main

    By default, the Exceptionless Client reports all available metadata, which may include potential Personally Identifiable Information (PII). To comply with GDPR or other privacy requirements, you can fine-tune information collection using Data Exclusions or by disabling collection entirely.

    Detailed configuration instructions can be found in the official documentation: https://exceptionless.com/docs/clients/dotnet/private-information/

  4. Configure PII and Data Privacy in Exceptionless .NET Clients

    main

    By default, the Exceptionless Client reports all available metadata, which may include Personally Identifiable Information (PII).

    To comply with privacy requirements like GDPR, you can:

    1. Use Data Exclusions to fine-tune what information is collected.
    2. Turn off collection completely.

    For detailed configuration instructions on managing private information, refer to the official documentation: https://exceptionless.com/docs/clients/dotnet/private-information/

  5. Manage PII and GDPR compliance in Exceptionless

    main
    By default, the Exceptionless client collects all available metadata, which may include Personally Identifiable Information (PII). To comply with GDPR or other privacy requirements, you can fine-tune data collection using Data Exclusions or by disabling collection entirely. Detailed configuration instructions can be found in the official documentation: https://exceptionless.com/docs/clients/dotnet/private-information/
  6. Configure GDPR and Data Privacy

    main
    By default, the Exceptionless Client reports all available metadata, which may include Personally Identifiable Information (PII). To comply with GDPR or other privacy requirements, you can fine-tune data collection using Data Exclusions or by disabling collection entirely. Refer to the official documentation for detailed configuration instructions.
  7. Configure GDPR and PII data collection

    main

    By default, the Exceptionless Client reports all available metadata, which may include potential Personally Identifiable Information (PII). To comply with GDPR or other privacy requirements, you can fine-tune information collection using Data Exclusions or by disabling collection entirely.

    Detailed configuration instructions can be found in the official documentation: https://exceptionless.com/docs/clients/dotnet/private-information/

  8. Integrate Exceptionless with log4net

    main

    To use Exceptionless as a log4net appender, add the ExceptionlessAppender to your log.config file.

    By default, the appender attempts to use settings from your existing Exceptionless configuration section. However, you can explicitly provide an API key directly within the appender configuration.

    <!-- Example log.config configuration -->
    <appender name="exceptionless" type="Exceptionless.Log4net.ExceptionlessAppender, Exceptionless.Log4net">
        <apiKey value="API_KEY_HERE" />
    </appender>
  9. Integrate Exceptionless with Microsoft.Extensions.Hosting

    main

    To use Exceptionless in a .NET application using Microsoft.Extensions.Hosting, you need to register the service on the host builder and ensure the event queue is flushed during application shutdown.

    1. Import the Exceptionless namespace.
    2. Call AddExceptionless to configure the client with your API key.
    3. Call UseExceptionless to enable the host integration for graceful shutdown.
    var builder = Host.CreateApplicationBuilder(args);
    
    // Configure the client with your API key
    builder.AddExceptionless(c => c.ApiKey = "API_KEY_HERE");
    
    // Ensure the pending queue is flushed during host shutdown
    builder.UseExceptionless();
  10. Use Open Iconic Icon Font standalone

    main

    To use Open Iconic as an icon font without Bootstrap or Foundation, include the default stylesheet and use the oi class with the data-glyph attribute to specify the icon name.

    <link href="/open-iconic/font/css/open-iconic.css" rel="stylesheet">
    
    <span class="oi" data-glyph="icon-name" title="icon name" aria-hidden="true"></span>
  11. Deploy an AWS Lambda function via Command Line

    main

    You can deploy your AWS Lambda function using the Amazon.Lambda.Tools global tool.

    1. Install or Update Amazon.Lambda.Tools

    If you haven't installed the tool yet, use:

    dotnet tool install -g Amazon.Lambda.Tools

    To update to the latest version:

    dotnet tool update -g Amazon.Lambda.Tools

    2. Run Unit Tests

    Navigate to your test project directory and run:

    cd "BlueprintBaseName/test/BlueprintBaseName.Tests"
    dotnet test

    3. Deploy to AWS Lambda

    Navigate to your source project directory and execute the deployment command:

    cd "BlueprintBaseName/src/BlueprintBaseName"
    dotnet lambda deploy-function

    Note: Replace BlueprintBaseName with your actual project name.

    dotnet tool install -g Amazon.Lambda.Tools
    
    # To update
    dotnet tool update -g Amazon.Lambda.Tools
    
    # To test
    cd "BlueprintBaseName/test/BlueprintBaseName.Tests"
    dotnet test
    
    # To deploy
    cd "BlueprintBaseName/src/BlueprintBaseName"
    dotnet lambda deploy-function