Add Initialization Code to your Application

To add initialization code to your application, call UseAppDymamics() MauiProgram CreateMauiApp()

public static MauiApp CreateMauiApp()
{
var builder = MauiApp.CreateBuilder();
builder
.UseMauiApp<App>()
.UseAppDynamics();
return builder.Build();
}

Get an EUM App Key

The EUM App Key is a unique identifier used to associate end user data which specific End-User Monitoring applications. Each .NET MAUI application is usually associated with one EUM App Key. For your applications to be monitored, you must add the EUM App Key to the MAUI Agent instrumentation package.

To get the EUM App Key in the Controller:

  1. Go to User Experience.
  2. Under the Mobile Apps tab, click Add App > Cross Platform.
  3. In Step 1, select a Mobile App Group.
  4. In Step 2, select the Xamarin framework.
If you have completed the Getting Started Wizard, but don't have your EUM App Key, see Get Your Application Key.