@zygon.sisyphus:matrix.org there is no formal support for any third-party frameworks. We just create demos to show that they are doable. If you can run it in Chrome you should be able to run it in Chromely, the only requirement is you need an entry html file - (index.html, default.html or whatever one choses to call it).
Please see readme page ...
@mattkol Have you though about integrating
Asp.Net Core Mvc with
Chromely? By this I mean a direct integration using
OWIN. Having a scheme handler factory make requests into the
Asp Net Core pipeline to fulfil responses. Basically in memory requests, without the use of any sort of network connection.
I have a fairly basic prototype of integrating
Asp.Net Core Mvc with
CefSharp using a
scheme handler factory.
The plumbing is fairly generic, there are only two lines in the current
IServer implementation that are
CefSharp specific, it could fairly easily be refactored out so other implementations could take advantage.
Thoughts? I have a private
GitHub repo that I can grant you access to if you are interested in checking it out.
@amaitland that is a great idea.
Yes, I did look at OWIN in the past but decided against it as it will require bringing in Asp.Net framework itself (so I thought at the time). But if we can use a part of it like the controller actions without needing the server/hosting part of Asp.net MVC that will be a good way forward.
If its heavy for the framework we can create a demo/extension for developers who will find it useful.
Please I will like a look. Thanks.
It is posible to deploy chromely with it is dependencies(with chromium) separately.
Yes. Chromely does not support installation/packing so you can deploy how you want. We do allow download of Cef binaries during run but you can block that too. https://github.com/chromelyapps/Chromely/blob/1f95b7d1475cd56bd9a50b1d8df7140e42810e22/src/Chromely.Core/Configuration/ICefDownloadOptions.cs#L8
And the other is, console app being visible in my demo on Windows. Is there an option to hide console on runtime?
Yes. On Windows you use Windows option instead of Console. Or editbin.exe. On Linux, Mac, I am sure there are similar approaches.
Is it possible to resolve chromium binaries with the different directory?
CefGlue provides that for Windows, but Chromely does not provide that out of the box, you need to do some work to make that change.
Is there an option to pass args to browsersubpeocess activation?
I am assuming you are passing it as a command line argument.
You can register a custom CefBrowserProcessHandler and do it here; https://github.com/chromelyapps/Chromely/blob/1f95b7d1475cd56bd9a50b1d8df7140e42810e22/src/Chromely/Browser/Handlers/DefaultBrowserProcessHandler.cs#L28
Alternatively you can use the configuration property - ExtensionData