### Install Raygun4Go library Source: https://raygun.com/documentation/language-guides/go/crash-reporting/installation Use the go get command to download the library into your project. ```bash $ go get github.com/MindscapeHQ/raygun4go ``` -------------------------------- ### Start the systemd service Source: https://raygun.com/documentation/product-guides/apm/agent-installation/linux Enable and start the Raygun agent service. ```bash sudo systemctl enable raygunagent sudo systemctl start raygunagent ``` -------------------------------- ### Install FullStory-Raygun Integration Source: https://raygun.com/documentation/product-guides/crash-reporting/integrations/fullstory Commands to install the integration package using NPM or Yarn. ```bash npm install --save @bharathvaj/fullstory-raygun ``` ```bash yarn add @bharathvaj/fullstory-raygun ``` -------------------------------- ### Install Package via Composer Source: https://raygun.com/documentation/language-guides/php/crash-reporting/magento Finalize the installation by running the composer install command. ```bash Installing dependencies from lock file (including require-dev) Verifying lock file contents can be installed on current platform. Package operations: 1 install, 0 update, 0 removals - Installing magenizr/magento2-raygun (1.1.2): Extracting archive ``` -------------------------------- ### NuGet Installation Source: https://raygun.com/documentation/language-guides/javascript/crash-reporting/troubleshooting Install the library via the Visual Studio Package Manager Console. ```powershell Install-Package raygun4js ``` -------------------------------- ### Example file path inputs and output Source: https://raygun.com/documentation/language-guides/javascript/crash-reporting/source-maps These examples demonstrate how different platform-specific paths are transformed into a single normalized URL. ```text file://android_asset/www/js/myjsfile.min.js ``` ```text file://accounts/1234/appdata/b12b33f1-519b-4d1c-8d68-315513ecbac1/www/js/myjsfile.min.js ``` ```text https://normalizedurl.com/js/myjsfile.min.js ``` -------------------------------- ### NPM Installation Source: https://raygun.com/documentation/language-guides/javascript/crash-reporting/troubleshooting Use this command to install the library for use with module bundlers like Webpack or Browserify. ```bash npm install raygun4js --save ``` -------------------------------- ### Test Raygun installation Source: https://raygun.com/documentation/language-guides/python/crash-reporting/installation Verify the installation by sending a test exception from the command line. ```bash raygun4py test paste_your_api_key_here ``` -------------------------------- ### Install dependencies Source: https://raygun.com/documentation/product-guides/apm/agent-installation/linux Install the unzip utility required for extracting the agent package. ```bash sudo apt-get -y install unzip ``` -------------------------------- ### Bower Installation Source: https://raygun.com/documentation/language-guides/javascript/crash-reporting/troubleshooting Install the library using the Bower package manager. ```bash bower install raygun4js ``` -------------------------------- ### Install Nancy.Raygun via NuGet Source: https://raygun.com/documentation/language-guides/dotnet/crash-reporting/nancy Use the Package Manager Console to install the required provider package. ```powershell PM> Install-Package Nancy.Raygun ``` -------------------------------- ### Deployment Script Usage Source: https://raygun.com/documentation/product-guides/deployment-tracking/bash Example command syntax and parameter definitions for executing the deployment script. ```text deployment.sh -t raygun_token -a apiKey -v version [-o owner_name] [-e email] [-n notes] [-i scm_identifier] [-s scm_type] [-d deployed_at] t raygun_token: raygun personal access token with deployments:write scope a apiKey: api key for your raygun application v version: version for this deployment o NAME: ame of the person who created the deployment e EMAIL: email address of the person who created the deployment. n notes: release notes for this deployment i scm_identifier: git commit hash this deployment was built from d deployed_at: time of the successful deployment (ISO-8601 formatted) ``` -------------------------------- ### Example Platform-Specific File Paths Source: https://raygun.com/documentation/product-guides/crash-reporting/sourcemaps Examples of raw file paths generated on different mobile platforms. ```text file://android_asset/www/js/myjsfile.min.js ``` ```text file://accounts/1234/appdata/b12b33f1-519b-4d1c-8d68-315513ecbac1/www/js/myjsfile.min.js ``` -------------------------------- ### Install the rake-raygun-deployment gem Source: https://raygun.com/documentation/product-guides/deployment-tracking/legacy/rake Use these commands to install the gem directly or via Bundler. ```bash gem install rake-raygun-deployment ``` ```bash echo "gem 'rake-raygun-deployment'" >> Gemfile bundle install ``` -------------------------------- ### Install Raygun Plugin Source: https://raygun.com/documentation/language-guides/fluentd/crash-reporting/installation Use the fluent-gem command to install the Raygun plugin for Fluentd. ```bash fluent-gem install fluent-plugin-raygun ``` -------------------------------- ### Composer install output Source: https://raygun.com/documentation/language-guides/php/real-user-monitoring/magento Expected output after running the composer install command. ```text Installing dependencies from lock file (including require-dev) Verifying lock file contents can be installed on current platform. Package operations: 1 install, 0 update, 0 removals - Installing magenizr/magento2-raygun (1.1.0): Extracting archive ``` -------------------------------- ### Initialize Raygun with Version Source: https://raygun.com/documentation/language-guides/android/real-user-monitoring/advanced-setup Set the application version during the initial client setup. ```java RaygunClient.init(this, "YOUR_RAYGUN_API_KEY", "YOUR_APP_VERSION"); ``` -------------------------------- ### Authentication Request Example Source: https://raygun.com/documentation/product-guides/real-user-monitoring/api Example cURL request using API key and Basic Authorization headers. ```bash curl -X POST -H "X-ApiKey: [YOUR_APPLICATION_API_KEY]" -H "Authorization: Basic [Base64 encoded ClientID:ClientSecret]" "https://api.raygun.com/api/v1/pulse/authenticate" ``` -------------------------------- ### Install Raygun4Net NuGet Package Source: https://raygun.com/documentation/language-guides/android/crash-reporting/net-core Use the .NET CLI to add the Raygun4Net.NetCore package to your project. ```bash dotnet add package Mindscape.Raygun4Net.NetCore ``` -------------------------------- ### Install Raygun4UWP NuGet Package Source: https://raygun.com/documentation/language-guides/dotnet/crash-reporting/uwp Use the dotnet CLI to add the Raygun4UWP package to your project. ```bash dotnet add package Raygun4UWP ``` -------------------------------- ### Install Raygun NuGet package Source: https://raygun.com/documentation/language-guides/dotnet/crash-reporting/aspnet Use the .NET CLI to add the Raygun4Net.AspNetCore package to your project. ```bash dotnet add package Mindscape.Raygun4Net.AspNetCore ``` -------------------------------- ### Test Raygun Integration Source: https://raygun.com/documentation/language-guides/ruby/crash-reporting/installation Verify the installation by triggering a test exception to appear in the Raygun dashboard. ```bash rake raygun:test ``` -------------------------------- ### Install Raygun NuGet package Source: https://raygun.com/documentation/language-guides/dotnet/crash-reporting/mvc Use the .NET CLI to add the Mindscape.Raygun4Net.Mvc package to your project. ```bash dotnet add package Mindscape.Raygun4Net.Mvc ``` -------------------------------- ### Paginated API Request Example Source: https://raygun.com/documentation/product-guides/raygun-api Example of a GET request using offset and count parameters to retrieve a specific subset of data. ```http GET /v3/applications?offset=10&count=20 ``` -------------------------------- ### Install Raygun NuGet Package Source: https://raygun.com/documentation/language-guides/dotnet/crash-reporting/aspnet-framework Use the .NET CLI to add the Mindscape.Raygun4Net package to your project. ```bash dotnet add package Mindscape.Raygun4Net ``` -------------------------------- ### Download and extract the agent Source: https://raygun.com/documentation/product-guides/apm/agent-installation/linux Create the installation directory, download the agent zip file, extract it, and set executable permissions. ```bash sudo mkdir -p /opt/raygun/agent sudo curl -O "https://downloads.raygun.com/APM/latest/RaygunAgent-Linux-(x64).zip" sudo unzip -d /opt/raygun/agent "RaygunAgent-Linux-(x64).zip" sudo rm "RaygunAgent-Linux-(x64).zip" sudo chmod +x /opt/raygun/agent/RaygunAgent ``` -------------------------------- ### GET /v3/applications Source: https://raygun.com/documentation/product-guides/raygun-api Example of a paginated request to the applications endpoint using offset and count parameters. ```APIDOC ## GET /v3/applications ### Description Retrieves a paginated list of applications. ### Method GET ### Endpoint /v3/applications ### Parameters #### Query Parameters - **offset** (integer) - Optional - The number of items to skip before starting to return entries. - **count** (integer) - Optional - The maximum number of items to return in the response. ### Response #### Success Response (200) - **X-Raygun-Total-Count** (header) - The total number of available items. - **X-Raygun-Count** (header) - The number of items returned in the current response. - **Link** (header) - A comma-separated list of URLs for navigation (self, first, prev, next, last). ``` -------------------------------- ### Install Agent as a Windows Service Source: https://raygun.com/documentation/product-guides/apm/agent-installation/windows Register the Raygun Agent as a Windows service configured to start automatically and restart on failure. ```powershell $agentpath = "${env:ProgramFiles}\Raygun\RaygunAgent" $params = @{ Name = "RaygunAgent" DisplayName = "Raygun Agent" BinaryPathName = "${agentpath}\RaygunAgent.exe" StartupType = "Automatic" Description = "Agent for Raygun APM" } # Create the Service New-Service @params # Set the Service to restart on failure & sc.exe failure $params.Name reset= 30 actions= restart/0/restart/5000/restart/30000 # Start the Service Start-Service $params.Name ``` -------------------------------- ### GET /v3/applications/{app-id}/deployments Source: https://raygun.com/documentation/product-guides/raygun-api Example of using the orderBy query parameter to sort deployment results by version and owner name. ```APIDOC ## GET /v3/applications/{app-id}/deployments ### Description Retrieves a list of deployments for a specific application, supporting custom ordering of results. ### Method GET ### Endpoint /v3/applications/{app-id}/deployments ### Parameters #### Path Parameters - **app-id** (string) - Required - The unique identifier of the application. #### Query Parameters - **orderBy** (string) - Optional - A comma-separated list of properties to sort by. Each property can be followed by 'asc' or 'desc'. Default is ascending. ``` -------------------------------- ### Initialize Heroku project Source: https://raygun.com/documentation/language-guides/nodejs/apm/heroku-buildpack Create a new Heroku application in the current directory. ```bash heroku create ``` -------------------------------- ### Conditionally disable console breadcrumbs in development Source: https://raygun.com/documentation/language-guides/javascript/crash-reporting/troubleshooting Example of disabling automatic console breadcrumbs specifically for non-production environments during library setup. ```javascript import { environment } from '../../environments/environment'; rg4js('apiKey', environment.raygunApiKey); rg4js('setVersion', environment.version); rg4js('enableCrashReporting', true); rg4js('enableRealUserMonitoring', true); rg4js('options', { debugMode: !environment.production }); if (!environment.production) { rg4js('disableAutoBreadcrumbsConsole'); } ``` -------------------------------- ### Bootstrap .NET Core process with Raygun CLI Source: https://raygun.com/documentation/language-guides/dotnet/apm/net-core Starts a .NET Core process with the necessary environment variables for profiling. ```bash # Start HelloWorldApp.dll process with profiler environment configured rgc.exe -profile "%ProgramFiles%\dotnet\dotnet.exe" -arguments HelloWorldApp.dll -coreclr -apikey -startup 60 ``` -------------------------------- ### View Diagnostics Session Logs Source: https://raygun.com/documentation/product-guides/apm/troubleshooting/azure-app-services Example output from the Diagnostics-Session web job showing the start, status updates, and completion of a trace capture session. ```text [... INFO] Raygun Agent for Windows [... INFO] Diagnostics session started. [... INFO] Starting diagnostics session for 2 minutes [... INFO] [... INFO] Message: Diagnostics session is currently running. [... INFO] [... INFO] Message: Diagnostics session is currently running. ... [... INFO] Message: Diagnostics session is currently running. [... INFO] [... INFO] Message: Diagnostics session is currently running. [... INFO] [... INFO] Message: Diagnostics session has ended. [... INFO] Session Id: 9575dd96 [... INFO] Duration: 120 seconds [... INFO] [... INFO] ---------------------------------------- [... INFO] Diagnostics session complete ``` -------------------------------- ### Install Raygun Aspire Hosting Ollama package Source: https://raygun.com/documentation/language-guides/dotnet/crash-reporting/aspire Use the dotnet CLI to add the required NuGet package to the AppHost project. ```bash dotnet add package Raygun.Aspire.Hosting.Ollama ``` -------------------------------- ### Install ember-cli-raygun Source: https://raygun.com/documentation/language-guides/javascript/crash-reporting/emberjs Install the Raygun addon via Ember CLI, optionally providing the API key during installation. ```bash $ ember install ember-cli-raygun --api_key='paste_your_api_key_here' ``` ```bash $ ember install ember-cli-raygun ``` -------------------------------- ### Initialize Raygun4Go client Source: https://raygun.com/documentation/language-guides/go/crash-reporting/installation Import the library and initialize the client in your main or request handling method. ```go import "github.com/MindscapeHQ/raygun4go" ``` ```go raygun, err := raygun4go.New("appName", "paste_your_api_key_here") if err != nil { log.Println("Unable to create Raygun client:", err.Error()) } defer raygun.HandleError() ``` ```go raygun.Silent(true) ``` -------------------------------- ### Install Raygun Aspire Hosting Package Source: https://raygun.com/documentation/language-guides/dotnet/crash-reporting/aspire Use the dotnet CLI to add the Raygun hosting package to the AppHost project. ```bash dotnet add package Raygun.Aspire.Hosting.Raygun ``` -------------------------------- ### Start the Raygun Agent Source: https://raygun.com/documentation/product-guides/apm/agent-installation/mac Executes the startup script located in the agent's bin directory to initialize the service. ```bash ./raygun/bin/start_agent.sh ``` -------------------------------- ### Install Grunt Raygun Plugin Source: https://raygun.com/documentation/product-guides/deployment-tracking/legacy/grunt Install the required npm package as a development dependency. ```bash npm install grunt-raygun-deployment --save-dev ``` -------------------------------- ### Install the systemd service Source: https://raygun.com/documentation/product-guides/apm/agent-installation/linux Move the service configuration file to the systemd directory and reload the daemon to register the agent. ```bash sudo mv /opt/raygun/agent/raygunagent.service /etc/systemd/system/ sudo systemctl daemon-reload ``` -------------------------------- ### Instantiate RaygunClient with full package path Source: https://raygun.com/documentation/language-guides/coldfusion/crash-reporting/installation Use this instantiation method when the library is placed directly in the webroot. ```cfml raygun = createObject("component","nz.co.ventego-creative.raygun4cfml.RaygunClient").init( apiKey = "paste_your_api_key_here" ); ``` -------------------------------- ### Install Raygun Webpack Plugin Source: https://raygun.com/documentation/language-guides/javascript/crash-reporting/webpack Install the plugin as a development dependency in your project root. ```bash npm install @raygun.io/webpack-plugin --save-dev ``` -------------------------------- ### Initialize Raygun client Source: https://raygun.com/documentation/language-guides/elixir/crash-reporting/installation Configure your API key in the project's config/config.exs file. ```elixir import Config config :raygun, api_key: "paste_your_api_key_here" ``` -------------------------------- ### Install via CocoaPods Source: https://raygun.com/documentation/language-guides/apple/crash-reporting/installation Add the Raygun dependency to your Podfile to manage the installation through CocoaPods. ```ruby pod 'raygun4apple' ``` -------------------------------- ### Install the Raygun Capistrano Gem Source: https://raygun.com/documentation/product-guides/deployment-tracking/legacy/capistrano Install the gem directly or add it to your project's Gemfile. ```bash gem install capistrano-raygun-deployment ``` ```bash echo "gem 'capistrano-raygun-deployment'" >> Gemfile bundle install ``` -------------------------------- ### Instantiate RaygunClient with Full Path Source: https://raygun.com/documentation/language-guides/coldfusion/crash-reporting/installation Use this instantiation method when the library is placed in the webroot or a mapped directory using the full package path. ```cfml raygun = createObject("component","nz.co.ventego-creative.raygun4cfml.RaygunClient").init( apiKey = "YOURAPIKEYHERE" ); ``` -------------------------------- ### Install Raygun4Ruby Manually Source: https://raygun.com/documentation/language-guides/ruby/crash-reporting/installation Use this command to install the gem manually without modifying the Gemfile. ```bash gem install raygun4ruby ``` -------------------------------- ### RaygunClient.init(options) Source: https://raygun.com/documentation/language-guides/react-native/real-user-monitoring/features Initializes the Raygun client with specific configuration options for Real User Monitoring, such as versioning, network monitoring, and custom endpoints. ```APIDOC ## RaygunClient.init(options) ### Description Initializes the Raygun client. The `options` object allows configuration of Real User Monitoring features including version tracking, disabling network monitoring, setting custom endpoints, and ignoring specific URLs. ### Parameters - **options** (RaygunClientOptions) - Required - Configuration object containing settings like `enableRealUserMonitoring`, `version`, `disableNetworkMonitoring`, `customRealUserMonitoringEndpoint`, and `ignoredURLs`. ``` -------------------------------- ### Install Raygun4Ruby via Bundle Source: https://raygun.com/documentation/language-guides/ruby/crash-reporting/installation Execute this command in your terminal to download and install the gem and its dependencies. ```bash bundle install ``` -------------------------------- ### Install raygun4py via pip Source: https://raygun.com/documentation/language-guides/python/crash-reporting/installation Use pip to install the raygun4py module into your Python environment. ```bash pip install raygun4py ``` -------------------------------- ### Configure client options Source: https://raygun.com/documentation/language-guides/go/crash-reporting/installation Use chainable methods to set metadata like user information on the Raygun client. ```go raygun4go.New("appName", "apiKey").User("Ronald Raygun") ``` -------------------------------- ### Install iOS native dependencies Source: https://raygun.com/documentation/language-guides/react-native/real-user-monitoring/installation Commands to install native iOS dependencies after modifying the Podfile. ```bash cd ios && pod install # OR npx pod-install ios ``` -------------------------------- ### Install Raygun4Maui via .NET CLI Source: https://raygun.com/documentation/language-guides/dotnet/crash-reporting/maui Use the .NET CLI to add the Raygun4Maui package to your project. ```bash dotnet add package Raygun4Maui ``` ```bash dotnet add package Raygun4Maui --version 2.0.1 ``` -------------------------------- ### Install Raygun package Source: https://raygun.com/documentation/language-guides/nodejs/crash-reporting/remix Commands to install the Raygun dependency using different package managers. ```bash npm install raygun ``` ```bash yarn add raygun ``` ```bash bun add raygun ``` -------------------------------- ### Profile a .NET Core process Source: https://raygun.com/documentation/product-guides/apm/raygun-cli Starts a .NET Core process with the necessary profiler environment variables and configuration. ```bash rgc.exe -profile "%ProgramFiles%\dotnet\dotnet.exe" -arguments HelloWorldApp.dll -coreclr -apikey -startup 60 ``` -------------------------------- ### Install Raygun CLI Source: https://raygun.com/documentation/language-guides/flutter/crash-reporting/installation Install the Raygun CLI globally using the Dart package manager. ```bash dart pub global activate raygun_cli ``` -------------------------------- ### Initialize Raygun4JS Source: https://raygun.com/documentation/language-guides/dotnet/real-user-monitoring/webapi Create a raygun-init.js file in your wwwroot directory to asynchronously load the Raygun provider and initialize it with your API key. ```javascript !function(a,b,c,d,e,f,g,h){a.RaygunObject=e,a[e]=a[e]||function(){ (a[e].o=a[e].o||[]).push(arguments)},f=b.createElement(c),g=b.getElementsByTagName(c)[0], f.async=1,f.src=d,g.parentNode.insertBefore(f,g),h=a.onerror,a.onerror=function(b,c,d,f,g){ h&&h(b,c,d,f,g),g||(g=new Error(b)),a[e].q=a[e].q||[],a[e].q.push({ e:g})}}(window,document,"script","//cdn.raygun.io/raygun4js/raygun.min.js","rg4js"); rg4js('apiKey', 'paste_your_api_key_here'); rg4js('enableRealUserMonitoring', true); ``` -------------------------------- ### Install Raygun4cfml with CommandBox Source: https://raygun.com/documentation/language-guides/coldfusion/crash-reporting/installation Use the CommandBox CLI to install the latest version of the library from ForgeBox. ```bash box install raygun4cfml ``` -------------------------------- ### Install Ruby APM Gem Source: https://raygun.com/documentation/language-guides/ruby/apm/installation Add the raygun-apm gem to your Gemfile or install it directly via RubyGems. ```ruby gem 'raygun-apm' ``` ```ruby group :production do gem 'raygun-apm' end ``` ```bash gem install raygun-apm ``` -------------------------------- ### Install Raygun Logging Package Source: https://raygun.com/documentation/language-guides/dotnet/crash-reporting/ms-logger Use the dotnet CLI to add the Raygun logging extension package to your project. ```bash dotnet add package Mindscape.Raygun4Net.Extensions.Logging ``` -------------------------------- ### Start diagnostic session via CLI Source: https://raygun.com/documentation/product-guides/apm/troubleshooting/windows Initiates a diagnostic session for a specified duration in seconds, which is then uploaded to Raygun upon completion. ```bash rgc.exe -auto-diagnostic 300 ``` -------------------------------- ### Install Raygun4ReactNative package Source: https://raygun.com/documentation/language-guides/react-native/real-user-monitoring/installation Commands to install the package and required peer dependencies using npm or yarn. ```bash npm install raygun4reactnative #Peer dependencies as well npm install react react-native @react-native-async-storage/async-storage ``` ```bash yarn add raygun4reactnative #Peer dependencies as well yarn add react react-native @react-native-async-storage/async-storage ``` -------------------------------- ### Initialize RaygunClient in PowerShell Source: https://raygun.com/documentation/language-guides/powershell/crash-reporting/installation Load the Raygun4Net assembly and instantiate the client using your API key. ```powershell Add-Type -Path '[PATH-TO-DLL]\Mindscape.Raygun4Net4.dll' $raygun = New-Object -TypeName Mindscape.Raygun4Net.RaygunClient -arg "[paste_your_api_key_here]" ``` -------------------------------- ### Enable Real User Monitoring Source: https://raygun.com/documentation/language-guides/dotnet/real-user-monitoring/blazor Initialize the Raygun API key and enable RUM in the body of Pages/_Host. ```html ``` -------------------------------- ### Install Raygun Core Packages Source: https://raygun.com/documentation/language-guides/dotnet/crash-reporting/ms-logger Install the appropriate Raygun core package based on your application type. ```bash // If you're using it in an ASP.NET Core application: dotnet add package Mindscape.Raygun4Net.AspNetCore // If you're using it in a .NET Core service application: dotnet add package Mindscape.Raygun4Net.NetCore ``` -------------------------------- ### Create RaygunSetup Hook Source: https://raygun.com/documentation/language-guides/php/crash-reporting/codeigniter3 Define the RaygunSetup class to initialize the Raygun client and register error and exception handlers. ```php 'https://api.raygun.com', 'headers' => [ 'X-ApiKey' => 'paste_your_api_key_here' ] ]); $transport = new GuzzleAsync($httpClient); self::$raygunClient = new RaygunClient($transport); register_shutdown_function([$transport, 'wait']); } public function set_exception_handler() { set_exception_handler( array( $this,'exception_handler' ) ); set_error_handler( array( $this, "error_handler" ) ); } function exception_handler($exception) { echo 'Exception thrown'; self::$raygunClient->SendException($exception); } function error_handler( $errno, $errstr, $errfile, $errline) { self::$raygunClient->SendError($errno, $errstr, $errfile, $errline); } } ``` -------------------------------- ### Link Header Response Example Source: https://raygun.com/documentation/product-guides/raygun-api Example of the Link header providing navigation URLs for paginated results. ```http Link: ; rel="self", ; rel="first", ; rel="prev", ; rel="next", ; rel="last" ``` -------------------------------- ### Initialize RaygunClient Source: https://raygun.com/documentation/language-guides/dotnet/crash-reporting/console-apps Import the necessary namespace and instantiate the RaygunClient with your application API key. ```csharp using Mindscape.Raygun4Net; ``` ```csharp private static RaygunClient _raygunClient = new RaygunClient("paste_your_api_key_here"); ``` -------------------------------- ### Install Ruby on Rails APM Gem Source: https://raygun.com/documentation/language-guides/ruby/apm/installation Add the raygun-apm-rails gem to your Gemfile or install it directly via RubyGems. ```ruby gem 'raygun-apm-rails' ``` ```ruby group :production do gem 'raygun-apm-rails' end ``` ```bash gem install raygun-apm-rails ``` -------------------------------- ### Initialize Raygun4Maui in MauiProgram Source: https://raygun.com/documentation/language-guides/dotnet/crash-reporting/maui Import the namespace and register the Raygun service in the MauiApp builder. ```csharp using Raygun4Maui; ``` ```csharp var builder = MauiApp.CreateBuilder(); builder .UseMauiApp() ... .AddRaygun(); ``` -------------------------------- ### Copy Configuration File Source: https://raygun.com/documentation/product-guides/apm/agent-installation/heroku Download the agent configuration file from the dyno to your local machine for inspection. ```bash heroku ps:copy /app/share/Raygun/AgentSettings/agent-configuration.json ``` -------------------------------- ### Install specific Raygun4cfml versions Source: https://raygun.com/documentation/language-guides/coldfusion/crash-reporting/installation Install a specific release or tag using CommandBox via ForgeBox or Git. ```bash box install MindscapeHQ/raygun4cfml#{tagname} # or box install git://github.com/MindscapeHQ/raygun4cfml.git#{tagname} ```