Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge main into live #42615

Merged
merged 4 commits into from
Sep 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .openpublishing.redirection.framework.json
Original file line number Diff line number Diff line change
Expand Up @@ -2532,6 +2532,10 @@
"redirect_url": "/previous-versions/dotnet/framework/wcf/feature-details/service-cert-validation-differences",
"redirect_document_id": false
},
{
"source_path_from_root": "/docs/framework/wcf/feature-details/how-to-use-a-custom-user-name-and-password-validator.md",
"redirect_url": "/previous-versions/dotnet/framework/wcf/feature-details/how-to-use-custom-user-name-password-validator"
},
{
"source_path_from_root": "/docs/framework/wcf/feature-details/how-to-create-a-workflow-service-that-calls-another-workflow-service.md",
"redirect_url": "/previous-versions/dotnet/netframework-4.0/ff729672(v=vs.100)"
Expand Down Expand Up @@ -2649,6 +2653,10 @@
"source_path_from_root": "/docs/framework/wcf/samples/usage-of-serialization-binder.md",
"redirect_url": "/dotnet/framework/wcf/samples/"
},
{
"source_path_from_root": "/docs/framework/wcf/samples/user-name-password-validator.md",
"redirect_url": "/previous-versions/dotnet/framework/wcf/samples/user-name-password-validator"
},
{
"source_path_from_root": "/docs/framework/wcf/samples/web-extensibility.md",
"redirect_url": "/previous-versions/dotnet/netframework-4.0/ee818234(v%3dvs.100)"
Expand Down
4 changes: 2 additions & 2 deletions docs/ai/how-to/snippets/semantic-kernel/IdentityExamples.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
using Microsoft.SemanticKernel.Plugins.Memory;
using StackExchange.Redis;

// Supress warning about AzureAISearchMemoryStore still being in evaluation
// Suppress warning about AzureAISearchMemoryStore still being in evaluation
#pragma warning disable SKEXP0020

// Suppress warning about MemoryStore still being in evaluation
Expand Down Expand Up @@ -137,7 +137,7 @@ static async Task RedisKeyVaultExample()

// <vaultConfig>
// User secrets let you provide connection strings when testing locally
// For more info see: https://learn.microsoft.com/en-us/aspnet/core/security/app-secrets
// For more info see: https://learn.microsoft.com/aspnet/core/security/app-secrets
IConfigurationRoot config = new ConfigurationBuilder()
.AddUserSecrets<Program>()
.AddAzureKeyVault(new Uri("{vaultURI}"), credentials)
Expand Down
2 changes: 1 addition & 1 deletion docs/azure/includes/dotnet-all.md
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@
| Resource Management - Spring App Discovery | NuGet [1.0.0-beta.1](https://www.nuget.org/packages/Azure.ResourceManager.SpringAppDiscovery/1.0.0-beta.1) | [docs](/dotnet/api/overview/azure/ResourceManager.SpringAppDiscovery-readme?view=azure-dotnet-preview&amp;preserve-view=true) | GitHub [1.0.0-beta.1](https://github.com/Azure/azure-sdk-for-net/tree/Azure.ResourceManager.SpringAppDiscovery_1.0.0-beta.1/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/) |
| Resource Management - SQL | NuGet [1.2.1](https://www.nuget.org/packages/Azure.ResourceManager.Sql/1.2.1)<br>NuGet [1.3.0-beta.9](https://www.nuget.org/packages/Azure.ResourceManager.Sql/1.3.0-beta.9) | [docs](/dotnet/api/overview/azure/ResourceManager.Sql-readme) | GitHub [1.2.1](https://github.com/Azure/azure-sdk-for-net/tree/Azure.ResourceManager.Sql_1.2.1/sdk/sqlmanagement/Azure.ResourceManager.Sql/)<br>GitHub [1.3.0-beta.9](https://github.com/Azure/azure-sdk-for-net/tree/Azure.ResourceManager.Sql_1.3.0-beta.9/sdk/sqlmanagement/Azure.ResourceManager.Sql/) |
| Resource Management - SQL Virtual Machine | NuGet [1.1.0](https://www.nuget.org/packages/Azure.ResourceManager.SqlVirtualMachine/1.1.0) | [docs](/dotnet/api/overview/azure/ResourceManager.SqlVirtualMachine-readme) | GitHub [1.1.0](https://github.com/Azure/azure-sdk-for-net/tree/Azure.ResourceManager.SqlVirtualMachine_1.1.0/sdk/sqlvirtualmachine/Azure.ResourceManager.SqlVirtualMachine/) |
| Resource Management - Standby Pool | NuGet [1.0.0-beta.1](https://www.nuget.org/packages/Azure.ResourceManager.StandbyPool/1.0.0-beta.1) | [docs](/dotnet/api/overview/azure/ResourceManager.StandbyPool-readme?view=azure-dotnet-preview&amp;preserve-view=true) | GitHub [1.0.0-beta.1](https://github.com/Azure/azure-sdk-for-net/tree/Azure.ResourceManager.StandbyPool_1.0.0-beta.1/sdk/standbypool/Azure.ResourceManager.StandbyPool/) |
| Resource Management - Standby Pool | NuGet [1.0.0](https://www.nuget.org/packages/Azure.ResourceManager.StandbyPool/1.0.0) | [docs](/dotnet/api/overview/azure/ResourceManager.StandbyPool-readme) | GitHub [1.0.0](https://github.com/Azure/azure-sdk-for-net/tree/Azure.ResourceManager.StandbyPool_1.0.0/sdk/standbypool/Azure.ResourceManager.StandbyPool/) |
| Resource Management - Storage | NuGet [1.3.0](https://www.nuget.org/packages/Azure.ResourceManager.Storage/1.3.0) | [docs](/dotnet/api/overview/azure/ResourceManager.Storage-readme) | GitHub [1.3.0](https://github.com/Azure/azure-sdk-for-net/tree/Azure.ResourceManager.Storage_1.3.0/sdk/storage/Azure.ResourceManager.Storage/) |
| Resource Management - Storage Actions | NuGet [1.0.0-beta.1](https://www.nuget.org/packages/Azure.ResourceManager.StorageActions/1.0.0-beta.1) | [docs](/dotnet/api/overview/azure/ResourceManager.StorageActions-readme?view=azure-dotnet-preview&amp;preserve-view=true) | GitHub [1.0.0-beta.1](https://github.com/Azure/azure-sdk-for-net/tree/Azure.ResourceManager.StorageActions_1.0.0-beta.1/sdk/storageactions/Azure.ResourceManager.StorageActions/) |
| Resource Management - Storage Cache | NuGet [1.3.0](https://www.nuget.org/packages/Azure.ResourceManager.StorageCache/1.3.0) | [docs](/dotnet/api/overview/azure/ResourceManager.StorageCache-readme) | GitHub [1.3.0](https://github.com/Azure/azure-sdk-for-net/tree/Azure.ResourceManager.StorageCache_1.3.0/sdk/storagecache/Azure.ResourceManager.StorageCache/) |
Expand Down
2 changes: 1 addition & 1 deletion docs/azure/includes/dotnet-new.md
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@
| Resource Management - Spring App Discovery | NuGet [1.0.0-beta.1](https://www.nuget.org/packages/Azure.ResourceManager.SpringAppDiscovery/1.0.0-beta.1) | [docs](/dotnet/api/overview/azure/ResourceManager.SpringAppDiscovery-readme?view=azure-dotnet-preview&amp;preserve-view=true) | GitHub [1.0.0-beta.1](https://github.com/Azure/azure-sdk-for-net/tree/Azure.ResourceManager.SpringAppDiscovery_1.0.0-beta.1/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/) |
| Resource Management - SQL | NuGet [1.2.1](https://www.nuget.org/packages/Azure.ResourceManager.Sql/1.2.1)<br>NuGet [1.3.0-beta.9](https://www.nuget.org/packages/Azure.ResourceManager.Sql/1.3.0-beta.9) | [docs](/dotnet/api/overview/azure/ResourceManager.Sql-readme) | GitHub [1.2.1](https://github.com/Azure/azure-sdk-for-net/tree/Azure.ResourceManager.Sql_1.2.1/sdk/sqlmanagement/Azure.ResourceManager.Sql/)<br>GitHub [1.3.0-beta.9](https://github.com/Azure/azure-sdk-for-net/tree/Azure.ResourceManager.Sql_1.3.0-beta.9/sdk/sqlmanagement/Azure.ResourceManager.Sql/) |
| Resource Management - SQL Virtual Machine | NuGet [1.1.0](https://www.nuget.org/packages/Azure.ResourceManager.SqlVirtualMachine/1.1.0) | [docs](/dotnet/api/overview/azure/ResourceManager.SqlVirtualMachine-readme) | GitHub [1.1.0](https://github.com/Azure/azure-sdk-for-net/tree/Azure.ResourceManager.SqlVirtualMachine_1.1.0/sdk/sqlvirtualmachine/Azure.ResourceManager.SqlVirtualMachine/) |
| Resource Management - Standby Pool | NuGet [1.0.0-beta.1](https://www.nuget.org/packages/Azure.ResourceManager.StandbyPool/1.0.0-beta.1) | [docs](/dotnet/api/overview/azure/ResourceManager.StandbyPool-readme?view=azure-dotnet-preview&amp;preserve-view=true) | GitHub [1.0.0-beta.1](https://github.com/Azure/azure-sdk-for-net/tree/Azure.ResourceManager.StandbyPool_1.0.0-beta.1/sdk/standbypool/Azure.ResourceManager.StandbyPool/) |
| Resource Management - Standby Pool | NuGet [1.0.0](https://www.nuget.org/packages/Azure.ResourceManager.StandbyPool/1.0.0) | [docs](/dotnet/api/overview/azure/ResourceManager.StandbyPool-readme) | GitHub [1.0.0](https://github.com/Azure/azure-sdk-for-net/tree/Azure.ResourceManager.StandbyPool_1.0.0/sdk/standbypool/Azure.ResourceManager.StandbyPool/) |
| Resource Management - Storage | NuGet [1.3.0](https://www.nuget.org/packages/Azure.ResourceManager.Storage/1.3.0) | [docs](/dotnet/api/overview/azure/ResourceManager.Storage-readme) | GitHub [1.3.0](https://github.com/Azure/azure-sdk-for-net/tree/Azure.ResourceManager.Storage_1.3.0/sdk/storage/Azure.ResourceManager.Storage/) |
| Resource Management - Storage Actions | NuGet [1.0.0-beta.1](https://www.nuget.org/packages/Azure.ResourceManager.StorageActions/1.0.0-beta.1) | [docs](/dotnet/api/overview/azure/ResourceManager.StorageActions-readme?view=azure-dotnet-preview&amp;preserve-view=true) | GitHub [1.0.0-beta.1](https://github.com/Azure/azure-sdk-for-net/tree/Azure.ResourceManager.StorageActions_1.0.0-beta.1/sdk/storageactions/Azure.ResourceManager.StorageActions/) |
| Resource Management - Storage Cache | NuGet [1.3.0](https://www.nuget.org/packages/Azure.ResourceManager.StorageCache/1.3.0) | [docs](/dotnet/api/overview/azure/ResourceManager.StorageCache-readme) | GitHub [1.3.0](https://github.com/Azure/azure-sdk-for-net/tree/Azure.ResourceManager.StorageCache_1.3.0/sdk/storagecache/Azure.ResourceManager.StorageCache/) |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ You can also use the `finally` block to clean up allocated resources used in the
> [!NOTE]
> When the type of a resource implements the <xref:System.IDisposable> or <xref:System.IAsyncDisposable> interface, consider the [`using` statement](using.md). The `using` statement ensures that acquired resources are disposed when control leaves the `using` statement. The compiler transforms a `using` statement into a `try-finally` statement.

In almost all cases `finally` blocks are executed. The only cases where `finally` blocks aren't executed involve immediate termination of a program. For example, such a termination might happen because of the <xref:System.Environment.FailFast%2A?displayProperty=nameWithType> call or an <xref:System.OverflowException> or <xref:System.InvalidProgramException> exception. Most operating systems perform a reasonable resource clean-up as part of stopping and unloading the process.
Execution of the `finally` block depends on whether the operating system chooses to trigger an exception unwind operation. The only cases where `finally` blocks aren't executed involve immediate termination of a program. For example, such a termination might happen because of the <xref:System.Environment.FailFast%2A?displayProperty=nameWithType> call or an <xref:System.OverflowException> or <xref:System.InvalidProgramException> exception. Most operating systems perform a reasonable resource clean-up as part of stopping and unloading the process.

### The `try-catch-finally` statement

Expand Down
53 changes: 25 additions & 28 deletions docs/framework/wcf/feature-details/authentication-in-wcf.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,40 +2,37 @@
title: "Authentication in WCF"
description: Learn about several mechanisms in WCF that provide authentication, such as Windows authentication, X.509 certificates, and user name and password.
ms.date: "03/30/2017"
helpviewer_keywords:
helpviewer_keywords:
- "authentication [WCF]"
- "security [WCF], authentication"
ms.assetid: 9254d873-843d-4c6e-bea4-8184ac3e44f4
---
# Authentication in WCF

The following topics show a number of different mechanisms in Windows Communication Foundation (WCF) that provide authentication, for example, Windows authentication, X.509 certificates, and user name and passwords.

## In This Section

[How to: Use the ASP.NET Membership Provider](how-to-use-the-aspnet-membership-provider.md)
ASP.NET features include a membership and role provider, a database to store user name/password pairs for authentication, and user roles for authorization. This topic explains how WCF services can use the same database to authenticate and authorize users.

[How to: Use a Custom User Name and Password Validator](how-to-use-a-custom-user-name-and-password-validator.md)
Demonstrates how to integrate a custom user name/password validator.

[Service Identity and Authentication](service-identity-and-authentication.md)
As an extra safeguard, a client can authenticate the service by specifying the expected *identity* of the service. If the expected identity and the identity returned by the service do not match, authentication fails.

[Security Negotiation and Timeouts](security-negotiation-and-timeouts.md)
Describes how to use the <xref:System.ServiceModel.Channels.LocalServiceSecuritySettings.NegotiationTimeout%2A> property in the <xref:System.ServiceModel.Channels.LocalServiceSecuritySettings> class.

[Debugging Windows Authentication Errors](debugging-windows-authentication-errors.md)
Focuses on common problems encountered when using Windows authentication.

## Reference

<xref:System.ServiceModel>

## Related Sections

[Common Security Scenarios](common-security-scenarios.md)

The following topics show a number of different mechanisms in Windows Communication Foundation (WCF) that provide authentication, for example, Windows authentication, X.509 certificates, and user name and passwords.

## In This Section

[How to: Use the ASP.NET Membership Provider](how-to-use-the-aspnet-membership-provider.md)
ASP.NET features include a membership and role provider, a database to store user name/password pairs for authentication, and user roles for authorization. This topic explains how WCF services can use the same database to authenticate and authorize users.

[Service Identity and Authentication](service-identity-and-authentication.md)
As an extra safeguard, a client can authenticate the service by specifying the expected *identity* of the service. If the expected identity and the identity returned by the service do not match, authentication fails.

[Security Negotiation and Timeouts](security-negotiation-and-timeouts.md)
Describes how to use the <xref:System.ServiceModel.Channels.LocalServiceSecuritySettings.NegotiationTimeout%2A> property in the <xref:System.ServiceModel.Channels.LocalServiceSecuritySettings> class.

[Debugging Windows Authentication Errors](debugging-windows-authentication-errors.md)
Focuses on common problems encountered when using Windows authentication.

## Reference

<xref:System.ServiceModel>

## Related Sections

[Common Security Scenarios](common-security-scenarios.md)

## See also

- [Security Overview](security-overview.md)
Expand Down
Loading
Loading