dotnet / dotnet/wcf

Add new api's to MtomMessageEncodingBindingElement

Open
#4,689 0 comments 0 reactions 2 assignees Claimed by @afifi-ins View on GitHub
priority 2 triaged
Dominant language
C#
Stars
1.8k
Forks
576
Avg merge
6d 9h
Merged PRs (30d)
2

Description

On .NET Framework, there is an app setting `"microsoft:xmldictionaryreader:maxmimeparts"` which controls the maximum number of mime parts allowed when using Mtom. The current implementation here uses the original hard coded limit of 1000. This needs to be configurable via a property on MtomMessageEncodingBindingElement.

Additionally, we need to provide a mechanism to pass a delegate which accepts a prefix, namespace, and localname and returns a value indicating whether an xml element should be inline or placed in a separate mime part, or to use the default decision. This will improve interop with other stacks as there have been issues in the past of other implementations not liking the decision made by .NET.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.