From 69d8618e83d3b087208559478e979f842d03162c Mon Sep 17 00:00:00 2001 From: Arie Heinrich Date: Mon, 18 Nov 2024 16:50:32 +0100 Subject: [PATCH 01/22] Spelling Fixes (#43600) --- docs/ai/conceptual/rag.md | 2 +- docs/ai/quickstarts/quickstart-local-ai.md | 2 +- docs/ai/tutorials/tutorial-ai-vector-search.md | 2 +- docs/azure/migration/appcat/interpret-results.md | 2 +- docs/core/compatibility/serialization/8.0/publishtrimmed.md | 2 +- docs/core/deploying/trimming/trim-warnings/il2075.md | 2 +- docs/core/deploying/trimming/trim-warnings/il2111.md | 2 +- docs/core/diagnostics/available-counters.md | 6 +++--- docs/core/diagnostics/diagnostic-resource-monitoring.md | 2 +- docs/core/diagnostics/logging-tracing.md | 2 +- docs/core/diagnostics/observability-applicationinsights.md | 2 +- docs/core/diagnostics/observability-otlp-example.md | 2 +- docs/core/diagnostics/specialized-diagnostics-overview.md | 2 +- docs/core/extensions/globalization-icu.md | 2 +- docs/core/extensions/httpclient-factory-troubleshooting.md | 2 +- docs/core/install/linux-package-mixup.md | 2 +- docs/core/testing/mstest-analyzers/mstest0019.md | 2 +- docs/core/testing/mstest-analyzers/mstest0030.md | 2 +- docs/core/tools/dotnet-nuget-config-paths.md | 2 +- docs/core/tools/dotnet-nuget-config-unset.md | 2 +- docs/core/tools/dotnet-workload-sets.md | 4 ++-- docs/core/tutorials/debugging-with-visual-studio-code.md | 2 +- docs/core/tutorials/publishing-with-visual-studio-code.md | 2 +- docs/core/whats-new/dotnet-8/containers.md | 2 +- docs/csharp/language-reference/builtin-types/ref-struct.md | 2 +- .../csharp/linq/standard-query-operators/join-operations.md | 2 +- .../classes-and-structs/using-properties.md | 2 +- docs/framework/data/adonet/establishing-the-connection.md | 2 +- .../debugging/clrdata-methdef-extent-structure.md | 2 +- .../debugging/clrdatafollowstuboutflag-enumeration.md | 2 +- .../debugging/clrdataothernotifyflag-enumeration.md | 2 +- .../unmanaged-api/debugging/debugging-enumerations.md | 2 +- .../debugging/ixclrdatamethodinstance-getdefinition.md | 2 +- .../debugging/ixclrdatamodule-endenumextents-method.md | 2 +- .../ixclrdatamodule-endenummethodinstancesbyname-method.md | 2 +- .../unmanaged-api/debugging/ixclrdataprocess-interface.md | 4 ++-- .../debugging/ixclrdatastackwalk-setcontext-method.md | 2 +- .../configuring-the-wpa--service-for-use-with-wcf.md | 2 +- ...-to-use-svcutil-exe-to-validate-compiled-service-code.md | 2 +- .../wcf/feature-details/streaming-message-transfer.md | 2 +- docs/fsharp/style-guide/conventions.md | 4 ++-- .../runtime-libraries/system-globalization-cultureinfo.md | 2 +- docs/fundamentals/syslib-diagnostics/syslib1050-1069.md | 2 +- docs/orleans/grains/index.md | 2 +- 44 files changed, 49 insertions(+), 49 deletions(-) diff --git a/docs/ai/conceptual/rag.md b/docs/ai/conceptual/rag.md index 6f036e55c83c6..e566c43c2b59f 100644 --- a/docs/ai/conceptual/rag.md +++ b/docs/ai/conceptual/rag.md @@ -1,6 +1,6 @@ --- title: "Integrate Your Data into AI Apps with Retrieval-Augmented Generation" -description: "Learn how retreival-augmented generation lets you use your data with LLMs to generate better completions in .NET." +description: "Learn how retrieval-augmented generation lets you use your data with LLMs to generate better completions in .NET." author: catbutler ms.topic: concept-article #Don't change. ms.date: 04/15/2024 diff --git a/docs/ai/quickstarts/quickstart-local-ai.md b/docs/ai/quickstarts/quickstart-local-ai.md index 26ce251aac6ba..e92ca410ce712 100644 --- a/docs/ai/quickstarts/quickstart-local-ai.md +++ b/docs/ai/quickstarts/quickstart-local-ai.md @@ -1,6 +1,6 @@ --- title: Quickstart - Connect to and chat with a local AI using .NET and Semantic Kernel -description: Set up a local AI model and chat with it using a .NET consle app and the Semantic Kernel SDK +description: Set up a local AI model and chat with it using a .NET console app and the Semantic Kernel SDK ms.date: 06/04/2024 ms.topic: quickstart ms.custom: devx-track-dotnet, devx-track-dotnet-ai diff --git a/docs/ai/tutorials/tutorial-ai-vector-search.md b/docs/ai/tutorials/tutorial-ai-vector-search.md index 60c1d6694c9d2..81f8f9bc326d8 100644 --- a/docs/ai/tutorials/tutorial-ai-vector-search.md +++ b/docs/ai/tutorials/tutorial-ai-vector-search.md @@ -12,7 +12,7 @@ ms.author: alexwolf This tutorial explores integration of the RAG pattern using Open AI models and vector search capabilities in a .NET app. The sample application performs vector searches on custom data stored in Azure Cosmos DB for MongoDB and further refines the responses using generative AI models, such as GPT-35 and GPT-4. In the sections that follow, you'll set up a sample application and explore key code examples that demonstrate these concepts. -## Prerequsites +## Prerequisites - [.NET 8.0 installed](https://dotnet.microsoft.com/) - An [Azure Account](https://azure.microsoft.com/free) diff --git a/docs/azure/migration/appcat/interpret-results.md b/docs/azure/migration/appcat/interpret-results.md index 0996dda3b6842..53a727df94faf 100644 --- a/docs/azure/migration/appcat/interpret-results.md +++ b/docs/azure/migration/appcat/interpret-results.md @@ -39,7 +39,7 @@ Categories section displays a graph with issues grouped by different categories * **Projects**: the number of projects scanned. * **Issues**: the number of unique encounters of a rule that may need to be addressed. -* **Incidents**: the total number of occurences of all issues found. +* **Incidents**: the total number of occurrences of all issues found. * **Story points**: the estimated effort to fix all of the issues found. This is a relative measure of effort and is not meant to be an exact estimate. ## Projects view diff --git a/docs/core/compatibility/serialization/8.0/publishtrimmed.md b/docs/core/compatibility/serialization/8.0/publishtrimmed.md index 59d2788a96a38..b318cbb245b53 100644 --- a/docs/core/compatibility/serialization/8.0/publishtrimmed.md +++ b/docs/core/compatibility/serialization/8.0/publishtrimmed.md @@ -35,7 +35,7 @@ This change ensures that trimmed applications use appropriate defaults. It also ## Recommended action -To ensure that serialization suceeds, we recommend that you migrate your trimmed applications to use the source generator. +To ensure that serialization succeeds, we recommend that you migrate your trimmed applications to use the source generator. However, if you must use reflection, you can revert to the original behavior by explicitly enabling the `JsonSerializerIsReflectionEnabledByDefault` property in your project file: diff --git a/docs/core/deploying/trimming/trim-warnings/il2075.md b/docs/core/deploying/trimming/trim-warnings/il2075.md index 0170c5745742d..75cf8c4038187 100644 --- a/docs/core/deploying/trimming/trim-warnings/il2075.md +++ b/docs/core/deploying/trimming/trim-warnings/il2075.md @@ -72,7 +72,7 @@ void MyMethod(MyType argument) Applying `DynamicallyAccessedMembersAttribute` to a class, interface, or struct, indicates to the linker the members specified may be accessed dynamically on instances returned from calling on instances of that class, interface, or struct. > [!NOTE] -> Applying `DynamicallyAccessedMembersAttribute` to a type definition will "root" all the indicated `DynamicallyAccessedMemberTypes` on the type and all it's derived types (or implementing types when placed on an interface). This means the members will be kept, as well as any metadata referenced by the members. Be careful to use the minimum `DynamicalylAccessedMemberTypes` required, and apply it on the most specific type possible. +> Applying `DynamicallyAccessedMembersAttribute` to a type definition will "root" all the indicated `DynamicallyAccessedMemberTypes` on the type and all it's derived types (or implementing types when placed on an interface). This means the members will be kept, as well as any metadata referenced by the members. Be careful to use the minimum `DynamicallyAccessedMemberTypes` required, and apply it on the most specific type possible. ## More information diff --git a/docs/core/deploying/trimming/trim-warnings/il2111.md b/docs/core/deploying/trimming/trim-warnings/il2111.md index 58b978d673e31..2f8faac248eeb 100644 --- a/docs/core/deploying/trimming/trim-warnings/il2111.md +++ b/docs/core/deploying/trimming/trim-warnings/il2111.md @@ -28,7 +28,7 @@ void TestMethod() } ``` -This warning can also be caused by passing a type to a field, paramter, argument, or return value that is annotated with . implies reflection access over all of the listed . This means that when a type is passed to a parameter, field, generic parameter, or return value annotated with .NET tooling assumes that all public methods are accessed via reflection. If a type that contains a method with an annotated parameter or return value is passed to a location annotated with , then IL2111 will be raised. +This warning can also be caused by passing a type to a field, paramater, argument, or return value that is annotated with . implies reflection access over all of the listed . This means that when a type is passed to a parameter, field, generic parameter, or return value annotated with .NET tooling assumes that all public methods are accessed via reflection. If a type that contains a method with an annotated parameter or return value is passed to a location annotated with , then IL2111 will be raised. ```csharp class TypeWithAnnotatedMethod diff --git a/docs/core/diagnostics/available-counters.md b/docs/core/diagnostics/available-counters.md index be9f5eaf6c168..7add161d1e7df 100644 --- a/docs/core/diagnostics/available-counters.md +++ b/docs/core/diagnostics/available-counters.md @@ -103,7 +103,7 @@ The following counters are published by the HTTP stack and are maintained in [_H ## System.Net.NameResolution counters -The following counters track metrics related to DNS lookups and are mantained in [_NameResolutionTelemetry.cs_](https://github.com/dotnet/runtime/blob/main/src/libraries/System.Net.NameResolution/src/System/Net/NameResolutionTelemetry.cs). +The following counters track metrics related to DNS lookups and are maintained in [_NameResolutionTelemetry.cs_](https://github.com/dotnet/runtime/blob/main/src/libraries/System.Net.NameResolution/src/System/Net/NameResolutionTelemetry.cs). | Counter | Description | First available in | |--|--|--| @@ -113,7 +113,7 @@ The following counters track metrics related to DNS lookups and are mantained in ## System.Net.Security counters -The following counters track metrics related to the Transport Layer Security protocol and are mantained in [_NetSecurityTelemetry.cs_](https://github.com/dotnet/runtime/blob/main/src/libraries/System.Net.Security/src/System/Net/Security/NetSecurityTelemetry.cs). +The following counters track metrics related to the Transport Layer Security protocol and are maintained in [_NetSecurityTelemetry.cs_](https://github.com/dotnet/runtime/blob/main/src/libraries/System.Net.Security/src/System/Net/Security/NetSecurityTelemetry.cs). | Counter | Description | First available in | |--|--|--| @@ -134,7 +134,7 @@ The following counters track metrics related to the Transport Layer Security pro ## System.Net.Sockets counters -The following counters track metrics related to and are mantained in [_SocketsTelemetry_](https://github.com/dotnet/runtime/blob/main/src/libraries/System.Net.Sockets/src/System/Net/Sockets/SocketsTelemetry.cs). +The following counters track metrics related to and are maintained in [_SocketsTelemetry_](https://github.com/dotnet/runtime/blob/main/src/libraries/System.Net.Sockets/src/System/Net/Sockets/SocketsTelemetry.cs). | Counter | Description | First available in | |--|--|--| diff --git a/docs/core/diagnostics/diagnostic-resource-monitoring.md b/docs/core/diagnostics/diagnostic-resource-monitoring.md index 7254f52756f68..af45be4153ca3 100644 --- a/docs/core/diagnostics/diagnostic-resource-monitoring.md +++ b/docs/core/diagnostics/diagnostic-resource-monitoring.md @@ -25,7 +25,7 @@ The preceding code: - Gets an instance of the interface from the `ServiceProvider` instance. > [!IMPORTANT] -> The package assumes that the consumer will register logging providers with the `Microsoft.Extensions.Logging` package. If you don't register logging, the call to `AddResourceMonitoring` will throw an exception. Furthemore, you can enable internal library logging by configuring the [`Debug`](xref:Microsoft.Extensions.Logging.LogLevel.Debug) log level for the `Microsoft.Extensions.Diagnostics.ResourceMonitoring` category as per the [guide](../extensions/logging.md#log-category). +> The package assumes that the consumer will register logging providers with the `Microsoft.Extensions.Logging` package. If you don't register logging, the call to `AddResourceMonitoring` will throw an exception. Furthermore, you can enable internal library logging by configuring the [`Debug`](xref:Microsoft.Extensions.Logging.LogLevel.Debug) log level for the `Microsoft.Extensions.Diagnostics.ResourceMonitoring` category as per the [guide](../extensions/logging.md#log-category). At this point, with the `IResourceMonitor` implementation you'll ask for resource utilization with the method. The `GetUtilization` method returns a instance that contains the following information: diff --git a/docs/core/diagnostics/logging-tracing.md b/docs/core/diagnostics/logging-tracing.md index f89b81b352383..f720f25d85746 100644 --- a/docs/core/diagnostics/logging-tracing.md +++ b/docs/core/diagnostics/logging-tracing.md @@ -46,7 +46,7 @@ The class has the API or with external diagostics tools such as [Visual Studio](/visualstudio/profiling), [dotnet-monitor](./dotnet-monitor.md), [dotnet-trace](./dotnet-trace.md), [PerfView](https://github.com/microsoft/perfview), and the [Perfcollect](./trace-perfcollect-lttng.md) scripts. Using the external tools to collect event source data in traces is commonly used for performance analysis. +Event Source data can be collected in-process using the API or with external diagnostics tools such as [Visual Studio](/visualstudio/profiling), [dotnet-monitor](./dotnet-monitor.md), [dotnet-trace](./dotnet-trace.md), [PerfView](https://github.com/microsoft/perfview), and the [Perfcollect](./trace-perfcollect-lttng.md) scripts. Using the external tools to collect event source data in traces is commonly used for performance analysis. ### Collect diagnostics in containers diff --git a/docs/core/extensions/globalization-icu.md b/docs/core/extensions/globalization-icu.md index 551082e7479fc..a3b66179eb925 100644 --- a/docs/core/extensions/globalization-icu.md +++ b/docs/core/extensions/globalization-icu.md @@ -104,7 +104,7 @@ Console.WriteLine(foo.EndsWith('\0')); > False > ``` -To avoid this behavior, use the `char` parameter overload or `StringComparison.Oridinal`. +To avoid this behavior, use the `char` parameter overload or `StringComparison.Ordinal`. #### String.StartsWith diff --git a/docs/core/extensions/httpclient-factory-troubleshooting.md b/docs/core/extensions/httpclient-factory-troubleshooting.md index 7477351ec302b..f00ae6da9624f 100644 --- a/docs/core/extensions/httpclient-factory-troubleshooting.md +++ b/docs/core/extensions/httpclient-factory-troubleshooting.md @@ -10,7 +10,7 @@ ms.date: 08/21/2024 In this article, you'll learn some of the most common problems you can run into when using `IHttpClientFactory` to create `HttpClient` instances. -`IHttpClientFactory` is a convenient way to set up multiple `HttpClient` configurations in the DI container, configure logging, set up resilience strategies, and more. `IHttpClientFactory` also incapsulates the lifetime management of `HttpClient` and `HttpMessageHandler` instances, to prevent problems like socket exhaustion and losing DNS changes. For an overview on how to use `IHttpClientFactory` in your .NET application, see [IHttpClientFactory with .NET](httpclient-factory.md). +`IHttpClientFactory` is a convenient way to set up multiple `HttpClient` configurations in the DI container, configure logging, set up resilience strategies, and more. `IHttpClientFactory` also encapsulates the lifetime management of `HttpClient` and `HttpMessageHandler` instances, to prevent problems like socket exhaustion and losing DNS changes. For an overview on how to use `IHttpClientFactory` in your .NET application, see [IHttpClientFactory with .NET](httpclient-factory.md). Due to a complex nature of `IHttpClientFactory` integration with DI, you can hit some issues that might be hard to catch and troubleshoot. The scenarios listed in this article also contain recommendations, which you can apply proactively to avoid potential problems. diff --git a/docs/core/install/linux-package-mixup.md b/docs/core/install/linux-package-mixup.md index 9fabb4d4311c2..94d4390a0915a 100644 --- a/docs/core/install/linux-package-mixup.md +++ b/docs/core/install/linux-package-mixup.md @@ -192,7 +192,7 @@ Configure your package manager to ignore the .NET packages from the distribution touch /etc/apt/preferences ``` -01. Open `/etc/apt/preferences` in an editor and add an apt preferences fragement to prevent packages that start with `dotnet`, `aspnetcore`, or `netstandard` from being sourced from the distribution's repository. +01. Open `/etc/apt/preferences` in an editor and add an apt preferences fragment to prevent packages that start with `dotnet`, `aspnetcore`, or `netstandard` from being sourced from the distribution's repository. ``` Package: dotnet* aspnet* netstandard* diff --git a/docs/core/testing/mstest-analyzers/mstest0019.md b/docs/core/testing/mstest-analyzers/mstest0019.md index 1dd9556894823..cd0f8337c7a95 100644 --- a/docs/core/testing/mstest-analyzers/mstest0019.md +++ b/docs/core/testing/mstest-analyzers/mstest0019.md @@ -30,7 +30,7 @@ This rule raises a diagnostic when there is a parameterless explicit constructor ## Rule description -Use this rule to enforce using `[TestInitialize]` for both synchronous and asynchronous test initialization. Asynchronous (async/await) test intialization requires the use of `[TestInitialize]` methods, because the resulting `Task` needs to be awaited. +Use this rule to enforce using `[TestInitialize]` for both synchronous and asynchronous test initialization. Asynchronous (async/await) test initialization requires the use of `[TestInitialize]` methods, because the resulting `Task` needs to be awaited. ## How to fix violations diff --git a/docs/core/testing/mstest-analyzers/mstest0030.md b/docs/core/testing/mstest-analyzers/mstest0030.md index 0c74907d6aa35..926c6f855e299 100644 --- a/docs/core/testing/mstest-analyzers/mstest0030.md +++ b/docs/core/testing/mstest-analyzers/mstest0030.md @@ -1,6 +1,6 @@ --- title: "MSTEST0030: Type containing `[TestMethod]` should be marked with `[TestClass]`" -description: "Learn about code analysis rule MSTEST0030: Type contaning `[TestMethod]` should be marked with `[TestClass]`, otherwise the test method will be silently ignored." +description: "Learn about code analysis rule MSTEST0030: Type containing `[TestMethod]` should be marked with `[TestClass]`, otherwise the test method will be silently ignored." ms.date: 07/02/2024 f1_keywords: - MSTEST0030 diff --git a/docs/core/tools/dotnet-nuget-config-paths.md b/docs/core/tools/dotnet-nuget-config-paths.md index 549a8b0745bbe..f4c5c43aaea09 100644 --- a/docs/core/tools/dotnet-nuget-config-paths.md +++ b/docs/core/tools/dotnet-nuget-config-paths.md @@ -10,7 +10,7 @@ ms.date: 05/14/2024 ## Name -`dotnet nuget config paths` - Lists nuget configuration files currently being appplied to a directory. +`dotnet nuget config paths` - Lists nuget configuration files currently being applied to a directory. ## Synopsis diff --git a/docs/core/tools/dotnet-nuget-config-unset.md b/docs/core/tools/dotnet-nuget-config-unset.md index 8ba161d390b3d..f2429f2824cad 100644 --- a/docs/core/tools/dotnet-nuget-config-unset.md +++ b/docs/core/tools/dotnet-nuget-config-unset.md @@ -43,7 +43,7 @@ The `dotnet nuget config unset` unsets the values for NuGet configuration settin * Removes's the `repositoryPath` config value from the specified configuration file: ```dotnetcli - dotnet nuget config unset repositoryPath --configfile "C:/nugte.config" + dotnet nuget config unset repositoryPath --configfile "C:/nuget.config" ``` ## See also diff --git a/docs/core/tools/dotnet-workload-sets.md b/docs/core/tools/dotnet-workload-sets.md index 07080a672dfb5..a63a94b2dd205 100644 --- a/docs/core/tools/dotnet-workload-sets.md +++ b/docs/core/tools/dotnet-workload-sets.md @@ -7,7 +7,7 @@ ms.service: dotnet ms.topic: how-to ms.date: 08/02/2024 -#customer intent: As a developer using optional workloads, I want to keep my workload versions in sync so that I can avoid conflicts betwween versions. I also want to avoid unexpected workload updates, so that I can avoid disruptions in development. +#customer intent: As a developer using optional workloads, I want to keep my workload versions in sync so that I can avoid conflicts between versions. I also want to avoid unexpected workload updates, so that I can avoid disruptions in development. --- # .NET SDK workload sets @@ -121,7 +121,7 @@ With the current directory in the same repository and the CLI in `workload-set` If you have a workload-set version in the global.json file, the workload commands are in `workload-set` mode even if you haven't run the `config` command or used `--version`. The global.json file overrides those. To use the `--version` option in that case, run the command outside of the path containing the global.json file. -If you don't specify the workload-set version in global.json, you can use the `--version` option with the `restore` comand. In that case, the `restore` command selects `workload-set` update mode before it restores workloads to the specified workload-set version. +If you don't specify the workload-set version in global.json, you can use the `--version` option with the `restore` command. In that case, the `restore` command selects `workload-set` update mode before it restores workloads to the specified workload-set version. In manifests update mode, `restore` installs or updates workloads to the latest version of each individual workload. diff --git a/docs/core/tutorials/debugging-with-visual-studio-code.md b/docs/core/tutorials/debugging-with-visual-studio-code.md index a0fa2375c3e81..48bf5bc95ab78 100644 --- a/docs/core/tutorials/debugging-with-visual-studio-code.md +++ b/docs/core/tutorials/debugging-with-visual-studio-code.md @@ -241,7 +241,7 @@ A *breakpoint* temporarily interrupts the execution of the application before th :::image type="content" source="media/debugging-with-visual-studio-code/start-debugging.png" alt-text="Start debugging"::: -1. Select the **Debug Conosle** tab to see the "What is your name?" prompt that the program displays before waiting for a response. +1. Select the **Debug Console** tab to see the "What is your name?" prompt that the program displays before waiting for a response. :::image type="content" source="media/debugging-with-visual-studio-code/select-terminal-net6.png" alt-text="Select the Terminal tab"::: diff --git a/docs/core/tutorials/publishing-with-visual-studio-code.md b/docs/core/tutorials/publishing-with-visual-studio-code.md index 4b81f205fa3fe..81b76692d5d0d 100644 --- a/docs/core/tutorials/publishing-with-visual-studio-code.md +++ b/docs/core/tutorials/publishing-with-visual-studio-code.md @@ -32,7 +32,7 @@ The .NET CLI is used to publish the app, so you can follow this tutorial with a dotnet publish ``` - The default build configuration is *Release*, which is appropriate for a deployed site running in producction. The output from the Release build configuration has minimal symbolic debug information and is fully optimized. + The default build configuration is *Release*, which is appropriate for a deployed site running in production. The output from the Release build configuration has minimal symbolic debug information and is fully optimized. The command output is similar to the following example: diff --git a/docs/core/whats-new/dotnet-8/containers.md b/docs/core/whats-new/dotnet-8/containers.md index e0207d178e190..f80d02af7cb00 100644 --- a/docs/core/whats-new/dotnet-8/containers.md +++ b/docs/core/whats-new/dotnet-8/containers.md @@ -83,7 +83,7 @@ There is a caveat to be aware of. Since composites have multiple assemblies embe ### Generated-image defaults -`dotnet publish` can produce container images. It defaults to producing [`non-root` images](#non-root-user), which helps your apps stay secure-by-default. Change this default at any time by setting the `ContainerUser` propery, for example with `root`. +`dotnet publish` can produce container images. It defaults to producing [`non-root` images](#non-root-user), which helps your apps stay secure-by-default. Change this default at any time by setting the `ContainerUser` property, for example with `root`. The default output container tag is now `latest`. This default is in line with other tooling in the containers space and makes containers easier to use in inner development loops. diff --git a/docs/csharp/language-reference/builtin-types/ref-struct.md b/docs/csharp/language-reference/builtin-types/ref-struct.md index c28b923022b5a..b96e32cc2c31b 100644 --- a/docs/csharp/language-reference/builtin-types/ref-struct.md +++ b/docs/csharp/language-reference/builtin-types/ref-struct.md @@ -60,7 +60,7 @@ The `Span` type stores a reference through which it accesses the contiguous e You can define a disposable `ref struct`. To do that, ensure that a `ref struct` fits the [disposable pattern](~/_csharplang/proposals/csharp-8.0/using.md#pattern-based-using). That is, it has an instance `Dispose` method, which is accessible, parameterless and has a `void` return type. You can use the [using statement or declaration](../statements/using.md) with an instance of a disposable `ref struct`. -Beginning with C# 13, you can also implement the on `ref struct` types. However, overload resolution prefers the disposable pattern to the interface method. The compiler resolves to an `IDisposable.Dispose` method only whan a suitable `Dispose` method isn't found. +Beginning with C# 13, you can also implement the on `ref struct` types. However, overload resolution prefers the disposable pattern to the interface method. The compiler resolves to an `IDisposable.Dispose` method only when a suitable `Dispose` method isn't found. ## Restrictions for `ref struct` types that implement an interface diff --git a/docs/csharp/linq/standard-query-operators/join-operations.md b/docs/csharp/linq/standard-query-operators/join-operations.md index 05c9c2db0aaea..1e0ac5f7b4593 100644 --- a/docs/csharp/linq/standard-query-operators/join-operations.md +++ b/docs/csharp/linq/standard-query-operators/join-operations.md @@ -54,7 +54,7 @@ In relational database terms, an *inner join* produces a result set in which eac ### Single key join -The following example matches `Teacher` objects with `Deparment` objects whose `TeacherId` matches that `Teacher`. The `select` clause in C# defines how the resulting objects look. In the following example, the resulting objects are anonymous types that consist of the department name and the name of the teacher that leads the department. +The following example matches `Teacher` objects with `Department` objects whose `TeacherId` matches that `Teacher`. The `select` clause in C# defines how the resulting objects look. In the following example, the resulting objects are anonymous types that consist of the department name and the name of the teacher that leads the department. :::code language="csharp" source="./snippets/standard-query-operators/InnerJoins.cs" id="SimpleInnerJoinQuery"::: diff --git a/docs/csharp/programming-guide/classes-and-structs/using-properties.md b/docs/csharp/programming-guide/classes-and-structs/using-properties.md index c71d98fa2c04f..ec42866810316 100644 --- a/docs/csharp/programming-guide/classes-and-structs/using-properties.md +++ b/docs/csharp/programming-guide/classes-and-structs/using-properties.md @@ -33,7 +33,7 @@ Beginning with C# 13, you can use [field backed properties](../../language-refer ## The get accessor -The body of the `get` accessor resembles that of a method. It must return a value of the property type. The C# compiler and Just-in-time (JIT) compiler detect common patterns for implementing the `get` accessor, and optimizes those patterns. For example, a `get` accessor that returns a field without performing any computation is likely optimized to a memory read of that field. Automatically mplemented properties follow this pattern and benefit from these optimizations. However, a virtual `get` accessor method can't be inlined because the compiler doesn't know at compile time which method might actually be called at run time. The following example shows a `get` accessor that returns the value of a private field `_name`: +The body of the `get` accessor resembles that of a method. It must return a value of the property type. The C# compiler and Just-in-time (JIT) compiler detect common patterns for implementing the `get` accessor, and optimizes those patterns. For example, a `get` accessor that returns a field without performing any computation is likely optimized to a memory read of that field. Automatically implemented properties follow this pattern and benefit from these optimizations. However, a virtual `get` accessor method can't be inlined because the compiler doesn't know at compile time which method might actually be called at run time. The following example shows a `get` accessor that returns the value of a private field `_name`: :::code language="csharp" source="./snippets/properties/Person.cs" id="UsingEmployeeExample"::: diff --git a/docs/framework/data/adonet/establishing-the-connection.md b/docs/framework/data/adonet/establishing-the-connection.md index 5fb2576a8404a..a56070ca5bcfb 100644 --- a/docs/framework/data/adonet/establishing-the-connection.md +++ b/docs/framework/data/adonet/establishing-the-connection.md @@ -61,7 +61,7 @@ using (SqlConnection connection = new SqlConnection(connectionString)) - The **URL**, **Remote Provider**, and **Remote Server** keywords are not supported. - For more information about OLE DB connection strings, see the artcile. You can also use the to create connection strings at run time. + For more information about OLE DB connection strings, see the article. You can also use the to create connection strings at run time. > [!NOTE] > The **OleDbConnection** object does not support setting or retrieving dynamic properties specific to an OLE DB provider. Only properties that can be passed in the connection string for the OLE DB provider are supported. diff --git a/docs/framework/unmanaged-api/debugging/clrdata-methdef-extent-structure.md b/docs/framework/unmanaged-api/debugging/clrdata-methdef-extent-structure.md index c9e977d5760ad..933ec165f217b 100644 --- a/docs/framework/unmanaged-api/debugging/clrdata-methdef-extent-structure.md +++ b/docs/framework/unmanaged-api/debugging/clrdata-methdef-extent-structure.md @@ -61,5 +61,5 @@ This structure lives inside the runtime and is not exposed through any headers o - [Debugging](index.md) - [IXCLRDataMethodDefinition Interface](ixclrdatamethoddefinition-interface.md) - [IXCLRDataMethodDefinition::StartEnumExtents Method](ixclrdatamethoddefinition-startenumextents.md) -- [IXCLRDataMethdDefinition::EnumExtent Method](ixclrdatamethoddefinition-enumextent-method.md) +- [IXCLRDataMethodDefinition::EnumExtent Method](ixclrdatamethoddefinition-enumextent-method.md) - [IXCLRDataMethodDefinition::EndEnumExtents Method](ixclrdatamethoddefinition-endenumextents-method.md) diff --git a/docs/framework/unmanaged-api/debugging/clrdatafollowstuboutflag-enumeration.md b/docs/framework/unmanaged-api/debugging/clrdatafollowstuboutflag-enumeration.md index 3549d62cc5579..bdcf7dcb791f4 100644 --- a/docs/framework/unmanaged-api/debugging/clrdatafollowstuboutflag-enumeration.md +++ b/docs/framework/unmanaged-api/debugging/clrdatafollowstuboutflag-enumeration.md @@ -34,7 +34,7 @@ typedef enum CLRDataFollowStubOutFlag { |Member|Value|Description| |------------|-----------------|-----------------| -|`CLRDATA_FOLLOW_STUB_INTERMEDIATE`|0x00000000|The result of following is an intermedidate stub. Callers can call `FollowStub` or `FollowStub2` again to continue following the chain.| +|`CLRDATA_FOLLOW_STUB_INTERMEDIATE`|0x00000000|The result of following is an intermediate stub. Callers can call `FollowStub` or `FollowStub2` again to continue following the chain.| |`CLRDATA_FOLLOW_STUB_EXIT`|0x00000001|The result of following is the exit of the stub. The returned address is the execution address at the end of the stub chain.| ## Remarks diff --git a/docs/framework/unmanaged-api/debugging/clrdataothernotifyflag-enumeration.md b/docs/framework/unmanaged-api/debugging/clrdataothernotifyflag-enumeration.md index 69c53fe192a6d..107d6b32225b4 100644 --- a/docs/framework/unmanaged-api/debugging/clrdataothernotifyflag-enumeration.md +++ b/docs/framework/unmanaged-api/debugging/clrdataothernotifyflag-enumeration.md @@ -39,7 +39,7 @@ typedef enum CLRDataOtherNotifyFlag { |`CLRDATA_NOTIFY_ON_MODULE_LOAD`|0x1|Notification should occur when a module is loaded.| |`CLRDATA_NOTIFY_ON_MODULE_UNLOAD`|0x2|Notification should occur when a module is unloaded.| |`CLRDATA_NOTIFY_ON_EXCEPTION`|0x4|Notification should occur when a managed exception is raised.| -|`CLRDATA_NOTIFY_ON_EXCEPTION_CATCH_ENTER`|0x8|Notification should occur owhen a managed catch block is entered.| +|`CLRDATA_NOTIFY_ON_EXCEPTION_CATCH_ENTER`|0x8|Notification should occur when a managed catch block is entered.| ## Remarks diff --git a/docs/framework/unmanaged-api/debugging/debugging-enumerations.md b/docs/framework/unmanaged-api/debugging/debugging-enumerations.md index d74e5036273fd..b763f3688835e 100644 --- a/docs/framework/unmanaged-api/debugging/debugging-enumerations.md +++ b/docs/framework/unmanaged-api/debugging/debugging-enumerations.md @@ -49,7 +49,7 @@ This section describes the unmanaged enumerations that the debugging API uses. [CLRDataOtherNotifyFlag Enumeration](clrdataothernotifyflag-enumeration.md)\ Indicates the type of notifications that should be delivered. Used in calls to [IXCLRDataProcess::SetOtherNotificationFlags Method](ixclrdataprocess-setothernotificationflags-method.md). - [CLRDataSimpleFrameType Enumeraiton](clrdatasimpleframetype-enumeration.md)\ + [CLRDataSimpleFrameType Enumeration](clrdatasimpleframetype-enumeration.md)\ Describes a type of frame in the call stack from [IXCLRDataStackWalk::GetFrameType](ixclrdatastackwalk-getframetype-method.md). [CLRDataSourceType Enumeration](clrdatasourcetype-enumeration.md)\ diff --git a/docs/framework/unmanaged-api/debugging/ixclrdatamethodinstance-getdefinition.md b/docs/framework/unmanaged-api/debugging/ixclrdatamethodinstance-getdefinition.md index 75231b10d5f72..60e7e89b4e92f 100644 --- a/docs/framework/unmanaged-api/debugging/ixclrdatamethodinstance-getdefinition.md +++ b/docs/framework/unmanaged-api/debugging/ixclrdatamethodinstance-getdefinition.md @@ -34,7 +34,7 @@ HRESULT GetDefinition( ## Parameters `methodDefinition`\ -[out] The methood definition which matches this method instance. +[out] The method definition which matches this method instance. ## Remarks diff --git a/docs/framework/unmanaged-api/debugging/ixclrdatamodule-endenumextents-method.md b/docs/framework/unmanaged-api/debugging/ixclrdatamodule-endenumextents-method.md index 7bcc7929ea131..3e3d9441adf6c 100644 --- a/docs/framework/unmanaged-api/debugging/ixclrdatamodule-endenumextents-method.md +++ b/docs/framework/unmanaged-api/debugging/ixclrdatamodule-endenumextents-method.md @@ -9,7 +9,7 @@ api.location: api.type: - "COM" f1.keywords: - - "IXCLRDataModule::EndEnumExtnets Method" + - "IXCLRDataModule::EndEnumExtents Method" helpviewer.keywords: - "IXCLRDataModule::EndEnumExtents Method [.NET Framework debugging]" topic_type: diff --git a/docs/framework/unmanaged-api/debugging/ixclrdatamodule-endenummethodinstancesbyname-method.md b/docs/framework/unmanaged-api/debugging/ixclrdatamodule-endenummethodinstancesbyname-method.md index 125169f7a7b1b..0a81de2056188 100644 --- a/docs/framework/unmanaged-api/debugging/ixclrdatamodule-endenummethodinstancesbyname-method.md +++ b/docs/framework/unmanaged-api/debugging/ixclrdatamodule-endenummethodinstancesbyname-method.md @@ -3,7 +3,7 @@ description: "Learn more about: IXCLRDataModule::EnumEnumMethodInstancesByName M title: "IXCLRDataModule::EndEnumMethodInstancesByName Method" ms.date: "07/01/2024" api.name: - - "IXCLRDataModule::EndEnumMethodInstnacesByName Method" + - "IXCLRDataModule::EndEnumMethodInstancesByName Method" api.location: - "mscordacwks.dll" api.type: diff --git a/docs/framework/unmanaged-api/debugging/ixclrdataprocess-interface.md b/docs/framework/unmanaged-api/debugging/ixclrdataprocess-interface.md index 96f8f33fe55f4..f1f20364aa922 100644 --- a/docs/framework/unmanaged-api/debugging/ixclrdataprocess-interface.md +++ b/docs/framework/unmanaged-api/debugging/ixclrdataprocess-interface.md @@ -35,8 +35,8 @@ Provides methods for querying information about a process. | [StartEnumMethodInstancesByAddress](ixclrdataprocess-startenummethodinstancesbyaddress-method.md) | Provides a handle to enumerate the method instances of `AppDomain` starting at a given address. | | [EnumMethodInstanceByAddress](ixclrdataprocess-enummethodinstancebyaddress-method.md) | Enumerates the method instances of this process starting at an address offset. | | [EndEnumMethodInstancesByAddress](ixclrdataprocess-endenummethodinstancesbyaddress-method.md) | Releases the resources used by internal iterators used during instance enumeration. | -| [GetTaskByOSThreadID](ixclrdataprocess-gettaskbyosthreadid-method.md) | Gets a managed task by its OS thread id. | -| [GetTaskByUniqueID](ixclrdataprocess-gettaskbyuniqueid-method.md) | Gets a managed task by its unqiue id. | +| [GetTaskByOSThreadID](ixclrdataprocess-gettaskbyosthreadid-method.md) | Gets a managed task by its OS thread ID. | +| [GetTaskByUniqueID](ixclrdataprocess-gettaskbyuniqueid-method.md) | Gets a managed task by its unique ID. | | [GetModuleByAddress](ixclrdataprocess-getmodulebyaddress-method.md) | Looks up a managed module by address. | | [StartEnumMethodDefinitionsByAddress](ixclrdataprocess-startenummethoddefinitionsbyaddress-method.md) | Provides a handle to enumerate method instances by IL code address. | | [EnumMethodDefinitionByAddress](ixclrdataprocess-enummethoddefinitionbyaddress-method.md) | Enumerates method instances by IL code address. | diff --git a/docs/framework/unmanaged-api/debugging/ixclrdatastackwalk-setcontext-method.md b/docs/framework/unmanaged-api/debugging/ixclrdatastackwalk-setcontext-method.md index 7315bc3e06dd5..5b6a7ea9f5df1 100644 --- a/docs/framework/unmanaged-api/debugging/ixclrdatastackwalk-setcontext-method.md +++ b/docs/framework/unmanaged-api/debugging/ixclrdatastackwalk-setcontext-method.md @@ -19,7 +19,7 @@ ms.author: "wmessmer" --- # IXCLRDataStackWalk::SetContext Method -Changes the current cotnext of this stack walk, allowing the debugger to move it to an arbitrary context. Does not actually alter the current context of the thread whose stack is being walked. +Changes the current context of this stack walk, allowing the debugger to move it to an arbitrary context. Does not actually alter the current context of the thread whose stack is being walked. NOTE: This method is obsolete. diff --git a/docs/framework/wcf/feature-details/configuring-the-wpa--service-for-use-with-wcf.md b/docs/framework/wcf/feature-details/configuring-the-wpa--service-for-use-with-wcf.md index 44beac33c4e03..d35f9c0d2064b 100644 --- a/docs/framework/wcf/feature-details/configuring-the-wpa--service-for-use-with-wcf.md +++ b/docs/framework/wcf/feature-details/configuring-the-wpa--service-for-use-with-wcf.md @@ -44,7 +44,7 @@ appcmd.exe set site "Default Web Site" -+bindings.[protocol='net.tcp',bindingInf ## Enabling an Application to Use Non-HTTP Protocols - You can enable or disable individual network protocolsat the application level. The following command illustrates how to enable both the HTTP and net.tcp protocols for an application that runs in the `Default Web Site`. + You can enable or disable individual network protocols at the application level. The following command illustrates how to enable both the HTTP and net.tcp protocols for an application that runs in the `Default Web Site`. ```console appcmd.exe set app "Default Web Site/appOne" /enabledProtocols:net.tcp diff --git a/docs/framework/wcf/feature-details/how-to-use-svcutil-exe-to-validate-compiled-service-code.md b/docs/framework/wcf/feature-details/how-to-use-svcutil-exe-to-validate-compiled-service-code.md index b8f76206f5a17..08456e78e456f 100644 --- a/docs/framework/wcf/feature-details/how-to-use-svcutil-exe-to-validate-compiled-service-code.md +++ b/docs/framework/wcf/feature-details/how-to-use-svcutil-exe-to-validate-compiled-service-code.md @@ -14,7 +14,7 @@ You can use the [ServiceModel Metadata Utility Tool (Svcutil.exe)](../servicemod 2. Open an SDK command prompt -3. At the command prompt, launch the Svcutil.exe tool using the following format. For more information on the various parameters, see the Service Validationsection of the [ServiceModel Metadata Utility Tool (Svcutil.exe)](../servicemodel-metadata-utility-tool-svcutil-exe.md) topic. +3. At the command prompt, launch the Svcutil.exe tool using the following format. For more information on the various parameters, see the Service Validation section of the [ServiceModel Metadata Utility Tool (Svcutil.exe)](../servicemodel-metadata-utility-tool-svcutil-exe.md) topic. ```console svcutil.exe /validate /serviceName: * diff --git a/docs/framework/wcf/feature-details/streaming-message-transfer.md b/docs/framework/wcf/feature-details/streaming-message-transfer.md index d52560992f88a..690d9b7258c29 100644 --- a/docs/framework/wcf/feature-details/streaming-message-transfer.md +++ b/docs/framework/wcf/feature-details/streaming-message-transfer.md @@ -30,7 +30,7 @@ Windows Communication Foundation (WCF) transports support two modes for transfer To enable asynchronous streaming, add the endpoint behavior to the service host and set its property to `true`. - This version of WCF also adde the capability of true asynchronous streaming on the send side. This improves scalability of the service in scenarios where it is streaming messages to multiple clients some of which are slow in reading; possibly due to network congestion or are not reading at all. In these scenarios WCF no longer blocks individual threads on the service per client. This ensures that the service is able to process many more clients thereby improving the scalability of the service. + This version of WCF also added the capability of true asynchronous streaming on the send side. This improves scalability of the service in scenarios where it is streaming messages to multiple clients some of which are slow in reading; possibly due to network congestion or are not reading at all. In these scenarios WCF no longer blocks individual threads on the service per client. This ensures that the service is able to process many more clients thereby improving the scalability of the service. ## Restrictions on Streamed Transfers diff --git a/docs/fsharp/style-guide/conventions.md b/docs/fsharp/style-guide/conventions.md index 8ec443bc71ffa..61658bebff99a 100644 --- a/docs/fsharp/style-guide/conventions.md +++ b/docs/fsharp/style-guide/conventions.md @@ -83,7 +83,7 @@ let parsed = StringTokenization.parse s // Must qualify to use 'parse' ### Sort `open` statements topologically -In F#, the order of declarations matters, including with `open` statements (and `open type`, just refered as `open` farther down). This is unlike C#, where the effect of `using` and `using static` is independent of the ordering of those statements in a file. +In F#, the order of declarations matters, including with `open` statements (and `open type`, just referred as `open` farther down). This is unlike C#, where the effect of `using` and `using static` is independent of the ordering of those statements in a file. In F#, elements opened into a scope can shadow others already present. This means that reordering `open` statements could alter the meaning of code. As a result, any arbitrary sorting of all `open` statements (for example, alphanumerically) is not recommended, lest you generate different behavior that you might expect. @@ -535,7 +535,7 @@ F# values are immutable by default, which allows you to avoid certain classes of Use of `mutable` in F# may feel at odds with functional purity. This is understandable, but functional purity everywhere can be at odds with performance goals. A compromise is to encapsulate mutation such that callers need not care about what happens when they call a function. This allows you to write a functional interface over a mutation-based implementation for performance-critical code. -Also, F# `let` binding constructs allow you to nest bindings into another one, this can be leveraged to keep the scope of `mutable` variable close or at its theoritical smallest. +Also, F# `let` binding constructs allow you to nest bindings into another one, this can be leveraged to keep the scope of `mutable` variable close or at its theoretical smallest. ```fsharp let data = diff --git a/docs/fundamentals/runtime-libraries/system-globalization-cultureinfo.md b/docs/fundamentals/runtime-libraries/system-globalization-cultureinfo.md index 88ad51b764c0b..358d0796d9f01 100644 --- a/docs/fundamentals/runtime-libraries/system-globalization-cultureinfo.md +++ b/docs/fundamentals/runtime-libraries/system-globalization-cultureinfo.md @@ -72,7 +72,7 @@ On Windows, you can create custom locales. For more information, see [Custom loc Because of this, a culture available on a particular .NET implementation, platform, or version may not be available on a different .NET implementation, platform, or version. -Some `CultureInfo` objects differ depending on the underlying platform. In particular, `zh-CN`, or Chinese (Simplified, China) and `zh-TW`, or Chinese (Traditional, Taiwan), are available cultures on Windows systems, but they are aliased cultures on Unix systems. "zh-CN" is an alias for the "zh-Hans-CN" culture, and "zh-TW" is an alias for the "zh-Hant-TW" culture. Aliased cultures are not returned by calls to the method and may have different property values, including different cultures, than their Windows counterparts. For the `zh-CN` and `zh-TW` cultures, these differenes include the following: +Some `CultureInfo` objects differ depending on the underlying platform. In particular, `zh-CN`, or Chinese (Simplified, China) and `zh-TW`, or Chinese (Traditional, Taiwan), are available cultures on Windows systems, but they are aliased cultures on Unix systems. "zh-CN" is an alias for the "zh-Hans-CN" culture, and "zh-TW" is an alias for the "zh-Hant-TW" culture. Aliased cultures are not returned by calls to the method and may have different property values, including different cultures, than their Windows counterparts. For the `zh-CN` and `zh-TW` cultures, these differences include the following: - On Windows systems, the parent culture of the "zh-CN" culture is "zh-Hans", and the parent culture of the "zh-TW" culture is "zh-Hant". The parent culture of both these cultures is "zh". On Unix systems, the parents of both cultures are "zh". This means that, if you don't provide culture-specific resources for the "zh-CN" or "zh-TW" cultures but do provide a resources for the neutral "zh-Hans" or "zh-Hant" culture, your application will load the resources for the neutral culture on Windows but not on Unix. On Unix systems, you must explicitly set the thread's to either "zh-Hans" or "zh-Hant". diff --git a/docs/fundamentals/syslib-diagnostics/syslib1050-1069.md b/docs/fundamentals/syslib-diagnostics/syslib1050-1069.md index 9589d094bb690..40c446ee6c209 100644 --- a/docs/fundamentals/syslib-diagnostics/syslib1050-1069.md +++ b/docs/fundamentals/syslib-diagnostics/syslib1050-1069.md @@ -33,7 +33,7 @@ The following table shows the diagnostic IDs for platform-invoke (p/invoke) sour | `SYSLIB1050` | Invalid usage. | - Method '{0}' should be 'static', 'partial', and non-generic when marked with 'LibraryImportAttribute'. P/Invoke source generation will ignore method '{0}'.
- Method '{0}' is contained in a type '{1}' that is not marked 'partial'. P/Invoke source generation will ignore method '{0}'.
- The configuration of 'StringMarshalling' and 'StringMarshallingCustomType' on method '{0}' is invalid. | | `SYSLIB1051` | The specified type is not supported by source-generated p/invokes. | - The generated source will not handle marshalling of parameter '{1}'.
- The generated source will not handle marshalling of the return value of method '{1}'. | | `SYSLIB1052` | The specified configuration is not supported by source-generated p/invokes. | - The configuration is not supported by source-generated P/Invokes. If the specified configuration is required, use a regular `DllImport` instead.
- The specified configuration for parameter '{1}' is not supported by source-generated P/Invokes.
- The specified configuration for the return value of method '{1}' is not supported by source-generated P/Invokes.
- The specified value for '{1}' is not supported by source-generated P/Invokes.
- The specified marshalling configuration is not supported by source-generated P/Invokes. | -| `SYSLIB1053` | The specified arguments cannot be forwarded to . | '{0}' has no equivalent in 'DllImportAtttribute' and will not be forwarded. | +| `SYSLIB1053` | The specified arguments cannot be forwarded to . | '{0}' has no equivalent in 'DllImportAttribute' and will not be forwarded. | | `SYSLIB1054` | Use instead of to generate p/invoke marshalling code at compile time. | | | `SYSLIB1055` | Invalid usage. | | | `SYSLIB1056` | The specified native type is invalid. | | diff --git a/docs/orleans/grains/index.md b/docs/orleans/grains/index.md index fad099be7771c..7ad08e13f4ff2 100644 --- a/docs/orleans/grains/index.md +++ b/docs/orleans/grains/index.md @@ -219,7 +219,7 @@ await joinedTask; When a grain method throws an exception, Orleans propagates that exception up the calling stack, across hosts as necessary. For this to work as intended, exceptions must be serializable by Orleans and hosts which are handling the exception must have the exception type available. If an exception type isn't available, the exception will be thrown as an instance of , preserving the message, type, and stack trace of the original exception. -Exeptions thrown from grain methods don't cause the grain to be deactivated unless the exception inherits from . `InconsistentStateException` is thrown by storage operations which discover that the grain's in-memory state is inconsistent with the state in the database. Aside from the special-casing of `InconsistentStateException`, this behavior is similar to throwing an exception from any .NET object: exceptions don't cause an object to be destroyed. +Exceptions thrown from grain methods don't cause the grain to be deactivated unless the exception inherits from . `InconsistentStateException` is thrown by storage operations which discover that the grain's in-memory state is inconsistent with the state in the database. Aside from the special-casing of `InconsistentStateException`, this behavior is similar to throwing an exception from any .NET object: exceptions don't cause an object to be destroyed. ### Virtual methods From 9e391fbd7f13af3a30eb4f828f32fffcc3470c0e Mon Sep 17 00:00:00 2001 From: pypkaed Date: Mon, 18 Nov 2024 19:19:43 +0300 Subject: [PATCH 02/22] [docs] Add note that `ref struct` can't be converted to `object` (#43602) --- docs/csharp/language-reference/builtin-types/reference-types.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/csharp/language-reference/builtin-types/reference-types.md b/docs/csharp/language-reference/builtin-types/reference-types.md index 7952b3fbadaa6..60360baa82556 100644 --- a/docs/csharp/language-reference/builtin-types/reference-types.md +++ b/docs/csharp/language-reference/builtin-types/reference-types.md @@ -28,7 +28,7 @@ C# has many built-in reference types. They have keywords or operators that are s ## The object type -The `object` type is an alias for in .NET. In the unified type system of C#, all types, predefined and user-defined, reference types and value types, inherit directly or indirectly from . You can assign values of any type to variables of type `object`. Any `object` variable can be assigned to its default value using the literal `null`. When a variable of a value type is converted to object, it's said to be *boxed*. When a variable of type `object` is converted to a value type, it's said to be *unboxed*. For more information, see [Boxing and Unboxing](../../programming-guide/types/boxing-and-unboxing.md). +The `object` type is an alias for in .NET. In the unified type system of C#, all types, predefined and user-defined, reference types and value types, inherit directly or indirectly from . You can assign values of any type (except `ref struct`, see [ref struct](ref-struct.md)) to variables of type `object`. Any `object` variable can be assigned to its default value using the literal `null`. When a variable of a value type is converted to object, it's said to be *boxed*. When a variable of type `object` is converted to a value type, it's said to be *unboxed*. For more information, see [Boxing and Unboxing](../../programming-guide/types/boxing-and-unboxing.md). ## The string type From d5ffeda936e540adef9b47cd71fcc09781a00015 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 18 Nov 2024 16:23:36 +0000 Subject: [PATCH 03/22] .NET dependabot-bot automated PR. (#43604) Co-authored-by: BillWagner <493969+BillWagner@users.noreply.github.com> --- .github/dependabot.yml | 44 +++++++++++++++++++++--------------------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 6e6bcd4e6d96e..3749bbb6641a4 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -800,6 +800,28 @@ updates: dotnet: patterns: - "*" # Prefer a single PR per project update. + - package-ecosystem: "nuget" + directory: "/docs/azure/sdk/snippets/aspnetcore-guidance/BlazorSample" #BlazorSample.csproj + schedule: + interval: "weekly" + day: "wednesday" + open-pull-requests-limit: 5 + groups: + # Group .NET updates together for projects. + dotnet: + patterns: + - "*" # Prefer a single PR per project update. + - package-ecosystem: "nuget" + directory: "/docs/azure/sdk/snippets/aspnetcore-guidance/MinApiSample" #MinApiSample.csproj + schedule: + interval: "weekly" + day: "wednesday" + open-pull-requests-limit: 5 + groups: + # Group .NET updates together for projects. + dotnet: + patterns: + - "*" # Prefer a single PR per project update. - package-ecosystem: "nuget" directory: "/docs/azure/sdk/snippets/logging" #LoggingSampleApp.csproj schedule: @@ -2175,25 +2197,3 @@ updates: dotnet: patterns: - "*" # Prefer a single PR per project update. - - package-ecosystem: "nuget" - directory: "/docs/orleans/deployment/snippets/consul/Silo" #Silo.csproj - schedule: - interval: "weekly" - day: "wednesday" - open-pull-requests-limit: 5 - groups: - # Group .NET updates together for projects. - dotnet: - patterns: - - "*" # Prefer a single PR per project update. - - package-ecosystem: "nuget" - directory: "/docs/orleans/deployment/snippets/service-fabric/stateless" #Orleans.ServiceFabric.Stateless.csproj - schedule: - interval: "weekly" - day: "wednesday" - open-pull-requests-limit: 5 - groups: - # Group .NET updates together for projects. - dotnet: - patterns: - - "*" # Prefer a single PR per project update. From c754ad9569ede1cfdb78ebd92e6ea49cf5285255 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 18 Nov 2024 16:27:50 +0000 Subject: [PATCH 04/22] Bump github/codeql-action from 3.27.3 to 3.27.4 (#43610) Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.27.3 to 3.27.4. - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/github/codeql-action/compare/396bb3e45325a47dd9ef434068033c6d5bb0d11a...ea9e4e37992a54ee68a9622e985e60c8e8f12d9f) --- updated-dependencies: - dependency-name: github/codeql-action dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/scorecards.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/scorecards.yml b/.github/workflows/scorecards.yml index 9e14b0f4b5224..4d9dd71b7008d 100644 --- a/.github/workflows/scorecards.yml +++ b/.github/workflows/scorecards.yml @@ -71,6 +71,6 @@ jobs: # Upload the results to GitHub's code scanning dashboard. - name: "Upload to code-scanning" - uses: github/codeql-action/upload-sarif@396bb3e45325a47dd9ef434068033c6d5bb0d11a # v3.27.3 + uses: github/codeql-action/upload-sarif@ea9e4e37992a54ee68a9622e985e60c8e8f12d9f # v3.27.4 with: sarif_file: results.sarif From e6306c458ee4ca6c0ac353e298b98205726b2230 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 18 Nov 2024 16:28:43 +0000 Subject: [PATCH 05/22] Bump IEvangelist/profanity-filter from 1.0.75 to 2.0.1 (#43609) Bumps [IEvangelist/profanity-filter](https://github.com/ievangelist/profanity-filter) from 1.0.75 to 2.0.1. - [Release notes](https://github.com/ievangelist/profanity-filter/releases) - [Commits](https://github.com/ievangelist/profanity-filter/compare/840020b719c619d953959e59c47185689e831a27...39d3039e84ca8c15d36528551149cb9de3046876) --- updated-dependencies: - dependency-name: IEvangelist/profanity-filter dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/profanity-filter.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/profanity-filter.yml b/.github/workflows/profanity-filter.yml index a8c68beb33f56..b4bd368178a5d 100644 --- a/.github/workflows/profanity-filter.yml +++ b/.github/workflows/profanity-filter.yml @@ -25,7 +25,7 @@ jobs: - name: Profanity filter if: ${{ github.actor != 'dependabot[bot]' && github.actor != 'github-actions[bot]' }} - uses: IEvangelist/profanity-filter@840020b719c619d953959e59c47185689e831a27 # main + uses: IEvangelist/profanity-filter@39d3039e84ca8c15d36528551149cb9de3046876 # main id: profanity-filter with: token: ${{ secrets.GITHUB_TOKEN }} From 55677aa1e14a585022da8415a7208e309c214ce9 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 18 Nov 2024 16:29:03 +0000 Subject: [PATCH 06/22] Bump the dotnet group (#43612) Bumps the dotnet group in /docs/orleans/deployment/snippets/service-fabric with 2 updates: [Microsoft.Extensions.Hosting](https://github.com/dotnet/runtime) and [Microsoft.Orleans.Server](https://github.com/dotnet/orleans). Updates `Microsoft.Extensions.Hosting` from 9.0.0 to 9.0.0 - [Release notes](https://github.com/dotnet/runtime/releases) - [Commits](https://github.com/dotnet/runtime/compare/v9.0.0...v9.0.0) Updates `Microsoft.Orleans.Server` from 8.2.0 to 9.0.0 - [Release notes](https://github.com/dotnet/orleans/releases) - [Commits](https://github.com/dotnet/orleans/compare/v8.2.0...v9.0.0) --- updated-dependencies: - dependency-name: Microsoft.Extensions.Hosting dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet - dependency-name: Microsoft.Orleans.Server dependency-type: direct:production update-type: version-update:semver-major dependency-group: dotnet ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .../stateless/Orleans.ServiceFabric.Stateless.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/orleans/deployment/snippets/service-fabric/stateless/Orleans.ServiceFabric.Stateless.csproj b/docs/orleans/deployment/snippets/service-fabric/stateless/Orleans.ServiceFabric.Stateless.csproj index 20bc750ce7889..cce7e0827b20d 100644 --- a/docs/orleans/deployment/snippets/service-fabric/stateless/Orleans.ServiceFabric.Stateless.csproj +++ b/docs/orleans/deployment/snippets/service-fabric/stateless/Orleans.ServiceFabric.Stateless.csproj @@ -15,7 +15,7 @@ - + From 216356abad9ac3c5809b45c56ba27aac7027b50f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 18 Nov 2024 16:30:33 +0000 Subject: [PATCH 07/22] Bump the dotnet group (#43616) Bumps the dotnet group in /docs/orleans/tutorials-and-samples/snippets/minimal with 6 updates: | Package | From | To | | --- | --- | --- | | [Microsoft.Extensions.Hosting](https://github.com/dotnet/runtime) | `9.0.0` | `9.0.0` | | [Microsoft.Extensions.Logging.Abstractions](https://github.com/dotnet/runtime) | `9.0.0` | `9.0.0` | | [Microsoft.Orleans.Client](https://github.com/dotnet/orleans) | `8.2.0` | `9.0.0` | | [Microsoft.Orleans.Sdk](https://github.com/dotnet/orleans) | `8.2.0` | `9.0.0` | | [Microsoft.Extensions.Logging.Console](https://github.com/dotnet/runtime) | `9.0.0` | `9.0.0` | | [Microsoft.Orleans.Server](https://github.com/dotnet/orleans) | `8.2.0` | `9.0.0` | Updates `Microsoft.Extensions.Hosting` from 9.0.0 to 9.0.0 - [Release notes](https://github.com/dotnet/runtime/releases) - [Commits](https://github.com/dotnet/runtime/compare/v9.0.0...v9.0.0) Updates `Microsoft.Extensions.Logging.Abstractions` from 9.0.0 to 9.0.0 - [Release notes](https://github.com/dotnet/runtime/releases) - [Commits](https://github.com/dotnet/runtime/compare/v9.0.0...v9.0.0) Updates `Microsoft.Orleans.Client` from 8.2.0 to 9.0.0 - [Release notes](https://github.com/dotnet/orleans/releases) - [Commits](https://github.com/dotnet/orleans/compare/v8.2.0...v9.0.0) Updates `Microsoft.Extensions.Logging.Abstractions` from 9.0.0 to 9.0.0 - [Release notes](https://github.com/dotnet/runtime/releases) - [Commits](https://github.com/dotnet/runtime/compare/v9.0.0...v9.0.0) Updates `Microsoft.Orleans.Sdk` from 8.2.0 to 9.0.0 - [Release notes](https://github.com/dotnet/orleans/releases) - [Commits](https://github.com/dotnet/orleans/compare/v8.2.0...v9.0.0) Updates `Microsoft.Extensions.Hosting` from 9.0.0 to 9.0.0 - [Release notes](https://github.com/dotnet/runtime/releases) - [Commits](https://github.com/dotnet/runtime/compare/v9.0.0...v9.0.0) Updates `Microsoft.Extensions.Logging.Abstractions` from 9.0.0 to 9.0.0 - [Release notes](https://github.com/dotnet/runtime/releases) - [Commits](https://github.com/dotnet/runtime/compare/v9.0.0...v9.0.0) Updates `Microsoft.Extensions.Logging.Console` from 9.0.0 to 9.0.0 - [Release notes](https://github.com/dotnet/runtime/releases) - [Commits](https://github.com/dotnet/runtime/compare/v9.0.0...v9.0.0) Updates `Microsoft.Orleans.Server` from 8.2.0 to 9.0.0 - [Release notes](https://github.com/dotnet/orleans/releases) - [Commits](https://github.com/dotnet/orleans/compare/v8.2.0...v9.0.0) --- updated-dependencies: - dependency-name: Microsoft.Extensions.Hosting dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet - dependency-name: Microsoft.Extensions.Logging.Abstractions dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet - dependency-name: Microsoft.Orleans.Client dependency-type: direct:production update-type: version-update:semver-major dependency-group: dotnet - dependency-name: Microsoft.Extensions.Logging.Abstractions dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet - dependency-name: Microsoft.Orleans.Sdk dependency-type: direct:production update-type: version-update:semver-major dependency-group: dotnet - dependency-name: Microsoft.Extensions.Hosting dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet - dependency-name: Microsoft.Extensions.Logging.Abstractions dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet - dependency-name: Microsoft.Extensions.Logging.Console dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet - dependency-name: Microsoft.Orleans.Server dependency-type: direct:production update-type: version-update:semver-major dependency-group: dotnet ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .../tutorials-and-samples/snippets/minimal/Client/Client.csproj | 2 +- .../snippets/minimal/GrainInterfaces/GrainInterfaces.csproj | 2 +- .../tutorials-and-samples/snippets/minimal/Grains/Grains.csproj | 2 +- .../tutorials-and-samples/snippets/minimal/Silo/Silo.csproj | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/orleans/tutorials-and-samples/snippets/minimal/Client/Client.csproj b/docs/orleans/tutorials-and-samples/snippets/minimal/Client/Client.csproj index a94d6098c5182..5ce2e280ea842 100644 --- a/docs/orleans/tutorials-and-samples/snippets/minimal/Client/Client.csproj +++ b/docs/orleans/tutorials-and-samples/snippets/minimal/Client/Client.csproj @@ -10,7 +10,7 @@ - + diff --git a/docs/orleans/tutorials-and-samples/snippets/minimal/GrainInterfaces/GrainInterfaces.csproj b/docs/orleans/tutorials-and-samples/snippets/minimal/GrainInterfaces/GrainInterfaces.csproj index 1582a48359b64..e62b77079f658 100644 --- a/docs/orleans/tutorials-and-samples/snippets/minimal/GrainInterfaces/GrainInterfaces.csproj +++ b/docs/orleans/tutorials-and-samples/snippets/minimal/GrainInterfaces/GrainInterfaces.csproj @@ -8,7 +8,7 @@ - + diff --git a/docs/orleans/tutorials-and-samples/snippets/minimal/Grains/Grains.csproj b/docs/orleans/tutorials-and-samples/snippets/minimal/Grains/Grains.csproj index 99acec44f43f3..b66ae0a44375b 100644 --- a/docs/orleans/tutorials-and-samples/snippets/minimal/Grains/Grains.csproj +++ b/docs/orleans/tutorials-and-samples/snippets/minimal/Grains/Grains.csproj @@ -7,7 +7,7 @@ - + diff --git a/docs/orleans/tutorials-and-samples/snippets/minimal/Silo/Silo.csproj b/docs/orleans/tutorials-and-samples/snippets/minimal/Silo/Silo.csproj index dde3f741cd8fc..72a6587d9bef2 100644 --- a/docs/orleans/tutorials-and-samples/snippets/minimal/Silo/Silo.csproj +++ b/docs/orleans/tutorials-and-samples/snippets/minimal/Silo/Silo.csproj @@ -11,7 +11,7 @@ - + From 47e612f07b12b73f3373ce24e44623d007904373 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 18 Nov 2024 16:32:01 +0000 Subject: [PATCH 08/22] Bump NUnit.Analyzers (#43613) Bumps the dotnet group in /docs/core/testing/snippets/order-unit-tests/csharp with 1 update: [NUnit.Analyzers](https://github.com/nunit/nunit.analyzers). Updates `NUnit.Analyzers` from 4.3.0 to 4.4.0 - [Release notes](https://github.com/nunit/nunit.analyzers/releases) - [Changelog](https://github.com/nunit/nunit.analyzers/blob/master/CHANGES.md) - [Commits](https://github.com/nunit/nunit.analyzers/compare/4.3.0...4.4.0) --- updated-dependencies: - dependency-name: NUnit.Analyzers dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dotnet ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .../csharp/NUnit.TestProject/NUnit.Project.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/core/testing/snippets/order-unit-tests/csharp/NUnit.TestProject/NUnit.Project.csproj b/docs/core/testing/snippets/order-unit-tests/csharp/NUnit.TestProject/NUnit.Project.csproj index e9181c3736c51..d9fcdfbdf2078 100644 --- a/docs/core/testing/snippets/order-unit-tests/csharp/NUnit.TestProject/NUnit.Project.csproj +++ b/docs/core/testing/snippets/order-unit-tests/csharp/NUnit.TestProject/NUnit.Project.csproj @@ -11,7 +11,7 @@ - + all runtime; build; native; contentfiles; analyzers From 36e9a13b57eaff470f6e85d19ba8e26b49572c1b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 18 Nov 2024 16:32:13 +0000 Subject: [PATCH 09/22] Bump NUnit.Analyzers (#43614) Bumps the dotnet group in /samples/snippets/core/testing/unit-testing-using-nunit/csharp with 1 update: [NUnit.Analyzers](https://github.com/nunit/nunit.analyzers). Updates `NUnit.Analyzers` from 4.3.0 to 4.4.0 - [Release notes](https://github.com/nunit/nunit.analyzers/releases) - [Changelog](https://github.com/nunit/nunit.analyzers/blob/master/CHANGES.md) - [Commits](https://github.com/nunit/nunit.analyzers/compare/4.3.0...4.4.0) --- updated-dependencies: - dependency-name: NUnit.Analyzers dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dotnet ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .../csharp/PrimeService.Tests/PrimeService.Tests.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/snippets/core/testing/unit-testing-using-nunit/csharp/PrimeService.Tests/PrimeService.Tests.csproj b/samples/snippets/core/testing/unit-testing-using-nunit/csharp/PrimeService.Tests/PrimeService.Tests.csproj index da2163beb84ad..580e0cc505faa 100644 --- a/samples/snippets/core/testing/unit-testing-using-nunit/csharp/PrimeService.Tests/PrimeService.Tests.csproj +++ b/samples/snippets/core/testing/unit-testing-using-nunit/csharp/PrimeService.Tests/PrimeService.Tests.csproj @@ -12,7 +12,7 @@ - + all runtime; build; native; contentfiles; analyzers From 19bc0eaa9b036ac3a7dc6615b20df8c16d377230 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 18 Nov 2024 16:32:22 +0000 Subject: [PATCH 10/22] Bump Microsoft.ML.Tokenizers (#43621) Bumps the dotnet group in /docs/core/whats-new/snippets/dotnet-9/csharp with 1 update: [Microsoft.ML.Tokenizers](https://github.com/dotnet/machinelearning). Updates `Microsoft.ML.Tokenizers` from 0.22.0 to 1.0.0 - [Release notes](https://github.com/dotnet/machinelearning/releases) - [Commits](https://github.com/dotnet/machinelearning/commits/v1.0.0) --- updated-dependencies: - dependency-name: Microsoft.ML.Tokenizers dependency-type: direct:production update-type: version-update:semver-major dependency-group: dotnet ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- docs/core/whats-new/snippets/dotnet-9/csharp/Project.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/core/whats-new/snippets/dotnet-9/csharp/Project.csproj b/docs/core/whats-new/snippets/dotnet-9/csharp/Project.csproj index 9dd39fd277f99..708e4f77c26ce 100644 --- a/docs/core/whats-new/snippets/dotnet-9/csharp/Project.csproj +++ b/docs/core/whats-new/snippets/dotnet-9/csharp/Project.csproj @@ -9,7 +9,7 @@ - + From 263ffb5ae412b11e2207c5367233a523df0a7ebb Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 18 Nov 2024 16:32:30 +0000 Subject: [PATCH 11/22] Bump Microsoft.SemanticKernel (#43619) Bumps the dotnet group in /docs/ai/tutorials/snippets/llm-eval with 1 update: [Microsoft.SemanticKernel](https://github.com/microsoft/semantic-kernel). Updates `Microsoft.SemanticKernel` from 1.28.0 to 1.29.0 - [Release notes](https://github.com/microsoft/semantic-kernel/releases) - [Commits](https://github.com/microsoft/semantic-kernel/compare/dotnet-1.28.0...dotnet-1.29.0) --- updated-dependencies: - dependency-name: Microsoft.SemanticKernel dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dotnet ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- docs/ai/tutorials/snippets/llm-eval/llm-eval.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/ai/tutorials/snippets/llm-eval/llm-eval.csproj b/docs/ai/tutorials/snippets/llm-eval/llm-eval.csproj index 349d8dee5e5d9..c07259e028933 100644 --- a/docs/ai/tutorials/snippets/llm-eval/llm-eval.csproj +++ b/docs/ai/tutorials/snippets/llm-eval/llm-eval.csproj @@ -12,7 +12,7 @@ - + From 07a17929df3a9bc21464d9c26d981d24c82d92cf Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 18 Nov 2024 16:32:42 +0000 Subject: [PATCH 12/22] Bump the dotnet group (#43617) Bumps the dotnet group in /docs/orleans/grains/snippets/transactions with 7 updates: | Package | From | To | | --- | --- | --- | | [Microsoft.Orleans.Core.Abstractions](https://github.com/dotnet/orleans) | `8.2.0` | `9.0.0` | | [Microsoft.Orleans.Sdk](https://github.com/dotnet/orleans) | `8.2.0` | `9.0.0` | | [Microsoft.Extensions.Hosting](https://github.com/dotnet/runtime) | `9.0.0` | `9.0.0` | | [Microsoft.Extensions.Logging.Console](https://github.com/dotnet/runtime) | `9.0.0` | `9.0.0` | | [Microsoft.Orleans.Transactions](https://github.com/dotnet/orleans) | `8.2.0` | `9.0.0` | | [Microsoft.Orleans.Server](https://github.com/dotnet/orleans) | `8.2.0` | `9.0.0` | | [Microsoft.Orleans.Transactions.AzureStorage](https://github.com/dotnet/orleans) | `8.2.0` | `9.0.0` | Updates `Microsoft.Orleans.Core.Abstractions` from 8.2.0 to 9.0.0 - [Release notes](https://github.com/dotnet/orleans/releases) - [Commits](https://github.com/dotnet/orleans/compare/v8.2.0...v9.0.0) Updates `Microsoft.Orleans.Core.Abstractions` from 8.2.0 to 9.0.0 - [Release notes](https://github.com/dotnet/orleans/releases) - [Commits](https://github.com/dotnet/orleans/compare/v8.2.0...v9.0.0) Updates `Microsoft.Orleans.Sdk` from 8.2.0 to 9.0.0 - [Release notes](https://github.com/dotnet/orleans/releases) - [Commits](https://github.com/dotnet/orleans/compare/v8.2.0...v9.0.0) Updates `Microsoft.Extensions.Hosting` from 9.0.0 to 9.0.0 - [Release notes](https://github.com/dotnet/runtime/releases) - [Commits](https://github.com/dotnet/runtime/compare/v9.0.0...v9.0.0) Updates `Microsoft.Extensions.Logging.Console` from 9.0.0 to 9.0.0 - [Release notes](https://github.com/dotnet/runtime/releases) - [Commits](https://github.com/dotnet/runtime/compare/v9.0.0...v9.0.0) Updates `Microsoft.Orleans.Core.Abstractions` from 8.2.0 to 9.0.0 - [Release notes](https://github.com/dotnet/orleans/releases) - [Commits](https://github.com/dotnet/orleans/compare/v8.2.0...v9.0.0) Updates `Microsoft.Orleans.Transactions` from 8.2.0 to 9.0.0 - [Release notes](https://github.com/dotnet/orleans/releases) - [Commits](https://github.com/dotnet/orleans/compare/v8.2.0...v9.0.0) Updates `Microsoft.Extensions.Hosting` from 9.0.0 to 9.0.0 - [Release notes](https://github.com/dotnet/runtime/releases) - [Commits](https://github.com/dotnet/runtime/compare/v9.0.0...v9.0.0) Updates `Microsoft.Extensions.Logging.Console` from 9.0.0 to 9.0.0 - [Release notes](https://github.com/dotnet/runtime/releases) - [Commits](https://github.com/dotnet/runtime/compare/v9.0.0...v9.0.0) Updates `Microsoft.Orleans.Server` from 8.2.0 to 9.0.0 - [Release notes](https://github.com/dotnet/orleans/releases) - [Commits](https://github.com/dotnet/orleans/compare/v8.2.0...v9.0.0) Updates `Microsoft.Extensions.Hosting` from 9.0.0 to 9.0.0 - [Release notes](https://github.com/dotnet/runtime/releases) - [Commits](https://github.com/dotnet/runtime/compare/v9.0.0...v9.0.0) Updates `Microsoft.Extensions.Logging.Console` from 9.0.0 to 9.0.0 - [Release notes](https://github.com/dotnet/runtime/releases) - [Commits](https://github.com/dotnet/runtime/compare/v9.0.0...v9.0.0) Updates `Microsoft.Orleans.Transactions.AzureStorage` from 8.2.0 to 9.0.0 - [Release notes](https://github.com/dotnet/orleans/releases) - [Commits](https://github.com/dotnet/orleans/compare/v8.2.0...v9.0.0) --- updated-dependencies: - dependency-name: Microsoft.Orleans.Core.Abstractions dependency-type: direct:production update-type: version-update:semver-major dependency-group: dotnet - dependency-name: Microsoft.Orleans.Core.Abstractions dependency-type: direct:production update-type: version-update:semver-major dependency-group: dotnet - dependency-name: Microsoft.Orleans.Sdk dependency-type: direct:production update-type: version-update:semver-major dependency-group: dotnet - dependency-name: Microsoft.Extensions.Hosting dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet - dependency-name: Microsoft.Extensions.Logging.Console dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet - dependency-name: Microsoft.Orleans.Core.Abstractions dependency-type: direct:production update-type: version-update:semver-major dependency-group: dotnet - dependency-name: Microsoft.Orleans.Transactions dependency-type: direct:production update-type: version-update:semver-major dependency-group: dotnet - dependency-name: Microsoft.Extensions.Hosting dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet - dependency-name: Microsoft.Extensions.Logging.Console dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet - dependency-name: Microsoft.Orleans.Server dependency-type: direct:production update-type: version-update:semver-major dependency-group: dotnet - dependency-name: Microsoft.Extensions.Hosting dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet - dependency-name: Microsoft.Extensions.Logging.Console dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet - dependency-name: Microsoft.Orleans.Transactions.AzureStorage dependency-type: direct:production update-type: version-update:semver-major dependency-group: dotnet ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .../snippets/transactions/Abstractions/Abstractions.csproj | 6 +++--- .../grains/snippets/transactions/Server/Server.csproj | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/orleans/grains/snippets/transactions/Abstractions/Abstractions.csproj b/docs/orleans/grains/snippets/transactions/Abstractions/Abstractions.csproj index af4d815b9bb9d..bab88ad7b0d53 100644 --- a/docs/orleans/grains/snippets/transactions/Abstractions/Abstractions.csproj +++ b/docs/orleans/grains/snippets/transactions/Abstractions/Abstractions.csproj @@ -7,9 +7,9 @@ - - - + + + diff --git a/docs/orleans/grains/snippets/transactions/Server/Server.csproj b/docs/orleans/grains/snippets/transactions/Server/Server.csproj index 18f6594ff8e5a..592e1196a6b82 100644 --- a/docs/orleans/grains/snippets/transactions/Server/Server.csproj +++ b/docs/orleans/grains/snippets/transactions/Server/Server.csproj @@ -10,8 +10,8 @@ - - + + From cf648eb8418610468ea4099287a581e26b3642aa Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 18 Nov 2024 16:33:26 +0000 Subject: [PATCH 13/22] Bump NUnit.Analyzers (#43620) Bumps the dotnet group in /docs/core/testing/snippets/order-unit-tests/csharp/NUnit.TestProject with 1 update: [NUnit.Analyzers](https://github.com/nunit/nunit.analyzers). Updates `NUnit.Analyzers` from 4.3.0 to 4.4.0 - [Release notes](https://github.com/nunit/nunit.analyzers/releases) - [Changelog](https://github.com/nunit/nunit.analyzers/blob/master/CHANGES.md) - [Commits](https://github.com/nunit/nunit.analyzers/compare/4.3.0...4.4.0) --- updated-dependencies: - dependency-name: NUnit.Analyzers dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dotnet ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> From dd28f6da6afe8a75b6258de60771fffda7408433 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 18 Nov 2024 16:33:46 +0000 Subject: [PATCH 14/22] Bump Microsoft.SemanticKernel (#43622) Bumps the dotnet group in /docs/ai/how-to/snippets/semantic-kernel with 1 update: [Microsoft.SemanticKernel](https://github.com/microsoft/semantic-kernel). Updates `Microsoft.SemanticKernel` from 1.28.0 to 1.29.0 - [Release notes](https://github.com/microsoft/semantic-kernel/releases) - [Commits](https://github.com/microsoft/semantic-kernel/compare/dotnet-1.28.0...dotnet-1.29.0) --- updated-dependencies: - dependency-name: Microsoft.SemanticKernel dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dotnet ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- docs/ai/how-to/snippets/semantic-kernel/semantic-kernel.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/ai/how-to/snippets/semantic-kernel/semantic-kernel.csproj b/docs/ai/how-to/snippets/semantic-kernel/semantic-kernel.csproj index 48e5dd639bf86..3f0d379482d3e 100644 --- a/docs/ai/how-to/snippets/semantic-kernel/semantic-kernel.csproj +++ b/docs/ai/how-to/snippets/semantic-kernel/semantic-kernel.csproj @@ -15,7 +15,7 @@ - + From 3f42e525d433bc3881f6398b844ba726c786f59c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 18 Nov 2024 16:33:51 +0000 Subject: [PATCH 15/22] Bump Microsoft.SemanticKernel (#43623) Bumps the dotnet group in /docs/ai/quickstarts/snippets/local-ai with 1 update: [Microsoft.SemanticKernel](https://github.com/microsoft/semantic-kernel). Updates `Microsoft.SemanticKernel` from 1.28.0 to 1.29.0 - [Release notes](https://github.com/microsoft/semantic-kernel/releases) - [Commits](https://github.com/microsoft/semantic-kernel/compare/dotnet-1.28.0...dotnet-1.29.0) --- updated-dependencies: - dependency-name: Microsoft.SemanticKernel dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dotnet ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- docs/ai/quickstarts/snippets/local-ai/ollama.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/ai/quickstarts/snippets/local-ai/ollama.csproj b/docs/ai/quickstarts/snippets/local-ai/ollama.csproj index 2c8b307f639c0..ca9935e422662 100644 --- a/docs/ai/quickstarts/snippets/local-ai/ollama.csproj +++ b/docs/ai/quickstarts/snippets/local-ai/ollama.csproj @@ -8,7 +8,7 @@ - + From aff39bbd11600798c882ce812dca1aa05ced6c0c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 18 Nov 2024 16:33:57 +0000 Subject: [PATCH 16/22] Bump the dotnet group (#43624) Bumps the dotnet group in /docs/csharp/linq/snippets/HowToBuildDynamicQueries with 2 updates: [LinqKit.Core](https://github.com/scottksmith95/LINQKit) and [System.Linq.Dynamic.Core](https://github.com/zzzprojects/System.Linq.Dynamic.Core). Updates `LinqKit.Core` from 1.2.5 to 1.2.6 - [Release notes](https://github.com/scottksmith95/LINQKit/releases) - [Changelog](https://github.com/scottksmith95/LINQKit/blob/master/ReleaseNotes.md) - [Commits](https://github.com/scottksmith95/LINQKit/commits) Updates `System.Linq.Dynamic.Core` from 1.4.8 to 1.4.9 - [Release notes](https://github.com/zzzprojects/System.Linq.Dynamic.Core/releases) - [Changelog](https://github.com/zzzprojects/System.Linq.Dynamic.Core/blob/master/CHANGELOG.md) - [Commits](https://github.com/zzzprojects/System.Linq.Dynamic.Core/commits) --- updated-dependencies: - dependency-name: LinqKit.Core dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet - dependency-name: System.Linq.Dynamic.Core dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .../HowToBuildDynamicQueries/HowToBuildDynamicQueries.csproj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/csharp/linq/snippets/HowToBuildDynamicQueries/HowToBuildDynamicQueries.csproj b/docs/csharp/linq/snippets/HowToBuildDynamicQueries/HowToBuildDynamicQueries.csproj index 3a0c538e7d1b5..01a0b83ccefe0 100644 --- a/docs/csharp/linq/snippets/HowToBuildDynamicQueries/HowToBuildDynamicQueries.csproj +++ b/docs/csharp/linq/snippets/HowToBuildDynamicQueries/HowToBuildDynamicQueries.csproj @@ -9,8 +9,8 @@ - - + + From 7b1cf5cbe1c8c34fc8870d09f29ca35d3ada0886 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 18 Nov 2024 16:35:09 +0000 Subject: [PATCH 17/22] Bump the dotnet group (#43618) Bumps the dotnet group in /docs/orleans/streaming/snippets/broadcastchannel with 6 updates: | Package | From | To | | --- | --- | --- | | [Microsoft.Extensions.Hosting](https://github.com/dotnet/runtime) | `9.0.0` | `9.0.0` | | [Microsoft.Orleans.BroadcastChannel](https://github.com/dotnet/orleans) | `8.2.0` | `9.0.0` | | [Microsoft.Orleans.Client](https://github.com/dotnet/orleans) | `8.2.0` | `9.0.0` | | [Microsoft.Orleans.Sdk](https://github.com/dotnet/orleans) | `8.2.0` | `9.0.0` | | [Microsoft.Orleans.Serialization.SystemTextJson](https://github.com/dotnet/orleans) | `8.2.0` | `9.0.0` | | [Microsoft.Orleans.Server](https://github.com/dotnet/orleans) | `8.2.0` | `9.0.0` | Updates `Microsoft.Extensions.Hosting` from 9.0.0 to 9.0.0 - [Release notes](https://github.com/dotnet/runtime/releases) - [Commits](https://github.com/dotnet/runtime/compare/v9.0.0...v9.0.0) Updates `Microsoft.Orleans.BroadcastChannel` from 8.2.0 to 9.0.0 - [Release notes](https://github.com/dotnet/orleans/releases) - [Commits](https://github.com/dotnet/orleans/compare/v8.2.0...v9.0.0) Updates `Microsoft.Extensions.Hosting` from 9.0.0 to 9.0.0 - [Release notes](https://github.com/dotnet/runtime/releases) - [Commits](https://github.com/dotnet/runtime/compare/v9.0.0...v9.0.0) Updates `Microsoft.Orleans.Client` from 8.2.0 to 9.0.0 - [Release notes](https://github.com/dotnet/orleans/releases) - [Commits](https://github.com/dotnet/orleans/compare/v8.2.0...v9.0.0) Updates `Microsoft.Orleans.Sdk` from 8.2.0 to 9.0.0 - [Release notes](https://github.com/dotnet/orleans/releases) - [Commits](https://github.com/dotnet/orleans/compare/v8.2.0...v9.0.0) Updates `Microsoft.Orleans.Serialization.SystemTextJson` from 8.2.0 to 9.0.0 - [Release notes](https://github.com/dotnet/orleans/releases) - [Commits](https://github.com/dotnet/orleans/compare/v8.2.0...v9.0.0) Updates `Microsoft.Extensions.Hosting` from 9.0.0 to 9.0.0 - [Release notes](https://github.com/dotnet/runtime/releases) - [Commits](https://github.com/dotnet/runtime/compare/v9.0.0...v9.0.0) Updates `Microsoft.Orleans.Server` from 8.2.0 to 9.0.0 - [Release notes](https://github.com/dotnet/orleans/releases) - [Commits](https://github.com/dotnet/orleans/compare/v8.2.0...v9.0.0) --- updated-dependencies: - dependency-name: Microsoft.Extensions.Hosting dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet - dependency-name: Microsoft.Orleans.BroadcastChannel dependency-type: direct:production update-type: version-update:semver-major dependency-group: dotnet - dependency-name: Microsoft.Extensions.Hosting dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet - dependency-name: Microsoft.Orleans.Client dependency-type: direct:production update-type: version-update:semver-major dependency-group: dotnet - dependency-name: Microsoft.Orleans.Sdk dependency-type: direct:production update-type: version-update:semver-major dependency-group: dotnet - dependency-name: Microsoft.Orleans.Serialization.SystemTextJson dependency-type: direct:production update-type: version-update:semver-major dependency-group: dotnet - dependency-name: Microsoft.Extensions.Hosting dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet - dependency-name: Microsoft.Orleans.Server dependency-type: direct:production update-type: version-update:semver-major dependency-group: dotnet ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .../BroadcastChannel.Client/BroadcastChannel.Client.csproj | 4 ++-- .../BroadcastChannel.GrainInterfaces.csproj | 2 +- .../BroadcastChannel.Silo/BroadcastChannel.Silo.csproj | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/orleans/streaming/snippets/broadcastchannel/BroadcastChannel.Client/BroadcastChannel.Client.csproj b/docs/orleans/streaming/snippets/broadcastchannel/BroadcastChannel.Client/BroadcastChannel.Client.csproj index 3c0b04109bac0..6215bad930da8 100644 --- a/docs/orleans/streaming/snippets/broadcastchannel/BroadcastChannel.Client/BroadcastChannel.Client.csproj +++ b/docs/orleans/streaming/snippets/broadcastchannel/BroadcastChannel.Client/BroadcastChannel.Client.csproj @@ -9,8 +9,8 @@ - - + + diff --git a/docs/orleans/streaming/snippets/broadcastchannel/BroadcastChannel.GrainInterfaces/BroadcastChannel.GrainInterfaces.csproj b/docs/orleans/streaming/snippets/broadcastchannel/BroadcastChannel.GrainInterfaces/BroadcastChannel.GrainInterfaces.csproj index 7531dc6181221..d94cd034f9a3a 100644 --- a/docs/orleans/streaming/snippets/broadcastchannel/BroadcastChannel.GrainInterfaces/BroadcastChannel.GrainInterfaces.csproj +++ b/docs/orleans/streaming/snippets/broadcastchannel/BroadcastChannel.GrainInterfaces/BroadcastChannel.GrainInterfaces.csproj @@ -7,7 +7,7 @@ - + \ No newline at end of file diff --git a/docs/orleans/streaming/snippets/broadcastchannel/BroadcastChannel.Silo/BroadcastChannel.Silo.csproj b/docs/orleans/streaming/snippets/broadcastchannel/BroadcastChannel.Silo/BroadcastChannel.Silo.csproj index 39c07db327834..c893607162c54 100644 --- a/docs/orleans/streaming/snippets/broadcastchannel/BroadcastChannel.Silo/BroadcastChannel.Silo.csproj +++ b/docs/orleans/streaming/snippets/broadcastchannel/BroadcastChannel.Silo/BroadcastChannel.Silo.csproj @@ -10,9 +10,9 @@ - - - + + + From 3c77dd385cdc91e2482fbd80d470b5b4844cc119 Mon Sep 17 00:00:00 2001 From: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com> Date: Mon, 18 Nov 2024 08:37:38 -0800 Subject: [PATCH 18/22] Update package index with latest published versions (#43615) --- docs/azure/includes/dotnet-all.md | 5 +++-- docs/azure/includes/dotnet-new.md | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/azure/includes/dotnet-all.md b/docs/azure/includes/dotnet-all.md index b1bd4ada16e6d..3a217ac361931 100644 --- a/docs/azure/includes/dotnet-all.md +++ b/docs/azure/includes/dotnet-all.md @@ -281,6 +281,7 @@ | Resource Management - Mongocluster | NuGet [1.0.0-beta.1](https://www.nuget.org/packages/Azure.ResourceManager.MongoCluster/1.0.0-beta.1) | [docs](/dotnet/api/overview/azure/ResourceManager.MongoCluster-readme?view=azure-dotnet-preview&preserve-view=true) | GitHub [1.0.0-beta.1](https://github.com/Azure/azure-sdk-for-net/tree/Azure.ResourceManager.MongoCluster_1.0.0-beta.1/sdk/mongocluster/Azure.ResourceManager.MongoCluster/) | | Resource Management - Monitor | NuGet [1.3.1](https://www.nuget.org/packages/Azure.ResourceManager.Monitor/1.3.1)
NuGet [1.4.0-beta.1](https://www.nuget.org/packages/Azure.ResourceManager.Monitor/1.4.0-beta.1) | [docs](/dotnet/api/overview/azure/ResourceManager.Monitor-readme) | GitHub [1.3.1](https://github.com/Azure/azure-sdk-for-net/tree/Azure.ResourceManager.Monitor_1.3.1/sdk/monitor/Azure.ResourceManager.Monitor/)
GitHub [1.4.0-beta.1](https://github.com/Azure/azure-sdk-for-net/tree/Azure.ResourceManager.Monitor_1.4.0-beta.1/sdk/monitor/Azure.ResourceManager.Monitor/) | | Resource Management - MySQL | NuGet [1.1.0](https://www.nuget.org/packages/Azure.ResourceManager.MySql/1.1.0) | [docs](/dotnet/api/overview/azure/ResourceManager.MySql-readme) | GitHub [1.1.0](https://github.com/Azure/azure-sdk-for-net/tree/Azure.ResourceManager.MySql_1.1.0/sdk/mysql/Azure.ResourceManager.MySql/) | +| Resource Management - Neonpostgres | NuGet [1.0.0-beta.1](https://www.nuget.org/packages/Azure.ResourceManager.NeonPostgres/1.0.0-beta.1) | [docs](/dotnet/api/overview/azure/ResourceManager.NeonPostgres-readme?view=azure-dotnet-preview&preserve-view=true) | GitHub [1.0.0-beta.1](https://github.com/Azure/azure-sdk-for-net/tree/Azure.ResourceManager.NeonPostgres_1.0.0-beta.1/sdk/neonpostgres/Azure.ResourceManager.NeonPostgres/) | | Resource Management - NetApp Files | NuGet [1.8.0](https://www.nuget.org/packages/Azure.ResourceManager.NetApp/1.8.0) | [docs](/dotnet/api/overview/azure/ResourceManager.NetApp-readme) | GitHub [1.8.0](https://github.com/Azure/azure-sdk-for-net/tree/Azure.ResourceManager.NetApp_1.8.0/sdk/netapp/Azure.ResourceManager.NetApp/) | | Resource Management - Network | NuGet [1.9.0](https://www.nuget.org/packages/Azure.ResourceManager.Network/1.9.0) | [docs](/dotnet/api/overview/azure/ResourceManager.Network-readme) | GitHub [1.9.0](https://github.com/Azure/azure-sdk-for-net/tree/Azure.ResourceManager.Network_1.9.0/sdk/network/Azure.ResourceManager.Network/) | | Resource Management - Network Analytics | NuGet [1.0.0](https://www.nuget.org/packages/Azure.ResourceManager.NetworkAnalytics/1.0.0) | [docs](/dotnet/api/overview/azure/ResourceManager.NetworkAnalytics-readme) | GitHub [1.0.0](https://github.com/Azure/azure-sdk-for-net/tree/Azure.ResourceManager.NetworkAnalytics_1.0.0/sdk/networkanalytics/Azure.ResourceManager.NetworkAnalytics/) | @@ -364,8 +365,8 @@ | System Net Client Model | NuGet [1.0.0-beta.1](https://www.nuget.org/packages/System.Net.ClientModel/1.0.0-beta.1) | | | | Unknown Display Name | NuGet [1.0.1-beta.3](https://www.nuget.org/packages/Azure.AI.ContentSafety.Extension.Embedded.Image/1.0.1-beta.3) | | | | Unknown Display Name | NuGet [1.0.0](https://www.nuget.org/packages/Azure.AI.ContentSafety.Extension.Embedded.Text/1.0.0)
NuGet [1.0.1-beta.3](https://www.nuget.org/packages/Azure.AI.ContentSafety.Extension.Embedded.Text/1.0.1-beta.3) | | | -| Unknown Display Name | NuGet [1.0.0-beta.2](https://www.nuget.org/packages/Azure.Developer.MicrosoftPlaywrightTesting.NUnit/1.0.0-beta.2) | | | -| Unknown Display Name | NuGet [1.0.0-beta.2](https://www.nuget.org/packages/Azure.Developer.MicrosoftPlaywrightTesting.TestLogger/1.0.0-beta.2) | | | +| Unknown Display Name | NuGet [1.0.0-beta.3](https://www.nuget.org/packages/Azure.Developer.MicrosoftPlaywrightTesting.NUnit/1.0.0-beta.3) | | | +| Unknown Display Name | NuGet [1.0.0-beta.3](https://www.nuget.org/packages/Azure.Developer.MicrosoftPlaywrightTesting.TestLogger/1.0.0-beta.3) | | | | Unknown Display Name | NuGet [1.0.4-preview](https://www.nuget.org/packages/Microsoft.Azure.Functions.Worker.Extensions.MySql/1.0.4-preview) | | | | Unknown Display Name | NuGet [1.0.4-preview](https://www.nuget.org/packages/Microsoft.Azure.WebJobs.Extensions.MySql/1.0.4-preview) | | | | Unknown Display Name | NuGet [1.41.1](https://www.nuget.org/packages/Microsoft.CognitiveServices.Speech.CLI/1.41.1) | | | diff --git a/docs/azure/includes/dotnet-new.md b/docs/azure/includes/dotnet-new.md index 922eb0d44a410..4fdba4a774e21 100644 --- a/docs/azure/includes/dotnet-new.md +++ b/docs/azure/includes/dotnet-new.md @@ -288,6 +288,7 @@ | Resource Management - Mongocluster | NuGet [1.0.0-beta.1](https://www.nuget.org/packages/Azure.ResourceManager.MongoCluster/1.0.0-beta.1) | [docs](/dotnet/api/overview/azure/ResourceManager.MongoCluster-readme?view=azure-dotnet-preview&preserve-view=true) | GitHub [1.0.0-beta.1](https://github.com/Azure/azure-sdk-for-net/tree/Azure.ResourceManager.MongoCluster_1.0.0-beta.1/sdk/mongocluster/Azure.ResourceManager.MongoCluster/) | | Resource Management - Monitor | NuGet [1.3.1](https://www.nuget.org/packages/Azure.ResourceManager.Monitor/1.3.1)
NuGet [1.4.0-beta.1](https://www.nuget.org/packages/Azure.ResourceManager.Monitor/1.4.0-beta.1) | [docs](/dotnet/api/overview/azure/ResourceManager.Monitor-readme) | GitHub [1.3.1](https://github.com/Azure/azure-sdk-for-net/tree/Azure.ResourceManager.Monitor_1.3.1/sdk/monitor/Azure.ResourceManager.Monitor/)
GitHub [1.4.0-beta.1](https://github.com/Azure/azure-sdk-for-net/tree/Azure.ResourceManager.Monitor_1.4.0-beta.1/sdk/monitor/Azure.ResourceManager.Monitor/) | | Resource Management - MySQL | NuGet [1.1.0](https://www.nuget.org/packages/Azure.ResourceManager.MySql/1.1.0) | [docs](/dotnet/api/overview/azure/ResourceManager.MySql-readme) | GitHub [1.1.0](https://github.com/Azure/azure-sdk-for-net/tree/Azure.ResourceManager.MySql_1.1.0/sdk/mysql/Azure.ResourceManager.MySql/) | +| Resource Management - Neonpostgres | NuGet [1.0.0-beta.1](https://www.nuget.org/packages/Azure.ResourceManager.NeonPostgres/1.0.0-beta.1) | [docs](/dotnet/api/overview/azure/ResourceManager.NeonPostgres-readme?view=azure-dotnet-preview&preserve-view=true) | GitHub [1.0.0-beta.1](https://github.com/Azure/azure-sdk-for-net/tree/Azure.ResourceManager.NeonPostgres_1.0.0-beta.1/sdk/neonpostgres/Azure.ResourceManager.NeonPostgres/) | | Resource Management - NetApp Files | NuGet [1.8.0](https://www.nuget.org/packages/Azure.ResourceManager.NetApp/1.8.0) | [docs](/dotnet/api/overview/azure/ResourceManager.NetApp-readme) | GitHub [1.8.0](https://github.com/Azure/azure-sdk-for-net/tree/Azure.ResourceManager.NetApp_1.8.0/sdk/netapp/Azure.ResourceManager.NetApp/) | | Resource Management - Network | NuGet [1.9.0](https://www.nuget.org/packages/Azure.ResourceManager.Network/1.9.0) | [docs](/dotnet/api/overview/azure/ResourceManager.Network-readme) | GitHub [1.9.0](https://github.com/Azure/azure-sdk-for-net/tree/Azure.ResourceManager.Network_1.9.0/sdk/network/Azure.ResourceManager.Network/) | | Resource Management - Network Analytics | NuGet [1.0.0](https://www.nuget.org/packages/Azure.ResourceManager.NetworkAnalytics/1.0.0) | [docs](/dotnet/api/overview/azure/ResourceManager.NetworkAnalytics-readme) | GitHub [1.0.0](https://github.com/Azure/azure-sdk-for-net/tree/Azure.ResourceManager.NetworkAnalytics_1.0.0/sdk/networkanalytics/Azure.ResourceManager.NetworkAnalytics/) | From 8b8576547a0f76ddfe48517454ca57d55bc2182d Mon Sep 17 00:00:00 2001 From: Bill Wagner Date: Mon, 18 Nov 2024 11:52:40 -0500 Subject: [PATCH 19/22] Fix markdown lint warnings (#43625) These are new warnings that will be introduced in #43611 Pre-emptively fix them. --- ...-args-cause-argumentoutofrangeexception.md | 1 + .../null-args-cause-argumentnullexception.md | 1 + ...-owner-causes-invalidoperationexception.md | 1 + docs/framework/whats-new/obsolete-members.md | 30 +++++++++++++++++++ .../code-analysis/quality-rules/index.md | 1 + .../code-analysis/style-rules/index.md | 1 + .../base-types/regular-expressions.md | 2 ++ 7 files changed, 37 insertions(+) diff --git a/docs/core/compatibility/windows-forms/5.0/invalid-args-cause-argumentoutofrangeexception.md b/docs/core/compatibility/windows-forms/5.0/invalid-args-cause-argumentoutofrangeexception.md index 27b4b0c12300c..8fa1c9ffec3c8 100644 --- a/docs/core/compatibility/windows-forms/5.0/invalid-args-cause-argumentoutofrangeexception.md +++ b/docs/core/compatibility/windows-forms/5.0/invalid-args-cause-argumentoutofrangeexception.md @@ -27,6 +27,7 @@ Throwing an conforms to the behavior o The following table lists the affected properties and parameters: > [!div class="mx-tdBreakAll"] +> > | Property | Parameter name | Version added | > |-|-|-| > | | `index` | 5.0 Preview 5 | diff --git a/docs/core/compatibility/windows-forms/5.0/null-args-cause-argumentnullexception.md b/docs/core/compatibility/windows-forms/5.0/null-args-cause-argumentnullexception.md index 74523e2bce03b..82baaa0e26d75 100644 --- a/docs/core/compatibility/windows-forms/5.0/null-args-cause-argumentnullexception.md +++ b/docs/core/compatibility/windows-forms/5.0/null-args-cause-argumentnullexception.md @@ -26,6 +26,7 @@ If you call any of these methods and your code currently catches a [!div class="mx-tdBreakAll"] +> > | Method | Parameter name | Version added | > |-|-|-| > | | `owner` | Preview 1 | diff --git a/docs/core/compatibility/windows-forms/5.0/null-owner-causes-invalidoperationexception.md b/docs/core/compatibility/windows-forms/5.0/null-owner-causes-invalidoperationexception.md index 5df9aea970ce0..367db85c56774 100644 --- a/docs/core/compatibility/windows-forms/5.0/null-owner-causes-invalidoperationexception.md +++ b/docs/core/compatibility/windows-forms/5.0/null-owner-causes-invalidoperationexception.md @@ -28,6 +28,7 @@ Review your code and, if necessary, update it to prevent constructing the affect The following table lists the affected APIs: > [!div class="mx-tdBreakAll"] +> > | Affected method or property | Validated property | Version added | > |-|-|-| > | | | 5.0 | diff --git a/docs/framework/whats-new/obsolete-members.md b/docs/framework/whats-new/obsolete-members.md index 82f85a7c3337e..ce13e27a1e621 100644 --- a/docs/framework/whats-new/obsolete-members.md +++ b/docs/framework/whats-new/obsolete-members.md @@ -16,6 +16,7 @@ This article doesn't list the members of obsolete types. For a list of obsolete ## mscorlib.dll > [!div class="mx-tdBreakAll"] +> > |Type|Member|Message| > |----------|------------|-------------| > |||The registry key only works on Win9x, which is no longer supported by the CLR. On NT-based operating systems, use the registry key or the registry proxy instead.| @@ -182,6 +183,7 @@ This article doesn't list the members of obsolete types. For a list of obsolete ## PresentationCore.dll > [!div class="mx-tdBreakAll"] +> > |Type|Member|Message| > |----------|------------|-------------| > |||Bitmap effects are deprecated and no longer function. Consider using where appropriate instead.| @@ -222,6 +224,7 @@ This article doesn't list the members of obsolete types. For a list of obsolete ## PresentationFramework.dll > [!div class="mx-tdBreakAll"] +> > |Type|Member|Message| > |----------|------------|-------------| > |||Replaced by .| @@ -232,6 +235,7 @@ This article doesn't list the members of obsolete types. For a list of obsolete ## System.Activities.dll > [!div class="mx-tdBreakAll"] +> > |Type|Member|Message| > |----------|------------|-------------| > |||First deprecated in the .NET Framework 4.5.

Don't use this constructor. Use or instead.| @@ -240,6 +244,7 @@ This article doesn't list the members of obsolete types. For a list of obsolete ## System.Activities.Presentation.dll > [!div class="mx-tdBreakAll"] +> > |Type|Member|Message| > |----------|------------|-------------| > |||This method doesn't support dragging multiple items.| @@ -255,6 +260,7 @@ This article doesn't list the members of obsolete types. For a list of obsolete ## System.Core.dll > [!div class="mx-tdBreakAll"] +> > |Type|Member|Message| > |----------|------------|-------------| > |||First deprecated in the .NET Framework 4.5.

Incorrect value; use instead.| @@ -298,6 +304,7 @@ This article doesn't list the members of obsolete types. For a list of obsolete ## System.Data.dll > [!div class="mx-tdBreakAll"] +> > |Type|Member|Message| > |----------|------------|-------------| > ||| has been deprecated.| @@ -320,6 +327,7 @@ This article doesn't list the members of obsolete types. For a list of obsolete ## System.Data.Entity.dll > [!div class="mx-tdBreakAll"] +> > |Type|Member|Message| > |----------|------------|-------------| > |||This property is going away, Use the property instead.| @@ -330,6 +338,7 @@ This article doesn't list the members of obsolete types. For a list of obsolete ## System.Data.OracleClient.dll > [!div class="mx-tdBreakAll"] +> > |Type|Member|Message| > |----------|------------|-------------| > ||| has been deprecated. Use the classes to explicitly set the precision of a decimal.| @@ -339,6 +348,7 @@ This article doesn't list the members of obsolete types. For a list of obsolete ## System.Design.dll > [!div class="mx-tdBreakAll"] +> > |Type|Member|Message| > |----------|------------|-------------| > |||This method has been deprecated. Use instead.| @@ -392,6 +402,7 @@ This article doesn't list the members of obsolete types. For a list of obsolete ## System.dll > [!div class="mx-tdBreakAll"] +> > |Type|Member|Message| > |----------|------------|-------------| > |||Callers should not use the interface and should instead use the methods directly on the class.| @@ -504,6 +515,7 @@ This article doesn't list the members of obsolete types. For a list of obsolete ## System.Drawing.dll > [!div class="mx-tdBreakAll"] +> > |Type|Member|Message| > |----------|------------|-------------| > |||Don't use the method; use the property instead.| @@ -512,6 +524,7 @@ This article doesn't list the members of obsolete types. For a list of obsolete ## System.Messaging.dll > [!div class="mx-tdBreakAll"] +> > |Type|Member|Message| > |----------|------------|-------------| > |||This method returns a that implements the family of methods incorrectly. Use instead.| @@ -520,6 +533,7 @@ This article doesn't list the members of obsolete types. For a list of obsolete ## System.ServiceModel.dll > [!div class="mx-tdBreakAll"] +> > |Type|Member|Message| > |----------|------------|-------------| > |||First deprecated in the .NET Framework 4.5.

This property is obsolete. To enable Http , use the property instead.| @@ -532,6 +546,7 @@ This article doesn't list the members of obsolete types. For a list of obsolete ## System.ServiceModel.Discovery.dll > [!div class="mx-tdBreakAll"] +> > |Type|Member|Message| > |----------|------------|-------------| > |||First deprecated in the .NET Framework 4.5.

The property is obsolete. Consider using for setting the transport properties.| @@ -540,6 +555,7 @@ This article doesn't list the members of obsolete types. For a list of obsolete ## System.Web.DataVisualization.dll > [!div class="mx-tdBreakAll"] +> > |Type|Member|Message| > |----------|------------|-------------| > ||| has been deprecated. Investigate instead.| @@ -547,6 +563,7 @@ This article doesn't list the members of obsolete types. For a list of obsolete ## System.Web.dll > [!div class="mx-tdBreakAll"] +> > |Type|Member|Message| > |----------|------------|-------------| > |||The recommended alternative is in System.Web.dll.| @@ -582,6 +599,7 @@ This article doesn't list the members of obsolete types. For a list of obsolete ## System.Web.DynamicData.dll > [!div class="mx-tdBreakAll"] +> > |Type|Member|Message| > |----------|------------|-------------| > |||Use the `EnablePersistedSelection` property on a databound control such as or .| @@ -589,6 +607,7 @@ This article doesn't list the members of obsolete types. For a list of obsolete ## System.Web.Extensions.dll > [!div class="mx-tdBreakAll"] +> > |Type|Member|Message| > |----------|------------|-------------| > |||Use .| @@ -603,6 +622,7 @@ This article doesn't list the members of obsolete types. For a list of obsolete ## System.Web.Services.dll > [!div class="mx-tdBreakAll"] +> > |Type|Member|Message| > |----------|------------|-------------| > |||This method will be removed from a future version. The method call is no longer required for resource discovery.| @@ -611,6 +631,7 @@ This article doesn't list the members of obsolete types. For a list of obsolete ## System.Windows.Forms.dll > [!div class="mx-tdBreakAll"] +> > |Type|Member|Message| > |----------|------------|-------------| > |||This enumeration value has been deprecated. There is no replacement.| @@ -628,6 +649,7 @@ This article doesn't list the members of obsolete types. For a list of obsolete ## System.Xaml.dll > [!div class="mx-tdBreakAll"] +> > |Type|Member|Message| > |----------|------------|-------------| > |||This isn't used by the XAML parser. See .| @@ -636,6 +658,7 @@ This article doesn't list the members of obsolete types. For a list of obsolete ## System.Xml.dll > [!div class="mx-tdBreakAll"] +> > |Type|Member|Message| > |----------|------------|-------------| > |||Validation type should be specified as or .| @@ -662,6 +685,7 @@ The IEHost.dll and IEExec.exe assemblies have been removed from .NET Framework. ## ISymWrapper.dll > [!div class="mx-tdBreakAll"] +> > |Type|Member|Message| > |----------|------------|-------------| > |||The recommended alternative is . takes the importer interface pointer as an instead of an , and thus works on both 32-bit and 64-bit architectures.| @@ -669,6 +693,7 @@ The IEHost.dll and IEExec.exe assemblies have been removed from .NET Framework. ## Microsoft.Build.Conversion.v4.0.dll > [!div class="mx-tdBreakAll"] +> > |Type|Member|Message| > |----------|------------|-------------| > |||Use parameterless overload instead.| @@ -679,6 +704,7 @@ The IEHost.dll and IEExec.exe assemblies have been removed from .NET Framework. ## Microsoft.Build.Engine.dll > [!div class="mx-tdBreakAll"] +> > |Type|Member|Message| > |----------|------------|-------------| > |||Avoid setting . If you were simply passing in the .NET Framework location as the , no other action is necessary. Otherwise, define Toolsets instead in the registry or config file, or by adding elements to the Engine's , to use a custom .| @@ -687,6 +713,7 @@ The IEHost.dll and IEExec.exe assemblies have been removed from .NET Framework. ## Microsoft.Build.Framework.dll > [!div class="mx-tdBreakAll"] +> > |Type|Member|Message| > |----------|------------|-------------| > |||First deprecated in the .NET Framework 4.5.

Use of this member generates a compiler error.

Use the property instead.| @@ -694,6 +721,7 @@ The IEHost.dll and IEExec.exe assemblies have been removed from .NET Framework. ## Microsoft.Build.Utilities.v4.0.dll > [!div class="mx-tdBreakAll"] +> > |Type|Member|Message| > |----------|------------|-------------| > |||Use the property.| @@ -701,6 +729,7 @@ The IEHost.dll and IEExec.exe assemblies have been removed from .NET Framework. ## Microsoft.Data.Entity.Build.Tasks.dll > [!div class="mx-tdBreakAll"] +> > |Type|Member|Message| > |----------|------------|-------------| > |`Microsoft.Data.Entity.Build.Tasks.EntityDeploy`|`EntityDataModelEmbeddedResources`|First deprecated in the .NET Framework 4.5.

Used only for version 3.5 backward compatibility.| @@ -708,6 +737,7 @@ The IEHost.dll and IEExec.exe assemblies have been removed from .NET Framework. ## Microsoft.VisualBasic.dll > [!div class="mx-tdBreakAll"] +> > |Type|Member|Message| > |----------|------------|-------------| > |||This member has been deprecated. Use to write types, or coerce `FileNumber` and `RecordNumber` to for writing non-object types.| diff --git a/docs/fundamentals/code-analysis/quality-rules/index.md b/docs/fundamentals/code-analysis/quality-rules/index.md index 4531ca666b575..63d99e07ea866 100644 --- a/docs/fundamentals/code-analysis/quality-rules/index.md +++ b/docs/fundamentals/code-analysis/quality-rules/index.md @@ -12,6 +12,7 @@ ms.date: 01/31/2024 The following table lists code quality analysis rules. > [!div class="mx-tdCol2BreakAll"] +> > | Rule ID and warning | Description | > | ------------------- | ----------- | > | [CA1000: Do not declare static members on generic types](ca1000.md) | When a static member of a generic type is called, the type argument must be specified for the type. When a generic instance member that does not support inference is called, the type argument must be specified for the member. In these two cases, the syntax for specifying the type argument is different and easily confused. | diff --git a/docs/fundamentals/code-analysis/style-rules/index.md b/docs/fundamentals/code-analysis/style-rules/index.md index bb81fb3071163..a8fc4df699509 100644 --- a/docs/fundamentals/code-analysis/style-rules/index.md +++ b/docs/fundamentals/code-analysis/style-rules/index.md @@ -32,6 +32,7 @@ The code-style rules are organized into the following subcategories: The following table list all the code-style rules by ID and [options](../code-style-rule-options.md), if any. > [!div class="mx-tdCol3BreakAll"] +> > | Rule ID | Title | Option | > | - | - | - | > | [IDE0001](ide0001.md) | Simplify name | | diff --git a/docs/standard/base-types/regular-expressions.md b/docs/standard/base-types/regular-expressions.md index 331ce730967dd..9b2b18ef0b387 100644 --- a/docs/standard/base-types/regular-expressions.md +++ b/docs/standard/base-types/regular-expressions.md @@ -88,6 +88,7 @@ The class includes string search and replacement methods th The regular expression pattern `\b(\w+?)\s\1\b` can be interpreted as follows: > [!div class="mx-tdCol2BreakAll"] +> > |Pattern|Interpretation| > |-|-| > |`\b`|Start at a word boundary.| @@ -110,6 +111,7 @@ The class includes string search and replacement methods th On a computer whose current culture is English - United States (en-US), the example dynamically builds the regular expression `\$\s*[-+]?([0-9]{0,3}(,[0-9]{3})*(\.[0-9]+)?)`. This regular expression pattern can be interpreted as follows: > [!div class="mx-tdCol2BreakAll"] +> > |Pattern|Interpretation| > |-|-| > |`\$`|Look for a single occurrence of the dollar symbol (`$`) in the input string. The regular expression pattern string includes a backslash to indicate that the dollar symbol is to be interpreted literally rather than as a regular expression anchor. The `$` symbol alone would indicate that the regular expression engine should try to begin its match at the end of a string. To ensure that the current culture's currency symbol isn't misinterpreted as a regular expression symbol, the example calls the method to escape the character.| From 5b23ea8e00001a3caffc8ce84b5c1b24f42e7212 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 18 Nov 2024 16:55:31 +0000 Subject: [PATCH 20/22] Bump DavidAnson/markdownlint-cli2-action from 16.0.0 to 18.0.0 (#43611) Bumps [DavidAnson/markdownlint-cli2-action](https://github.com/davidanson/markdownlint-cli2-action) from 16.0.0 to 18.0.0. - [Release notes](https://github.com/davidanson/markdownlint-cli2-action/releases) - [Commits](https://github.com/davidanson/markdownlint-cli2-action/compare/b4c9feab76d8025d1e83c653fa3990936df0e6c8...eb5ca3ab411449c66620fe7f1b3c9e10547144b0) --- updated-dependencies: - dependency-name: DavidAnson/markdownlint-cli2-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/markdownlint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/markdownlint.yml b/.github/workflows/markdownlint.yml index dc161c60623e4..02718994e8410 100644 --- a/.github/workflows/markdownlint.yml +++ b/.github/workflows/markdownlint.yml @@ -27,7 +27,7 @@ jobs: egress-policy: audit - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - - uses: DavidAnson/markdownlint-cli2-action@b4c9feab76d8025d1e83c653fa3990936df0e6c8 # v16.0.0 + - uses: DavidAnson/markdownlint-cli2-action@eb5ca3ab411449c66620fe7f1b3c9e10547144b0 # v18.0.0 with: config: ".markdownlint-cli2.jsonc" globs: "**/*.md" From 11abe70b393ef9352fccf08c53c520562b4014e9 Mon Sep 17 00:00:00 2001 From: Scott Addie <10702007+scottaddie@users.noreply.github.com> Date: Mon, 18 Nov 2024 14:43:48 -0600 Subject: [PATCH 21/22] Update Azure SDK proxy server configuration doc (#43593) * Explain how to configure a proxy server via code * edits * Document additional env vars * Edits * Edits * Update code * Update ToC * React to feedback * Link to code --- .openpublishing.redirection.azure.json | 4 + docs/azure/TOC.yml | 4 +- docs/azure/sdk/azure-sdk-configure-proxy.md | 51 ----------- docs/azure/sdk/configure-proxy.md | 85 +++++++++++++++++++ .../sdk/snippets/configure-proxy/Program.cs | 18 ++++ .../ProxyServerConfiguration.csproj | 15 ++++ 6 files changed, 124 insertions(+), 53 deletions(-) delete mode 100644 docs/azure/sdk/azure-sdk-configure-proxy.md create mode 100644 docs/azure/sdk/configure-proxy.md create mode 100644 docs/azure/sdk/snippets/configure-proxy/Program.cs create mode 100644 docs/azure/sdk/snippets/configure-proxy/ProxyServerConfiguration.csproj diff --git a/.openpublishing.redirection.azure.json b/.openpublishing.redirection.azure.json index 6530031c11591..d5f59ae803c4f 100644 --- a/.openpublishing.redirection.azure.json +++ b/.openpublishing.redirection.azure.json @@ -119,6 +119,10 @@ { "source_path_from_root": "/docs/azure/ai/get-started-app-chat-scaling-with-azure-container-apps.md", "redirect_url": "/dotnet/ai/get-started-app-chat-scaling-with-azure-container-apps" + }, + { + "source_path_from_root": "/docs/azure/sdk/azure-sdk-configure-proxy.md", + "redirect_url": "/dotnet/azure/sdk/configure-proxy" } ] } diff --git a/docs/azure/TOC.yml b/docs/azure/TOC.yml index d657e288d98f6..c0f02e227efdd 100644 --- a/docs/azure/TOC.yml +++ b/docs/azure/TOC.yml @@ -89,8 +89,8 @@ href: ./sdk/pagination.md - name: Unit testing and mocking href: ./sdk/unit-testing-mocking.md - - name: Configure a proxy server - href: ./sdk/azure-sdk-configure-proxy.md + - name: Configure a proxy + href: ./sdk/configure-proxy.md - name: Library method types href: ./sdk/protocol-convenience-methods.md - name: Packages list diff --git a/docs/azure/sdk/azure-sdk-configure-proxy.md b/docs/azure/sdk/azure-sdk-configure-proxy.md deleted file mode 100644 index 3b93d7354fd4a..0000000000000 --- a/docs/azure/sdk/azure-sdk-configure-proxy.md +++ /dev/null @@ -1,51 +0,0 @@ ---- -title: Configure a proxy server when using the Azure SDK for .NET -description: Use HTTP[S]_PROXY environment variables to define a proxy for the Azure SDK for .NET -ms.topic: conceptual -ms.custom: devx-track-dotnet, engagement-fy23 -ms.date: 3/23/2023 ---- - -# Configure a proxy server when using the Azure SDK for .NET - -If your organization requires the use of a proxy server to access internet resources, you will need to set an environment variable with the proxy server information to use the Azure SDK for .NET. - -## Configuration using environment variables - -Depending on if your proxy server uses HTTP or HTTPS, you will set either the environment variable `HTTP_PROXY` or `HTTPS_PROXY` respectively. The proxy server URL has the form `http[s]://[username:password@]:/` where the `username:password` combination is optional. To get the IP address or hostname, port and credentials for your proxy server, consult your network administrator. - -The following examples show how to set the appropriate environment variables in command shell (Windows) and bash (Linux/Mac) environments. Setting the appropriate environment variable will then cause the Azure SDK for .NET to use the proxy server at run time. - -### [cmd](#tab/cmd) - -```cmd -rem Non-authenticated HTTP server: -set HTTP_PROXY=http://10.10.1.10:1180 - -rem Authenticated HTTP server: -set HTTP_PROXY=http://username:password@10.10.1.10:1180 - -rem Non-authenticated HTTPS server: -set HTTPS_PROXY=http://10.10.1.10:1180 - -rem Authenticated HTTPS server: -set HTTPS_PROXY=http://username:password@10.10.1.10:1180 -``` - -### [bash](#tab/bash) - -```bash -# Non-authenticated HTTP server: -HTTP_PROXY=http://10.10.1.10:1180 - -# Authenticated HTTP server: -HTTP_PROXY=http://username:password@10.10.1.10:1180 - -# Non-authenticated HTTPS server: -HTTPS_PROXY=http://10.10.1.10:1180 - -# Authenticated HTTPS server: -HTTPS_PROXY=http://username:password@10.10.1.10:1180 -``` - ---- diff --git a/docs/azure/sdk/configure-proxy.md b/docs/azure/sdk/configure-proxy.md new file mode 100644 index 0000000000000..1be1f2946043d --- /dev/null +++ b/docs/azure/sdk/configure-proxy.md @@ -0,0 +1,85 @@ +--- +title: Configure a proxy when using the Azure SDK for .NET +description: Learn different approaches for configuring a proxy for use with the Azure SDK for .NET client libraries. +ms.topic: conceptual +ms.custom: devx-track-dotnet, engagement-fy23 +ms.date: 11/18/2024 +--- + +# Configure a proxy when using the Azure SDK for .NET + +If your organization requires the use of a proxy server to access Internet resources, some configuration is required to use the Azure SDK for .NET client libraries. Once configured, the proxy is applied to the underlying `HttpClient` instance used for HTTP operations. + +The proxy can be configured via code or via an environment variable. The approach you choose depends on the desired behavior. Set the appropriate environment variable if you want the proxy to apply globally to all service clients created within the current process. Alternatively, configure the proxy via code to selectively apply the settings to service clients. + +> [!IMPORTANT] +> The following instructions apply only to [libraries with a dependency on Azure.Core](protocol-convenience-methods.md#azure-sdk-client-library-dependency-patterns). + +## Configure using code + +To programmatically configure a proxy, complete the following steps: + +1. Create an object whose `Proxy` property is set. +1. Create a service client options object whose property is set to an `HttpClientTransport` object accepting the `HttpClientHandler` instance. +1. Pass the service client options object to the service client constructor. + +Using the Azure Key Vault Secrets library as an example, you'd have the following code: + +:::code language="csharp" source="snippets/configure-proxy/Program.cs"::: + +## Configure using environment variables + +The following table provides an inventory of environment variables that can be set to configure a proxy for use. + +| Environment variable | Purpose | +|--------------------------------|-------------------------------------------------------------------------------------------------------------| +| `HTTP_PROXY` or `http_proxy` | The proxy server used on HTTP requests. | +| `HTTPS_PROXY` or `https_proxy` | The proxy server used on HTTPS requests. | +| `ALL_PROXY` or `all_proxy` | The proxy server used for both HTTP and HTTPS requests. | +| `NO_PROXY` or `no_proxy` | A comma-delimited list of hostnames to exclude from proxying. | +| `GATEWAY_INTERFACE` | Indicator that the app is running in a Common Gateway Interface (CGI) environment. Example value: `CGI/1.1` | + +For a deep understanding of how these environment variables are processed, see [the code](https://github.com/Azure/azure-sdk-for-net/blob/9aa3b3a44f81bc0be5a4fc86607e0150ba9815d5/sdk/core/Azure.Core/src/Pipeline/Internal/HttpEnvironmentProxy.cs#L31). Be aware of the following behaviors: + +- Each environment variable in the preceding table, except `GATEWAY_INTERFACE`, can alternatively be defined as lowercase. The lowercase form takes precedence over the uppercase form.` +- If both `http_proxy` and `GATEWAY_INTERFACE` are undefined, `HTTP_PROXY` is used. +- `ALL_PROXY` is considered only when either an HTTP or an HTTPS proxy is undefined. +- Protocol-specific environment variables take precedence over `ALL_PROXY`. + +The proxy server URL takes the form `http[s]://[username:password@]:/`, where the `username:password` combination is optional. To get the IP address or hostname, port, and credentials for your proxy server, consult your network administrator. + +The following examples show how to set the appropriate environment variables in command shell (Windows) and bash (Linux/macOS) environments. Setting the appropriate environment variable causes the Azure SDK for .NET libraries to use the proxy server at runtime. + +### [cmd](#tab/cmd) + +```cmd +rem Non-authenticated HTTP server: +set HTTP_PROXY=http://10.10.1.10:1180 + +rem Authenticated HTTP server: +set HTTP_PROXY=http://username:password@10.10.1.10:1180 + +rem Non-authenticated HTTPS server: +set HTTPS_PROXY=https://10.10.1.10:1180 + +rem Authenticated HTTPS server: +set HTTPS_PROXY=https://username:password@10.10.1.10:1180 +``` + +### [bash](#tab/bash) + +```bash +# Non-authenticated HTTP server: +HTTP_PROXY=http://10.10.1.10:1180 + +# Authenticated HTTP server: +HTTP_PROXY=http://username:password@10.10.1.10:1180 + +# Non-authenticated HTTPS server: +HTTPS_PROXY=https://10.10.1.10:1180 + +# Authenticated HTTPS server: +HTTPS_PROXY=https://username:password@10.10.1.10:1180 +``` + +--- diff --git a/docs/azure/sdk/snippets/configure-proxy/Program.cs b/docs/azure/sdk/snippets/configure-proxy/Program.cs new file mode 100644 index 0000000000000..a906663595779 --- /dev/null +++ b/docs/azure/sdk/snippets/configure-proxy/Program.cs @@ -0,0 +1,18 @@ +using System.Net; +using Azure.Core.Pipeline; +using Azure.Identity; +using Azure.Security.KeyVault.Secrets; + +using HttpClientHandler handler = new() +{ + Proxy = new WebProxy(new Uri("")), +}; + +SecretClientOptions options = new() +{ + Transport = new HttpClientTransport(handler), +}; +SecretClient client = new( + new Uri("https://.vault.azure.net/"), + new DefaultAzureCredential(), + options); diff --git a/docs/azure/sdk/snippets/configure-proxy/ProxyServerConfiguration.csproj b/docs/azure/sdk/snippets/configure-proxy/ProxyServerConfiguration.csproj new file mode 100644 index 0000000000000..1993e63491351 --- /dev/null +++ b/docs/azure/sdk/snippets/configure-proxy/ProxyServerConfiguration.csproj @@ -0,0 +1,15 @@ + + + + Exe + net9.0 + enable + enable + + + + + + + + From 900fcf631555f298096eddbb1fdba3ecf3cc7209 Mon Sep 17 00:00:00 2001 From: Scott Addie <10702007+scottaddie@users.noreply.github.com> Date: Mon, 18 Nov 2024 15:00:04 -0600 Subject: [PATCH 22/22] Fix line numbers (#43633) --- docs/azure/sdk/aspnetcore-guidance.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/azure/sdk/aspnetcore-guidance.md b/docs/azure/sdk/aspnetcore-guidance.md index 73acc6202c899..eec62d0fffd1b 100644 --- a/docs/azure/sdk/aspnetcore-guidance.md +++ b/docs/azure/sdk/aspnetcore-guidance.md @@ -110,7 +110,7 @@ Complete the steps in the following sections to update your app to use JSON file 1. Update the the `Program.cs` file to retrieve the JSON file configurations using `IConfiguration` and pass them into your service registrations: - :::code language="csharp" source="snippets/aspnetcore-guidance/MinApiSample/Program.cs" range="13-31" highlight="5-6,8-9,12-13"::: + :::code language="csharp" source="snippets/aspnetcore-guidance/MinApiSample/Program.cs" range="14-25" highlight="4-5,7-8,11-12"::: ### Configure Azure defaults and retries