<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Environment Variable and Path for Self Contained Deployment for Asp.net Core 2.x Application in Splunk AppDynamics</title>
    <link>https://community.splunk.com/t5/Splunk-AppDynamics/Environment-Variable-and-Path-for-Self-Contained-Deployment-for/m-p/732721#M8107</link>
    <description>&lt;P&gt;Thanks for the feedback&amp;nbsp;@Anonymous&lt;/P&gt;</description>
    <pubDate>Fri, 06 Jul 2018 15:23:49 GMT</pubDate>
    <dc:creator>Jeanie_Kedia1</dc:creator>
    <dc:date>2018-07-06T15:23:49Z</dc:date>
    <item>
      <title>Environment Variable and Path for Self Contained Deployment for Asp.net Core 2.x Application</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Environment-Variable-and-Path-for-Self-Contained-Deployment-for/m-p/732718#M8104</link>
      <description>&lt;P&gt;I need a clarification regarding the Resolution of &lt;U&gt;&lt;STRONG&gt;relative&amp;nbsp;&lt;/STRONG&gt;&lt;/U&gt;path to the profiler Dll while setting up the AppD Agent for the Asp.net core application in the &lt;STRONG&gt;environment variables&lt;/STRONG&gt;.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Our application uses SCD (Self contained Deployment) and is deployed in on Premise IIS&amp;nbsp;Servers. &lt;STRONG&gt;My Question is regarding the Path location for the AppDynamics Profile dll (AppDynamics.Profiler_x86.dll,&amp;nbsp;AppDynamics.Profiler_x64.dll) for Environment Variable&amp;nbsp;CORECLR_PROFILER_PATH_32 and&amp;nbsp;CORECLR_PROFILER_PATH_64. &lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Is AppDynamics able to resolve the relative path correctly if the value of the environment variable&amp;nbsp;CORECLR_PROFILER_PATH_32&amp;nbsp; is&amp;nbsp;".\AppDynamics.Profiler_x86.dll"?&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;The web.config looks like&lt;/P&gt;

&lt;P&gt;&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;&lt;BR /&gt;&amp;lt;configuration&amp;gt;&lt;BR /&gt; &amp;lt;system.webServer&amp;gt;&lt;BR /&gt; &amp;lt;handlers&amp;gt;&lt;BR /&gt; &amp;lt;add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModule" resourceType="Unspecified" /&amp;gt;&lt;BR /&gt; &amp;lt;/handlers&amp;gt;&lt;BR /&gt; &amp;lt;aspNetCore processPath=".\Service.exe" stdoutLogEnabled="true" stdoutLogFile=".\logs\stdout" &amp;gt;&lt;BR /&gt; &amp;lt;environmentVariables&amp;gt;&lt;BR /&gt; &amp;lt;environmentVariable name="ASPNETCORE_ENVIRONMENT" value="Staging" /&amp;gt;&lt;BR /&gt; &amp;lt;environmentVariable name="CORECLR_ENABLE_PROFILING" value="1" /&amp;gt;&lt;BR /&gt; &amp;lt;environmentVariable name="CORECLR_PROFILER" value="{39AEABC1-56A5-405F-B8E7-C3668490DB4A}"/&amp;gt;&lt;BR /&gt; &amp;lt;environmentVariable name="CORECLR_PROFILER_PATH_32" value=".\AppDynamics.Profiler_x86.dll"/&amp;gt;&lt;BR /&gt; &amp;lt;environmentVariable name="CORECLR_PROFILER_PATH_64" value=".\AppDynamics.Profiler_x64.dll"/&amp;gt;&lt;BR /&gt; &amp;lt;/environmentVariables&amp;gt;&lt;BR /&gt; &amp;lt;/aspNetCore&amp;gt;&lt;BR /&gt; &amp;lt;/system.webServer&amp;gt;&lt;BR /&gt;&amp;lt;/configuration&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;


&lt;P&gt;I am following the instructions&amp;nbsp;at&amp;nbsp;the link&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.appdynamics.com/display/PRO44/Install+the+.NET+Core+Microservices+Agent+for+Windows" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.appdynamics.com/display/PRO44/Install+the+.NET+Core+Microservices+Agent+for+Windows&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;As per the second instruction, we need to set the following environment variables and the path should be the Complete path.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Set up your Environment Variables for your system application:&lt;/P&gt;
&lt;PRE&gt;CORECLR_ENABLE_PROFILING=1&lt;BR /&gt;CORECLR_PROFILER={39AEABC1-56A5-405F-B8E7-C3668490DB4A}&lt;BR /&gt;CORECLR_PROFILER_PATH_32=&amp;lt;actual_path&amp;gt;\AppDynamics.Profiler_x86.dll&lt;BR /&gt;CORECLR_PROFILER_PATH_64=&amp;lt;actual_path&amp;gt;\AppDynamics.Profiler_x64.dll&lt;/PRE&gt;
&lt;P&gt;Where&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;&amp;lt;actual_path&amp;gt;&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;is the complete path to the AppDynamics.Profiler dll.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jul 2018 14:44:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Environment-Variable-and-Path-for-Self-Contained-Deployment-for/m-p/732718#M8104</guid>
      <dc:creator>CommunityUser</dc:creator>
      <dc:date>2018-07-06T14:44:52Z</dc:date>
    </item>
    <item>
      <title>Re: Environment Variable and Path for Self Contained Deployment for Asp.net Core 2.x Application</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Environment-Variable-and-Path-for-Self-Contained-Deployment-for/m-p/732719#M8105</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN class=""&gt;&lt;A id="link_29" class="lia-link-navigation lia-page-link lia-user-name-link" href="https://community.appdynamics.com/t5/user/viewprofilepage/user-id/97546" target="_self"&gt;Abhinav&lt;/A&gt;,&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN class=""&gt;Yes, The relative path will also work&amp;nbsp;and resolve correctly.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;For example, if we use the below configuration in the &lt;STRONG&gt;Web.config&lt;/STRONG&gt; file. It works and agent is able to instrument the application.&lt;/P&gt;

