Configure Model View Controller Support

The .NET agent monitors these Model View Controller (MVC) framework applications:
apmdevops106
  • Various ASP.NET Razor view-engine templates, providing Razor view engine performance metrics
  • MVC action metrics
  • MVC application Areas performance
You can enable MVC framework applications performance metrics reporting.
Follow these steps:
  1. In <
    Agent_Home
    >, open the MVC.pbd file in a text editor.
  2. Enable the MVC View Engines and Razor metrics as appropriate for your environment.
    1. Go to the ###### MVC (Razor) View Tracing ###### section.
    2. To enable View Engine metrics support, uncomment the #
      TurnOn: McvViewEngines
      line as shown in this example.
      TurnOn: MvcViewEngines
    3. To enable Razor metrics support, uncomment the
      #TurnOn: MvcViewRazor
      line as shown in this example.
      TurnOn: MvcViewRazor
  3. Save and close the MVC.pbd file.
  4. Enable MVC action metrics.
    1. In the <
      Agent_Home
      > directory, open the agent profile in a text editor.
    2. Set the
      introscope.agent.dotnet.mvc.actionmetrics.enabled
      property to
      true
      .
    3. Save and close the file.