question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

IDispatchMessageFormatter is internal

See original GitHub issue

In the namespace CoreWCF.Dispatcher, there is an interface defined called IDispatchMessageFormatter. In WFC this interface is public, in CoreWFC this interface is internal. This makes it impossible to implement IDispatchMessageFormatter in our code. Can this member be made public?

namespace CoreWCF.Dispatcher
{
    internal interface IDispatchMessageFormatter
    {
...
    }
}

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
mconnewcommented, Nov 4, 2021

If you need any help or get stuck with something, feel free to ask. Here’s the general flow I use.

  1. Fork the repo into your own account. There’s a button at the top right. My fork then has the url https://github.com/mconnew/CoreWCF.git
  2. Clone my fork locally. So for me that was running git clone https://github.com/mconnew/CoreWCF.git
  3. I then add this main repo as an upstream repo. So change to your cloned folder and run git remote add upstream https://github.com/CoreWCF/CoreWCF.git. Then update local view by running git fetch --all --prune
  4. Make a local branch for changes. git checkout -b IDispatchMessageFormatter
  5. Make any changes and commit locally.
  6. If there’s been any changes committed to the upstream repo, rerun git fetch --all --prune. Switch to main branch, git checkout main, and update with upstream git merge --ff-only upstream/main. Switch back to changes branch git checkout IDispatchMessageFormatter and then rebase to main, git rebase main. This pulls in any changes from main ahead of your own changes. If there’s any conflicts in your commits, you will need to fix them. Running git status tells you which files have the conflicts and the process of resolving them.
  7. When your changes are ready to be merged, push to your remote, git push origin IDispatchMessageFormatter.
  8. Go to https://github.com/CoreWCF/CoreWCF and it will ask you if you want to open a PR for your recently pushed branch. The steps should be pretty self explanatory.
  9. If there’s any changes needed based on feedback, make a new commit locally and push those changes again to your remote. The PR will automatically be updated with the new commit.

If you have any problems, just ask.

1reaction
mconnewcommented, Apr 4, 2022

The interesting thing is that to shoehorn a REST request into a SOAP based programming model, you have to use most of the extensibility points to get it to work 😀. That feature will have satisfied most people’s extensibility requirements.

Read more comments on GitHub >

github_iconTop Results From Across the Web

After Enable IDispatchMessageFormatter I see nullable ...
Problem is that after enable this class, parameters in service method always was show as null, but in IDispatchMessageInspector class I see that ......
Read more >
IDispatchMessageFormatter Interface
Defines methods that deserialize request messages and serialize response messages in a service application. public interface class IDispatchMessageFormatter. C#
Read more >
IDispatchMessageFormatter – How to customize reply ...
It accepts a Message object and expected to provide an array of parameters. Advertisement. The SerializeReply is invoked on outgoing replies. It ...
Read more >
C# (CSharp) IDispatchMessageFormatter Examples
These are the top rated real world C# (CSharp) examples of IDispatchMessageFormatter extracted from open source projects. You can rate examples to help...
Read more >
WebHttpBehavior.cs
Source from the Microsoft .NET Reference Source that represent a subset of the .NET Framework - referencesource/System.ServiceModel.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found