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

Fix 622 by setting correct WCF attributes to allow multiple calls #626

Closed
wants to merge 1 commit into from

Conversation

sylvain-hamel
Copy link
Contributor

@amaitland I think this is a better fix. What do you think?

@amaitland
Copy link
Member

@sylvain-hamel Much cleaner solution! Thanks!

@amaitland
Copy link
Member

Just reading the MSDN article on CallBackHehaviourAttribute http://msdn.microsoft.com/en-us/library/system.servicemodel.callbackbehaviorattribute%28v=vs.110%29.aspx

The CallbackBehaviorAttribute must be applied to the class that implements the callback contract

I've put comments inline.

@@ -6,7 +6,8 @@

namespace CefSharp.Internals
{
[ServiceBehavior(InstanceContextMode = InstanceContextMode.PerSession)]
[ServiceBehavior(InstanceContextMode = InstanceContextMode.PerSession, ConcurrencyMode = ConcurrencyMode.Multiple)]
[CallbackBehavior(ConcurrencyMode = ConcurrencyMode.Multiple)]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From what I can tell [CallbackBehavior] is only required on the IRenderProcess class

amaitland added a commit to amaitland/CefSharp that referenced this pull request Nov 21, 2014
@amaitland
Copy link
Member

@sylvain-hamel What do you think of amaitland@06e2a1a?

Quick test and everything looks ok, I think that's the minimum required code change.

@sylvain-hamel
Copy link
Contributor Author

@amaitland your are right. you can remove the extra lines when your will merge.

jornh added a commit that referenced this pull request Nov 21, 2014
Slightly modified fix for #622 based on PR #626
@jornh
Copy link
Contributor

jornh commented Nov 21, 2014

Closing in favor of #630

@jornh jornh closed this Nov 21, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants