Skip to main content

.NET agent

The Contrast .NET agent analyzes the behavior of .NET Core and .NET Framework web applications as users interact with them.

The agent automatically instruments the ASP.NET application when the host process is set up with profiling environment variables or an application launch profile. Agent analysis is performed as applications are exercised by users (or by automated scripts or tests).

The Contrast .NET agent consists of these components that run within the same process as your application:

  • The .NET Profiler instruments applications by adding calls to Contrast sensor code in security relevant APIs used by the application and its dependencies (also known as IL weaving).

  • Sensors gather security, architecture and library information.

  • Background Windows service: (DotnetAgentService.exe) performs some additional background analysis of ASP.NET applications running in IIS.

Once you install the .NET agent, its sensors gather information about the application's security, architecture and libraries as users exercise the applications. You can view the results of the agent's analysis in Contrast. The agent uses these supported technologies and these system requirements.

Next steps