Skip to content

[dotnet-svcutil] Update CustomBinding TransportSecurityBindingElement…#5789

Open
imcarolwang wants to merge 4 commits into
dotnet:mainfrom
imcarolwang:cumstomBindingCodeGenIssue
Open

[dotnet-svcutil] Update CustomBinding TransportSecurityBindingElement…#5789
imcarolwang wants to merge 4 commits into
dotnet:mainfrom
imcarolwang:cumstomBindingCodeGenIssue

Conversation

@imcarolwang

@imcarolwang imcarolwang commented May 28, 2025

Copy link
Copy Markdown
Contributor

… Configuration Generation Fix in PR #4843

This PR builds on the changes from PR #4843, which fixed issues with generating the CustomBinding TransportSecurityBindingElement. It addresses the improvements the original PR author pointed out but hadn't been added yet, and adds some test scenarios to validate the fix.

@imcarolwang imcarolwang force-pushed the cumstomBindingCodeGenIssue branch from 3d6cb05 to 287ecc6 Compare May 28, 2025 09:39
@imcarolwang imcarolwang marked this pull request as ready for review May 30, 2025 02:29
@mconnew

mconnew commented Jun 5, 2025

Copy link
Copy Markdown
Member

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 2 pipeline(s).

@imcarolwang imcarolwang force-pushed the cumstomBindingCodeGenIssue branch from cf9e3eb to 6de8633 Compare August 7, 2025 07:44
@imcarolwang imcarolwang force-pushed the cumstomBindingCodeGenIssue branch from 6de8633 to 89adab3 Compare June 16, 2026 08:05
…, update baselines

- Fix typo in test case name: SspiNegoAuthRequireCancelTokenFasle ->
  SspiNegoAuthRequireCancelTokenFalse (WSDL, baseline folder, InlineData)
- Use .GetType().FullName in error message for consistency with the
  existing error at line 1084
- Remove unreachable KerberosOverTransport branch: IsKerberosBinding()
  checks for SymmetricSecurityBindingElement which can never match a
  TransportSecurityBindingElement parameter. The correct detection method
  (IsKerberosOverTransportBinding) is #if NO in the framework fork, and
  EndpointSelector rejects the non-default AlgorithmSuite anyway. Added
  a comment explaining why Kerberos is not yet supported and what is
  needed.
- Update CertificateAuth and SspiNegoAuthRequireCancelTokenTrue
  baselines to include ExcludeFromCodeCoverageAttribute (from rebase on
  latest main).

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@imcarolwang imcarolwang force-pushed the cumstomBindingCodeGenIssue branch from 89adab3 to c95fe5b Compare June 22, 2026 07:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants