CppSharp
CefSharp
Our great sponsors
CppSharp | CefSharp | |
---|---|---|
3 | 22 | |
2,767 | 9,431 | |
1.8% | 0.5% | |
7.7 | 8.3 | |
5 days ago | 1 day ago | |
C# | C# | |
MIT License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
CppSharp
-
Recommendation for software to aid with creating a C# wrapper around a c++ library
Or take a look at the tools CppSharp or SWIG, s.a. Example for SWIG to wrap C++ library in .Net 6.
-
COM or C++/CLI layer for long-term maintenance?
I would give CppSharp a crack first. It generates a .net wrapper using pinvoke.
CefSharp
-
Is there a way to dynamically interpret a string as javascript within a C# winforms program?
I dont want to state the obvious but of course there is CefSharp .. But of course thats pretty heavy duty as you end shipping a headless version of Chrome in your app, but it can do anything a browser can do (of course it can, its Chrome), including exectuting a JavaScript string on the fly and getting a response. Because its Chrome you evenn have access the the dev tool and everything like that. But the other suggestions might be better suited as they might be more lightweight.
-
How do control a browser?
Two options: Either use an embedded browser you can control programmatically like CefSharp (https://cefsharp.github.io/) or spawn a real browser and use sendkeys() to control the browser by emulating user input.
-
Chrome extensions in .NET web view controls
Chrome Runtime discussion in CefSharp repository.
-
Is there something like Electron or Tauri for dotnet?
I always use https://cefsharp.github.io/
- HTMLtoPDF
-
Massive file size 298.2GB
grocy-desktop doesn't do any logging on purpose (CefSharp is the web browser component used).
-
.NET Core ASP - PDF Generation for hosting on Azure?
Haven’t seen anyone suggest this, but an option would be to use https://github.com/cefsharp/CefSharp and basically render some html, open it in chromium and use the print feature. It does a pretty decent job. It may not be a solution for heavy loads, as it was demanding quite a lot of resources for such a “basic” task.
-
Weekly Developer Roundup #23 - Sun Nov 22 2020
cefsharp/CefSharp (C#): .NET (WPF and Windows Forms) bindings for the Chromium Embedded Framework
What are some alternatives?
SWIG - SWIG is a software development tool that connects programs written in C and C++ with a variety of high-level programming languages.
PuppeteerSharp - Headless Chrome .NET API
ASP.NET Core - ASP.NET Core is a cross-platform .NET framework for building modern cloud-based web applications on Windows, Mac, or Linux.
PythonNet - Python for .NET is a package that gives Python programmers nearly seamless integration with the .NET Common Language Runtime (CLR) and provides a powerful application scripting tool for .NET developers.
pinvoke - A library containing all P/Invoke code so you don't have to import it every time. Maintained and updated to support the latest Windows OS.
Sharpen - Sharpen is an Eclipse plugin created by db4o that allows you to convert your Java project into c#
CXXI - C++ interop framework
PInvoke Interop Assistant - PInvoke Interop Assistant
LegacyWrapper - LegacyWrapper uses a x86 wrapper to call legacy dlls from a 64 bit process (or vice versa).
libffi - A portable foreign-function interface library.