&lt;PRE&gt;&amp;lt;environmentVariables&amp;gt;
&amp;lt;environmentVariable name="CORECLR_ENABLE_PROFILING" value="1" /&amp;gt;
&amp;lt;environmentVariable name="CORECLR_PROFILER" value="{39AEABC1-56A5-405F-B8E7-C3668490DB4A}" /&amp;gt;
&lt;STRONG&gt;&amp;lt;environmentVariable name="CORECLR_PROFILER_PATH_64" value=".\AppDynamics.Profiler_x64.dll" /&amp;gt;&lt;/STRONG&gt;
&amp;lt;/environmentVariables&amp;gt;&lt;/PRE&gt;
&lt;P&gt;Let us know if it helps or you have any question on this.&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Ashish.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jul 2018 15:02:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Environment-Variable-and-Path-for-Self-Contained-Deployment-for/m-p/732719#M8105</guid>
      <dc:creator>Ashish_Singh</dc:creator>
      <dc:date>2018-07-06T15:02:44Z</dc:date>
    </item>
    <item>
      <title>Re: Environment Variable and Path for Self Contained Deployment for Asp.net Core 2.x Application</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Environment-Variable-and-Path-for-Self-Contained-Deployment-for/m-p/732720#M8106</link>
      <description>&lt;P&gt;Thanks Ashish for the prompt Response.&lt;/P&gt;

&lt;P&gt;It might be helpful, if you could add this information in the docs. Another developer understood that only Absolute path is supported.&lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.appdynamics.com/display/PRO44/Install+the+.NET+Core+Microservices+Agent+for+Windows" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.appdynamics.com/display/PRO44/Install+the+.NET+Core+Microservices+Agent+for+Windows&lt;/A&gt;&amp;nbsp;"Where&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;&amp;lt;actual_path&amp;gt;&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;is the complete path to the AppDynamics.Profiler dll."&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Abhinav Galodha&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jul 2018 15:08:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Environment-Variable-and-Path-for-Self-Contained-Deployment-for/m-p/732720#M8106</guid>
      <dc:creator>CommunityUser</dc:creator>
      <dc:date>2018-07-06T15:08:48Z</dc:date>
    </item>
    <item>
      <title>Re: Environment Variable and Path for Self Contained Deployment for Asp.net Core 2.x Application</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Environment-Variable-and-Path-for-Self-Contained-Deployment-for/m-p/732721#M8107</link>
      <description>&lt;P&gt;Thanks for the feedback&amp;nbsp;@Anonymous&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jul 2018 15:23:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Environment-Variable-and-Path-for-Self-Contained-Deployment-for/m-p/732721#M8107</guid>
      <dc:creator>Jeanie_Kedia1</dc:creator>
      <dc:date>2018-07-06T15:23:49Z</dc:date>
    </item>
    <item>
      <title>Re: Environment Variable and Path for Self Contained Deployment for Asp.net Core 2.x Application</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Environment-Variable-and-Path-for-Self-Contained-Deployment-for/m-p/732722#M8108</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;SPAN&gt;Abhinav for the&amp;nbsp;update.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;In the document ( &lt;A href="https://docs.appdynamics.com/display/PRO44/Install+the+.NET+Core+Microservices+Agent+for+Windows" target="_self" rel="nofollow noopener noreferrer"&gt;https://docs.appdynamics.com/display/PRO44/Install+the+.NET+Core+Microservices+Agent+for+Windows&lt;/A&gt;), the suggested Environment&amp;nbsp;variables are for the System level. So there we need to provide the complete path.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;But when we configure these&amp;nbsp;Environment&amp;nbsp;variables at the specific application level and configure&amp;nbsp;through web.config file. We can also give the relative&amp;nbsp;path as suggested. it will also work.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN&gt;We will share the suggestion with the document team to update this information.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Ashish.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jul 2018 15:27:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Environment-Variable-and-Path-for-Self-Contained-Deployment-for/m-p/732722#M8108</guid>
      <dc:creator>Ashish_Singh</dc:creator>
      <dc:date>2018-07-06T15:27:12Z</dc:date>
    </item>
  </channel>
</rss>

