From 06c0beb53ab2e97a06ee0615bb9309934d91b498 Mon Sep 17 00:00:00 2001 From: Marty Tippin <120425148+tippmar-nr@users.noreply.github.com> Date: Fri, 24 May 2024 08:56:05 -0500 Subject: [PATCH 1/2] chore: Correct URLs for some references to the .NET agent samples repo. --- .../net-agent/install-guides/install-net-agent-using-nuget.mdx | 2 +- src/install/dotnet/installation/dockerLinux.mdx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/content/docs/apm/agents/net-agent/install-guides/install-net-agent-using-nuget.mdx b/src/content/docs/apm/agents/net-agent/install-guides/install-net-agent-using-nuget.mdx index 4ee10474d3e..d37886fff89 100644 --- a/src/content/docs/apm/agents/net-agent/install-guides/install-net-agent-using-nuget.mdx +++ b/src/content/docs/apm/agents/net-agent/install-guides/install-net-agent-using-nuget.mdx @@ -26,7 +26,7 @@ Before installing the agent using NuGet, understand these important points: The agent's `logs` folder gets created as a subfolder of the `newrelic` folder in your application's build/publish output directory. The `logs` folder gets created with default permissions, meaning that it may not be writable by the agent if your app is run by a different user than the user who built/published the app. Make sure that the user your app runs as can write to the `logs` folder. -Here's an example of using NuGet via Visual Studio to install the .NET agent: (You can also find a similar example in our [.NET agent samples repository](https://github.com/newrelic/newrelic-dotnet-examples/tree/main/elastic-beanstalk). +Here's an example of using NuGet via Visual Studio to install the .NET agent: (You can also find a similar example in our [.NET Agent Samples repository](https://github.com/newrelic/newrelic-dotnet-examples). 1. Open your Visual Studio solution, or create a new one by selecting **File > New > Project**. For multi-project solutions, be sure to select the correct project (for example, a specific website project). 2. Open the [Package Manager console](https://docs.microsoft.com/en-us/nuget/tools/package-manager-console) by selecting **Tools > Library Package Manager > Package Manager Console**. Set your project as the default project. diff --git a/src/install/dotnet/installation/dockerLinux.mdx b/src/install/dotnet/installation/dockerLinux.mdx index 69a2fa630a7..2cfad3b0fef 100644 --- a/src/install/dotnet/installation/dockerLinux.mdx +++ b/src/install/dotnet/installation/dockerLinux.mdx @@ -13,7 +13,7 @@ Some notes about how to implement your Docker file: * The .NET agent must be installed and enabled at runtime. * For .NET agent versions 10.0.0 or higher, the name of the package is `newrelic-dotnet-agent`. For .NET agent versions 9.9.0 or lower, the name of the package is `newrelic-netcore20-agent`. We'll use `newrelic-dotnet-agent` in this doc. -Here are example Docker files for Linux. Additional examples for multiple Linux distros can be found in our [.NET agent samples repository](https://github.com/newrelic/newrelic-dotnet-examples/tree/main/elastic-beanstalk). +Here are example Docker files for Linux. Additional examples for multiple Linux distros can be found in our [.NET Agent Samples repository](https://github.com/newrelic/newrelic-dotnet-examples). ### Example Linux Dockerfile From 0241fea81ee798289ed67d2086bf343fb5bf5c9c Mon Sep 17 00:00:00 2001 From: Marty Tippin <120425148+tippmar-nr@users.noreply.github.com> Date: Fri, 24 May 2024 08:58:36 -0500 Subject: [PATCH 2/2] casing fix --- .../net-agent/install-guides/install-net-agent-using-nuget.mdx | 2 +- src/install/dotnet/installation/dockerLinux.mdx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/content/docs/apm/agents/net-agent/install-guides/install-net-agent-using-nuget.mdx b/src/content/docs/apm/agents/net-agent/install-guides/install-net-agent-using-nuget.mdx index d37886fff89..3a7cc468dab 100644 --- a/src/content/docs/apm/agents/net-agent/install-guides/install-net-agent-using-nuget.mdx +++ b/src/content/docs/apm/agents/net-agent/install-guides/install-net-agent-using-nuget.mdx @@ -26,7 +26,7 @@ Before installing the agent using NuGet, understand these important points: The agent's `logs` folder gets created as a subfolder of the `newrelic` folder in your application's build/publish output directory. The `logs` folder gets created with default permissions, meaning that it may not be writable by the agent if your app is run by a different user than the user who built/published the app. Make sure that the user your app runs as can write to the `logs` folder. -Here's an example of using NuGet via Visual Studio to install the .NET agent: (You can also find a similar example in our [.NET Agent Samples repository](https://github.com/newrelic/newrelic-dotnet-examples). +Here's an example of using NuGet via Visual Studio to install the .NET agent: (You can also find a similar example in our [.NET agent samples repository](https://github.com/newrelic/newrelic-dotnet-examples). 1. Open your Visual Studio solution, or create a new one by selecting **File > New > Project**. For multi-project solutions, be sure to select the correct project (for example, a specific website project). 2. Open the [Package Manager console](https://docs.microsoft.com/en-us/nuget/tools/package-manager-console) by selecting **Tools > Library Package Manager > Package Manager Console**. Set your project as the default project. diff --git a/src/install/dotnet/installation/dockerLinux.mdx b/src/install/dotnet/installation/dockerLinux.mdx index 2cfad3b0fef..c885c343544 100644 --- a/src/install/dotnet/installation/dockerLinux.mdx +++ b/src/install/dotnet/installation/dockerLinux.mdx @@ -13,7 +13,7 @@ Some notes about how to implement your Docker file: * The .NET agent must be installed and enabled at runtime. * For .NET agent versions 10.0.0 or higher, the name of the package is `newrelic-dotnet-agent`. For .NET agent versions 9.9.0 or lower, the name of the package is `newrelic-netcore20-agent`. We'll use `newrelic-dotnet-agent` in this doc. -Here are example Docker files for Linux. Additional examples for multiple Linux distros can be found in our [.NET Agent Samples repository](https://github.com/newrelic/newrelic-dotnet-examples). +Here are example Docker files for Linux. Additional examples for multiple Linux distros can be found in our [.NET agent samples repository](https://github.com/newrelic/newrelic-dotnet-examples). ### Example Linux Dockerfile