Chromely is a .NET/.NET Core HTML5 Chromium desktop framework. It is focused on building apps using embedded Chromium (Cef) without WinForm or WPF. Chromely uses Windows and Linux native GUI API as chromium hosts. It can be extended to use WinForm or WPF. Main form of communication with Chromium rendering process is via Ajax HTTP/XHR requests using custom schemes and domains (Xilium.CefGlue, CefSharp), .NET/Javascript integration (CefSharp), Generic Message Routing (Xilium.CefGlue).
Cross-platform - Windows, Linux. Built on CefGlue, CefSharp, NET Standard 2.0, .NET Core 2.0, .NET Framework 4.61 and above.
For more info/documentation, please check Chromely wiki.
For more info see - Getting Started
class Program
{
static int Main(string[] args)
{
string startUrl = "https://google.com";
ChromelyConfiguration config = ChromelyConfiguration
.Create()
.WithAppArgs(args)
.WithHostSize(1000, 600)
.WithStartUrl(startUrl);
var factory = WinapiHostFactory.Init();
using (var window = factory.CreateWindow(() => new CefGlueBrowserHost(config),
"chromely", constructionParams: new FrameWindowConstructionParams()))
{
window.SetSize(config.HostWidth, config.HostHeight);
window.CenterToScreen();
window.Show();
return new EventLoop().Run(window);
}
}
}
For more info on demos - Demos
- WinApi - https://github.com/prasannavl/WinApi
- Cef - https://bitbucket.org/chromiumembedded/cef
- Xilium.CefGlue - https://bitbucket.org/xilium/xilium.cefglue/wiki/Home
- CefSharp - https://github.com/cefsharp/CefSharp
- Json Serializer - https://github.com/lbv/litjson
- Caliburn.Light Container - https://github.com/tibel/Caliburn.Light/blob/master/src/Caliburn.Core/IoC/SimpleContainer.cs