Question
How does the .NET Framework agent handle application naming?
Answer
Default
In the absence of any specific agent configuration options being set, the agent will name the application based on its virtual path. For example, if the application is hosted at https://<hostname>/MyApp
, then the application will be named MyApp.
If the application is hosted at the root of a Site (i.e. the virtual path is /
) then the name of the Site will be used as the application name.
Override
To override the automatically assigned application name, set the value of application.name
in the application's web.config
file as documented here.