Skip to content

Commit 269b116

Browse files
DCtheGeekadegeo
andauthored
Links: .NET - Pass 1 (#20624)
* Links: .NET - Pass 1 * Update docs/core/install/macos-notarization-issues.md Co-authored-by: Andy De George <[email protected]> * Update docs/core/get-started.md Co-authored-by: Andy De George <[email protected]> * Update docs/core/get-started.md Co-authored-by: Andy De George <[email protected]> * Update docs/core/get-started.md Co-authored-by: Andy De George <[email protected]> * Update docs/core/deploying/deploy-with-vs.md Co-authored-by: Andy De George <[email protected]> * Update docs/core/diagnostics/debug-memory-leak.md Co-authored-by: Andy De George <[email protected]> * Update docs/core/rid-catalog.md Co-authored-by: Andy De George <[email protected]> * Update docs/core/rid-catalog.md Co-authored-by: Andy De George <[email protected]> * Update docs/core/rid-catalog.md Co-authored-by: Andy De George <[email protected]> * Update docs/core/tutorials/library-with-visual-studio-mac.md Co-authored-by: Andy De George <[email protected]> * Update docs/core/tutorials/with-visual-studio-mac.md Co-authored-by: Andy De George <[email protected]> * Update docs/core/tutorials/with-visual-studio.md Co-authored-by: Andy De George <[email protected]> Co-authored-by: Andy De George <[email protected]>
1 parent 0cffd90 commit 269b116

File tree

936 files changed

+1978
-1979
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

936 files changed

+1978
-1979
lines changed

api/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ ms.date: "01/24/2020"
1111
---
1212
# .NET API browser
1313

14-
Welcome to the .NET API browser – your one-stop shop for all .NET-based APIs from Microsoft. Start searching for any managed APIs by typing in the box below. You can learn more about the API browser [in our blog post](https://aka.ms/apibrowser). If you have any feedback, create a new issue in the [MicrosoftDocs/feedback repository on GitHub](https://github.com/MicrosoftDocs/feedback/issues).
14+
Welcome to the .NET API browser – your one-stop shop for all .NET-based APIs from Microsoft. Start searching for any managed APIs by typing in the box below. You can learn more about the API browser [in our blog post](/teamblog/announcing-unified-dotnet-experience-on-docs). If you have any feedback, create a new issue in the [MicrosoftDocs/feedback repository on GitHub](https://github.com/MicrosoftDocs/feedback/issues).

docs/azure/authentication.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ To authenticate with libraries that don't support Azure.Identity, see the rest o
2020

2121
## Access Azure resources
2222

23-
To interact with Azure resources, such as retrieving a secret from Key Vault or storing a blob in Storage, many Azure service libraries require a connection string or keys for authentication. For example, SQL Database uses a [standard SQL connection string](https://docs.microsoft.com/azure/azure-sql/database/connect-query-dotnet-core). Service connection strings are used in other Azure services like [CosmosDB](/azure/cosmos-db/), [Azure Cache for Redis](/azure/azure-cache-for-redis/cache-dotnet-how-to-use-azure-redis-cache), and [Service Bus](/azure/service-bus-messaging/service-bus-dotnet-get-started-with-queues). You can get those strings using the Azure portal, CLI, or PowerShell. You can also use the Azure management libraries for .NET to query resources to build connection strings in your code.
23+
To interact with Azure resources, such as retrieving a secret from Key Vault or storing a blob in Storage, many Azure service libraries require a connection string or keys for authentication. For example, SQL Database uses a [standard SQL connection string](/azure/azure-sql/database/connect-query-dotnet-core). Service connection strings are used in other Azure services like [CosmosDB](/azure/cosmos-db/), [Azure Cache for Redis](/azure/azure-cache-for-redis/cache-dotnet-how-to-use-azure-redis-cache), and [Service Bus](/azure/service-bus-messaging/service-bus-dotnet-get-started-with-queues). You can get those strings using the Azure portal, CLI, or PowerShell. You can also use the Azure management libraries for .NET to query resources to build connection strings in your code.
2424

2525
The methods for using a connection string vary by product. [Refer to the documentation for your Azure product](/azure/?product=featured).
2626

docs/azure/includes/dotnet-all.md

Lines changed: 63 additions & 63 deletions
Large diffs are not rendered by default.

docs/azure/includes/dotnet-new.md

Lines changed: 22 additions & 22 deletions
Large diffs are not rendered by default.

docs/azure/landing-page.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -226,10 +226,10 @@ landingContent:
226226
- linkListType: architecture
227227
links:
228228
- text: ".NET Microservices: Architecture for containerized .NET apps"
229-
url: /dotnet/architecture/microservices/
229+
url: ../architecture/microservices/index.md
230230
- text: Architect modern web applications with ASP.NET Core and Azure
231-
url: /dotnet/architecture/modern-web-apps-azure/
231+
url: ../architecture/modern-web-apps-azure/index.md
232232
- text: Containerized Docker application lifecycle with Microsoft platform and tools
233-
url: /dotnet/architecture/containerized-lifecycle/
233+
url: ../architecture/containerized-lifecycle/index.md
234234
- text: Modernize existing .NET applications with Azure cloud and Windows containers
235235
url: /dotnet/architecture/modernize-with-azure-containers/

docs/azure/migration/app-service.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ For WCF, the following bindings are supported:
3131
|--|--|
3232
| `BasicHttp` | |
3333
| `WSHttp` | |
34-
| `WSDualHttpBinding` | [Web socket support](https://docs.microsoft.com/azure/app-service/web-sites-configure) must be enabled. | [Web socket support](/azure/app-service/web-sites-configure) must be enabled. |
35-
| `NetHttpBinding` | [Web socket support](https://docs.microsoft.com/azure/app-service/web-sites-configure) must be enabled for duplex contracts. | [Web socket support](/azure/app-service/web-sites-configure) must be enabled for duplex contracts. |
36-
| `NetHttpsBinding` | [Web socket support](https://docs.microsoft.com/azure/app-service/web-sites-configure) must be enabled for duplex contracts. | [Web socket support](/azure/app-service/web-sites-configure) must be enabled for duplex contracts. |
34+
| `WSDualHttpBinding` | [Web socket support](/azure/app-service/web-sites-configure) must be enabled. | [Web socket support](/azure/app-service/web-sites-configure) must be enabled. |
35+
| `NetHttpBinding` | [Web socket support](/azure/app-service/web-sites-configure) must be enabled for duplex contracts. | [Web socket support](/azure/app-service/web-sites-configure) must be enabled for duplex contracts. |
36+
| `NetHttpsBinding` | [Web socket support](/azure/app-service/web-sites-configure) must be enabled for duplex contracts. | [Web socket support](/azure/app-service/web-sites-configure) must be enabled for duplex contracts. |
3737
| `BasicHttpContextBinding` | |
3838
| `WebHttpBinding` | |
3939
| `WSHttpContextBinding` | |
@@ -56,7 +56,7 @@ IIS5 Compatibility Mode is not supported. In Azure App Service, each web app and
5656

5757
#### IIS7+ schema compliance
5858

59-
Some elements and attributes are not defined in the Azure App Service IIS schema. If you encounter issues, consider using [XDT transforms](https://azure.microsoft.com/documentation/articles/web-sites-transform-extend/).
59+
Some elements and attributes are not defined in the Azure App Service IIS schema. If you encounter issues, consider using [XDT transforms](/azure/app-service/configure-common).
6060

6161
#### Single application pool per site
6262

docs/core/about.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Editor integration is provided, in part, by the contributors of the [OmniSharp](
3333

3434
* Cloud apps with [ASP.NET Core](/aspnet/core/)
3535
* Mobile apps with [Xamarin](/xamarin)
36-
* IoT apps with [System.Device.GPIO](https://docs.microsoft.com/archive/msdn-magazine/2019/august/net-core-cross-platform-iot-programming-with-net-core-3-0)
36+
* IoT apps with [System.Device.GPIO](/archive/msdn-magazine/2019/august/net-core-cross-platform-iot-programming-with-net-core-3-0)
3737
* Windows client apps with [WPF](../desktop-wpf/overview/index.md) and Windows Forms
3838
* Machine learning [ML.NET](../machine-learning/index.yml)
3939

@@ -58,7 +58,7 @@ Many APIs are included that satisfy common needs:
5858

5959
### Open source
6060

61-
[.NET Core](about.md) is an [open-source](https://github.com/dotnet/runtime/blob/master/LICENSE.TXT), general-purpose development platform. You can create .NET Core apps for Windows, macOS, and Linux for x64, x86, ARM32, and ARM64 processors. Frameworks and APIs are provided for [cloud](/aspnet/core/), [IoT](https://docs.microsoft.com/archive/msdn-magazine/2019/august/net-core-cross-platform-iot-programming-with-net-core-3-0), [client UI](../desktop-wpf/overview/index.md), and [machine learning](../machine-learning/index.yml).
61+
[.NET Core](about.md) is an [open-source](https://github.com/dotnet/runtime/blob/master/LICENSE.TXT), general-purpose development platform. You can create .NET Core apps for Windows, macOS, and Linux for x64, x86, ARM32, and ARM64 processors. Frameworks and APIs are provided for [cloud](/aspnet/core/), [IoT](/archive/msdn-magazine/2019/august/net-core-cross-platform-iot-programming-with-net-core-3-0), [client UI](../desktop-wpf/overview/index.md), and [machine learning](../machine-learning/index.yml).
6262

6363
## Support
6464

docs/core/additional-tools/xml-serializer-generator.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,5 +125,5 @@ Congratulations! You have just:
125125
## Related resources
126126

127127
- [Introducing XML Serialization](../../standard/serialization/introducing-xml-serialization.md)
128-
- [How to serialize using XmlSerializer (C#)](../../csharp/programming-guide/concepts/linq/how-to-serialize-using-xmlserializer.md)
129-
- [How to: Serialize Using XmlSerializer (Visual Basic)](../../visual-basic/programming-guide/concepts/linq/how-to-serialize-using-xmlserializer.md)
128+
- [How to serialize using XmlSerializer (C#)](../../standard/linq/serialize-xmlserializer.md)
129+
- [How to: Serialize Using XmlSerializer (Visual Basic)](../../standard/linq/serialize-xmlserializer.md)

docs/core/deploying/deploy-with-vs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ The following sections show how to use Microsoft Visual Studio to create the fol
1818
- Self-contained deployment
1919
- Self-contained deployment with third-party dependencies
2020

21-
For information on using Visual Studio to develop .NET Core applications, see [.NET Core dependencies and requirements](../install/dependencies.md?pivots=os-windows).
21+
For information on using Visual Studio to develop .NET Core applications, see [.NET Core dependencies and requirements](../install/windows.md).
2222

2323
## Framework-dependent deployment
2424

docs/core/diagnostics/debug-deadlock.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ms.date: 07/20/2020
99

1010
**This article applies to: ✔️** .NET Core 3.1 SDK and later versions
1111

12-
In this tutorial, you'll learn how to debug a deadlock scenario. Using the provided example [ASP.NET Core web app](https://docs.microsoft.com/samples/dotnet/samples/diagnostic-scenarios) source code repository, you can cause a deadlock intentionally. The endpoint will experience a hang and thread accumulation. You'll learn how you can use various tools to analyze the problem, such as core dumps, core dump analysis, and process tracing.
12+
In this tutorial, you'll learn how to debug a deadlock scenario. Using the provided example [ASP.NET Core web app](/samples/dotnet/samples/diagnostic-scenarios) source code repository, you can cause a deadlock intentionally. The endpoint will experience a hang and thread accumulation. You'll learn how you can use various tools to analyze the problem, such as core dumps, core dump analysis, and process tracing.
1313

1414
In this tutorial, you will:
1515

@@ -26,13 +26,13 @@ In this tutorial, you will:
2626
The tutorial uses:
2727

2828
- [.NET Core 3.1 SDK](https://dotnet.microsoft.com/download/dotnet-core) or a later version
29-
- [Sample debug target - web app](https://docs.microsoft.com/samples/dotnet/samples/diagnostic-scenarios) to trigger the scenario
29+
- [Sample debug target - web app](/samples/dotnet/samples/diagnostic-scenarios) to trigger the scenario
3030
- [dotnet-trace](dotnet-trace.md) to list processes
3131
- [dotnet-dump](dotnet-dump.md) to collect, and analyze a dump file
3232

3333
## Core dump generation
3434

35-
To investigate application unresponsiveness, a core dump or memory dump allows you to inspect the state of its threads and any possible locks that may have contention issues. Run the [sample debug](https://docs.microsoft.com/samples/dotnet/samples/diagnostic-scenarios) application using the following command from the sample root directory:
35+
To investigate application unresponsiveness, a core dump or memory dump allows you to inspect the state of its threads and any possible locks that may have contention issues. Run the [sample debug](/samples/dotnet/samples/diagnostic-scenarios) application using the following command from the sample root directory:
3636

3737
```dotnetcli
3838
dotnet run

docs/core/diagnostics/debug-highcpu.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ms.date: 07/20/2020
99

1010
**This article applies to: ✔️** .NET Core 3.1 SDK and later versions
1111

12-
In this tutorial, you'll learn how to debug an excessive CPU usage scenario. Using the provided example [ASP.NET Core web app](https://docs.microsoft.com/samples/dotnet/samples/diagnostic-scenarios) source code repository, you can cause a deadlock intentionally. The endpoint will experience a hang and thread accumulation. You'll learn how you can use various tools to diagnose this scenario with several key pieces of diagnostics data.
12+
In this tutorial, you'll learn how to debug an excessive CPU usage scenario. Using the provided example [ASP.NET Core web app](/samples/dotnet/samples/diagnostic-scenarios) source code repository, you can cause a deadlock intentionally. The endpoint will experience a hang and thread accumulation. You'll learn how you can use various tools to diagnose this scenario with several key pieces of diagnostics data.
1313

1414
In this tutorial, you will:
1515

@@ -26,13 +26,13 @@ In this tutorial, you will:
2626
The tutorial uses:
2727

2828
- [.NET Core 3.1 SDK](https://dotnet.microsoft.com/download/dotnet-core) or a later version.
29-
- [Sample debug target](https://docs.microsoft.com/samples/dotnet/samples/diagnostic-scenarios) to trigger the scenario.
29+
- [Sample debug target](/samples/dotnet/samples/diagnostic-scenarios) to trigger the scenario.
3030
- [dotnet-trace](dotnet-trace.md) to list processes and generate a profile.
3131
- [dotnet-counters](dotnet-counters.md) to monitor cpu usage.
3232

3333
## CPU counters
3434

35-
Before attempting to collect diagnostics data, you need to observe a high CPU condition. Run the [sample application](https://docs.microsoft.com/samples/dotnet/samples/diagnostic-scenarios) using the following command from the project root directory.
35+
Before attempting to collect diagnostics data, you need to observe a high CPU condition. Run the [sample application](/samples/dotnet/samples/diagnostic-scenarios) using the following command from the project root directory.
3636

3737
```dotnetcli
3838
dotnet run
@@ -111,11 +111,11 @@ When analyzing a slow request, you need a diagnostics tool that can provide insi
111111

112112
### [Linux](#tab/linux)
113113

114-
The `perf` tool can be used to generate .NET Core app profiles. Exit the previous instance of the [sample debug target](https://docs.microsoft.com/samples/dotnet/samples/diagnostic-scenarios).
114+
The `perf` tool can be used to generate .NET Core app profiles. Exit the previous instance of the [sample debug target](/samples/dotnet/samples/diagnostic-scenarios).
115115

116116
Set the `COMPlus_PerfMapEnabled` environment variable to cause the .NET Core app to create a `map` file in the `/tmp` directory. This `map` file is used by `perf` to map CPU address to JIT-generated functions by name. For more information, see [Write perf map](../run-time-config/debugging-profiling.md#write-perf-map).
117117

118-
Run the [sample debug target](https://docs.microsoft.com/samples/dotnet/samples/diagnostic-scenarios) in the same terminal session.
118+
Run the [sample debug target](/samples/dotnet/samples/diagnostic-scenarios) in the same terminal session.
119119

120120
```dotnetcli
121121
export COMPlus_PerfMapEnabled=1
@@ -147,7 +147,7 @@ This command generates a `flamegraph.svg` that you can view in the browser to in
147147

148148
### [Windows](#tab/windows)
149149

150-
On Windows, you can use the [dotnet-trace](dotnet-trace.md) tool as a profiler. Using the previous [sample debug target](https://docs.microsoft.com/samples/dotnet/samples/diagnostic-scenarios), exercise the high CPU endpoint (`https://localhost:5001/api/diagscenario/highcpu/60000`) again. While it's running within the 1-minute request, use the `collect` command as follows:
150+
On Windows, you can use the [dotnet-trace](dotnet-trace.md) tool as a profiler. Using the previous [sample debug target](/samples/dotnet/samples/diagnostic-scenarios), exercise the high CPU endpoint (`https://localhost:5001/api/diagscenario/highcpu/60000`) again. While it's running within the 1-minute request, use the `collect` command as follows:
151151

152152
```dotnetcli
153153
dotnet-trace collect -p 22884 --providers Microsoft-DotNETCore-SampleProfiler

docs/core/diagnostics/debug-memory-leak.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,15 @@ The tutorial uses:
2929
- [dotnet-trace](dotnet-trace.md) to list processes.
3030
- [dotnet-counters](dotnet-counters.md) to check managed memory usage.
3131
- [dotnet-dump](dotnet-dump.md) to collect and analyze a dump file.
32-
- A [sample debug target](https://docs.microsoft.com/samples/dotnet/samples/diagnostic-scenarios/) app to diagnose.
32+
- A [sample debug target](/samples/dotnet/samples/diagnostic-scenarios/) app to diagnose.
3333

3434
The tutorial assumes the sample and tools are installed and ready to use.
3535

3636
## Examine managed memory usage
3737

3838
Before you start collecting diagnostics data to help us root cause this scenario, you need to make sure you're actually seeing a memory leak (memory growth). You can use the [dotnet-counters](dotnet-counters.md) tool to confirm that.
3939

40-
Open a console window and navigate to the directory where you downloaded and unzipped the [sample debug target](https://docs.microsoft.com/samples/dotnet/samples/diagnostic-scenarios/). Run the target:
40+
Open a console window and navigate to the directory where you downloaded and unzipped the [sample debug target](/samples/dotnet/samples/diagnostic-scenarios/). Run the target:
4141

4242
```dotnetcli
4343
dotnet run
@@ -111,7 +111,7 @@ By watching the memory usage, you can safely say that memory is growing or leaki
111111

112112
When analyzing possible memory leaks, you need access to the app's memory heap. Then you can analyze the memory contents. Looking at relationships between objects, you create theories on why memory isn't being freed. A common diagnostics data source is a memory dump on Windows or the equivalent core dump on Linux. To generate a dump of a .NET Core application, you can use the [dotnet-dump)](dotnet-dump.md) tool.
113113

114-
Using the [sample debug target](https://docs.microsoft.com/samples/dotnet/samples/diagnostic-scenarios/) previously started, run the following command to generate a Linux core dump:
114+
Using the [sample debug target](/samples/dotnet/samples/diagnostic-scenarios/) previously started, run the following command to generate a Linux core dump:
115115

116116
```dotnetcli
117117
dotnet-dump collect -p 4807
@@ -128,7 +128,7 @@ Complete
128128

129129
Once the dump is collected, you should have sufficient information to diagnose the failed process. If the failed process is running on a production server, now it's the ideal time for short-term remediation by restarting the process.
130130

131-
In this tutorial, you're now done with the [Sample debug target](https://docs.microsoft.com/samples/dotnet/samples/diagnostic-scenarios/) and you can close it. Navigate to the terminal that started the server, and press <kbd>Ctrl+C</kbd>.
131+
In this tutorial, you're now done with the [Sample debug target](/samples/dotnet/samples/diagnostic-scenarios/) and you can close it. Navigate to the terminal that started the server, and press <kbd>Ctrl+C</kbd>.
132132

133133
### Analyze the core dump
134134

@@ -141,7 +141,7 @@ dotnet-dump analyze core_20190430_185145
141141
Where `core_20190430_185145` is the name of the core dump you want to analyze.
142142

143143
> [!NOTE]
144-
> If you see an error complaining that *libdl.so* cannot be found, you may have to install the *libc6-dev* package. For more information, see [Prerequisites for .NET Core on Linux](../install/dependencies.md?pivots=os-linux).
144+
> If you see an error complaining that *libdl.so* cannot be found, you may have to install the *libc6-dev* package. For more information, see [Prerequisites for .NET Core on Linux](../install/linux.md).
145145
146146
You'll be presented with a prompt where you can enter SOS commands. Commonly, the first thing you want to look at is the overall state of the managed heap:
147147

docs/core/diagnostics/event-counter-perf.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ The tutorial uses:
2424

2525
- [.NET Core 3.1 SDK](https://dotnet.microsoft.com/download/dotnet-core) or a later version.
2626
- [dotnet-counters](dotnet-counters.md) to monitor event counters.
27-
- A [sample debug target](https://docs.microsoft.com/samples/dotnet/samples/diagnostic-scenarios) app to diagnose.
27+
- A [sample debug target](/samples/dotnet/samples/diagnostic-scenarios) app to diagnose.
2828

2929
## Get the source
3030

31-
The sample application will be used as a basis for monitoring. The [sample ASP.NET Core repository](https://docs.microsoft.com/samples/dotnet/samples/diagnostic-scenarios) is available from the samples browser. You download the zip file, extract it once downloaded, and open it in your favorite IDE. Build and run the application to ensure that it works properly, then stop the application.
31+
The sample application will be used as a basis for monitoring. The [sample ASP.NET Core repository](/samples/dotnet/samples/diagnostic-scenarios) is available from the samples browser. You download the zip file, extract it once downloaded, and open it in your favorite IDE. Build and run the application to ensure that it works properly, then stop the application.
3232

3333
## Implement an EventSource
3434

0 commit comments

Comments
 (0)