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

BrowserSubprocess - Refactor to support .Net Core #2891

Merged
merged 2 commits into from
Oct 2, 2019

Conversation

amaitland
Copy link
Member

@amaitland amaitland commented Sep 6, 2019

Issue #2796

Summary:
Refactor the BrowserSubProcess so the core of it's implementation in CefSharp.BrowserSubprocess.Core.

Changes:

  • Added BrowserSubprocessExecutable for use with .Net Core (no WCF)
  • Added WcfBrowserSubprocessExecutable for use with the existing CefSharp.BrowserSubprocess.exe which supports WCF (conditionally)

How Has This Been Tested?

  • The Javascript Binding tests pass (both async and sync)
  • Eval or javascript happens correctly

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Updated documentation

Checklist:

  • Tested the code(if applicable)
  • Commented my code
  • Changed the documentation(if applicable)
  • New files have a license disclaimer
  • The formatting is consistent with the project (project supports .editorconfig)

TODO

  • Add comments to WcfBrowserSubprocessExecutable
  • Consider better names for new classes (open to suggestions here)
  • Add comments to Program.cs that describe the new structure changes.

@amaitland amaitland added this to the 77.0.0 milestone Sep 6, 2019
@AppVeyorBot
Copy link

kpreisser added a commit to kpreisser/CefSharp that referenced this pull request Sep 6, 2019
-Add a reference to CefSharp.BrowserSubprocess.Core when compiling for .NET Core (see cefsharp#2891).
-Adjust the references for .NET Core to not specify <Private>False<Private>, as otherwise they wouldn't be specified in the generated .deps.json file and so the CoreCLR wouldn't load them.

Contributes to cefsharp#2796
- Added BrowserSubprocessExecutable for use with .Net Core (no WCF)
- Added WcfBrowserSubprocessExecutable for use with the existing CefSharp.BrowserSubprocess.exe which supports WCF (conditionally)
@AppVeyorBot
Copy link

@AppVeyorBot
Copy link

@amaitland
Copy link
Member Author

Going with the class naming that I have for now, if anyone has a better suggestion then please let me know. Names can be easily changed until the first 77-pre release without any great trouble.

@amaitland amaitland merged commit cc23591 into cefsharp:master Oct 2, 2019
@amaitland amaitland deleted the refactor/browsersubprocess branch October 2, 2019 02:25
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