AppDynamics.Agent.Forms
2022.1.0-beta1
See the version list below for details.
dotnet add package AppDynamics.Agent.Forms --version 2022.1.0-beta1
NuGet\Install-Package AppDynamics.Agent.Forms -Version 2022.1.0-beta1
<PackageReference Include="AppDynamics.Agent.Forms" Version="2022.1.0-beta1" />
paket add AppDynamics.Agent.Forms --version 2022.1.0-beta1
#r "nuget: AppDynamics.Agent.Forms, 2022.1.0-beta1"
// Install AppDynamics.Agent.Forms as a Cake Addin #addin nuget:?package=AppDynamics.Agent.Forms&version=2022.1.0-beta1&prerelease // Install AppDynamics.Agent.Forms as a Cake Tool #tool nuget:?package=AppDynamics.Agent.Forms&version=2022.1.0-beta1&prerelease
Real user monitoring for your Xamarin Forms app.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. monoandroid81 is compatible. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. xamarinios10 is compatible. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- AppDynamics.Agent (>= 2022.1.0-beta1)
- Xamarin.Forms (>= 4.1.0.555618)
-
MonoAndroid 8.1
- AppDynamics.Agent (>= 2022.1.0-beta1)
- Xamarin.Android.Support.Compat (>= 28.0.0.1)
- Xamarin.Forms (>= 4.1.0.555618)
-
Xamarin.iOS 1.0
- AppDynamics.Agent (>= 2022.1.0-beta1)
- Xamarin.Forms (>= 4.1.0.555618)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
2024.4.0 | 217 | 4/10/2024 |
2023.12.0 | 443 | 12/21/2023 |
2023.2.0 | 3,237 | 2/14/2023 |
2022.10.0 | 983 | 10/26/2022 |
2022.9.0 | 637 | 9/1/2022 |
2022.6.0 | 522 | 6/22/2022 |
2022.5.0 | 454 | 5/10/2022 |
2022.5.0-alpha2 | 184 | 4/29/2022 |
2022.4.0 | 472 | 4/20/2022 |
2022.4.0-alpha1 | 205 | 3/17/2022 |
2022.3.0 | 465 | 3/17/2022 |
2022.2.0 | 821 | 2/14/2022 |
2022.1.0-beta1 | 179 | 1/21/2022 |
2021.9.0 | 500 | 9/15/2021 |
2021.8.1 | 368 | 8/17/2021 |
2021.8.0 | 353 | 8/12/2021 |
Version: 2022.1.0-beta1
Native Agents: com.appdynamics.eum.android:mobile-android:21.6.0.2076, com.appdynamics.eum:mobile-ios:2021.8.1.2573
Changes:
Version 2022.1.0 brings Automatic Network Instrumentation for Xamarin applications. This is handled via a separate library, called AppDynamics.Agent.AutoInstrument.Fody, so to use it, make sure the new library is included alongside the existing AppDynamics.Agent / AppDynamics.Agent.Forms library. In order for it to properly work, do not forget to update the AppDynamics.Agent version to the latest version as well, 2022.1.0.
Automatic Instrumentation will work for these two scenarios:
- Requests sent using the HttpClient. We will automatically inject the instrumentation code for you, targeting the HttpClient constructor.
- Requests sent using the Refit library. We will automatically inject the instrumentation code for you when you are sending requests using the Refit RestService.
> How to use
1. Make sure you already have the AppDynamics.Agent / AppDynamics.Agent.Forms package set up and initialised.
2. Add the new AppDynamics.Agent.AutoInstrument.Fody package.
3. Build the solution.
Normally, after you build the solution, two files will be generated automatically:
1. FodyWeavers.xml
2. FodyWeavers.xsd
These files should be checked into source control!
Note1: If the above files are not generated automatically, a new file called FodyWeavers.xml should be created manually having the content as below:
- - -
<Weavers xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="FodyWeavers.xsd">
<AppDynamics.Agent.AutoInstrument />
</Weavers>
- - -
Note2: If the project is already using Fody, these files will already be there and only the FodyWeavers.xml file has to be updated to include the AppDynamics.Agent.AutoInstrument weaver. Example:
- - -
<Weavers xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="FodyWeavers.xsd">
... Existing weavers ...
<AppDynamics.Agent.AutoInstrument />
</Weavers>
- - -
> Customize automatic instrumentation
There are two ways of enabling or disabling Automatic Http instrumentation:
1. Global Switch
You can enable or disable HttpInstrumentation using the FodyWeavers.xml file, via the NetworkInstrumentationEnabled flag. Example:
- - -
<Weavers xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="FodyWeavers.xsd">
... Existing weavers ...
<AppDynamics.Agent.AutoInstrument NetworkInstrumentationEnabled="true"/>
</Weavers
2. Per class switch
You can enable or disable network instrumentation per class using two different attributes: EnableNetworkInstrumentation or DisableNetworkInstrumentation.
- - -
[EnableNetworkInstrumentation]
public class MyClass
{
...
}
- - -
- - -
[DisableNetworkInstrumentation]
public class MyClass
{
...
}
- - -
This means that you can either:
1. Enable the automatic instrumentation at a project level from the FodyWeavers.xml file, but exclude some files using the DisableNetworkInstrumentation attribute.
2. Disable the automatic instrumentation at a project level from the FodyWeavers.xml file, but include some files using the EnableNetworkInstrumentation attribute.