Exceptionless .NET Clients
repository·main·Indexed 20 days ago
https://github.com/exceptionless/exceptionless.netReal-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.
What's inside exceptionless.net
- 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/
Manage PII and Data Exclusions in .NET Clients
mainBy 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:
- Use Data Exclusions to fine-tune what information is collected.
- 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/
Configure PII and Data Exclusions for GDPR
mainBy 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/
Configure PII and Data Privacy in Exceptionless .NET Clients
mainBy default, the Exceptionless Client reports all available metadata, which may include Personally Identifiable Information (PII).
To comply with privacy requirements like GDPR, you can:
- Use Data Exclusions to fine-tune what information is collected.
- 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/
Manage PII and GDPR compliance in Exceptionless
mainBy 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/Configure GDPR and Data Privacy
mainBy 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.Configure GDPR and PII data collection
mainBy 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/
Use Open Iconic Icon Font with Foundation
mainTo use Open Iconic as an icon font within a Foundation project, include the Foundation-specific stylesheet and use the
fi-prefix for icon classes.<link href="/open-iconic/font/css/open-iconic-foundation.css" rel="stylesheet"> <span class="fi-icon-name" title="icon name" aria-hidden="true"></span>Integrate Exceptionless with log4net
mainTo use Exceptionless as a log4net appender, add the
ExceptionlessAppenderto yourlog.configfile.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>Integrate Exceptionless with Microsoft.Extensions.Hosting
mainTo 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.- Import the
Exceptionlessnamespace. - Call
AddExceptionlessto configure the client with your API key. - Call
UseExceptionlessto 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();- Import the
Use Open Iconic Icon Font standalone
mainTo use Open Iconic as an icon font without Bootstrap or Foundation, include the default stylesheet and use the
oiclass with thedata-glyphattribute 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>Deploy an AWS Lambda function via Command Line
mainYou can deploy your AWS Lambda function using the
Amazon.Lambda.Toolsglobal tool.1. Install or Update Amazon.Lambda.Tools
If you haven't installed the tool yet, use:
dotnet tool install -g Amazon.Lambda.ToolsTo update to the latest version:
dotnet tool update -g Amazon.Lambda.Tools2. Run Unit Tests
Navigate to your test project directory and run:
cd "BlueprintBaseName/test/BlueprintBaseName.Tests" dotnet test3. Deploy to AWS Lambda
Navigate to your source project directory and execute the deployment command:
cd "BlueprintBaseName/src/BlueprintBaseName" dotnet lambda deploy-functionNote: Replace
BlueprintBaseNamewith 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