Embed a Chromium browser panel inside a WPF or WinForms Windows desktop application so users can view web pages without switching apps.
Automate web page loading, JavaScript execution, and content extraction from within a .NET application using the OffScreen headless mode.
Build a Windows desktop app that wraps a web-based product, giving it a native application feel while running on web technologies.
Chromium binaries bundled via NuGet are large, expect a significant download on first install.
CefSharp lets you embed a full web browser inside a Windows desktop application built with .NET. The browser it embeds is based on Chromium, the same open source project that powers Google Chrome. So rather than opening a separate browser window, your application can contain a browser panel directly inside its own interface. Users can load web pages, run JavaScript, and interact with web content without leaving your application. The library comes in a few forms to support different styles of Windows app development. There is a version for WPF applications, which is one of the more modern ways to build Windows desktop apps with .NET. There is also a version for WinForms, an older but still widely used Windows UI framework. A third version called OffScreen lets you load and process web pages without showing any visible window at all, which is useful for tasks like automated testing or scraping content from web pages. Installation is done through NuGet, which is the package manager for .NET projects. You add the appropriate CefSharp package to your project and it brings in all the necessary files, including the Chromium binaries. The README notes that these binaries are large, so download size is something to be aware of. About 30 percent of the library is written in a hybrid C++ and C# language called C++/CLI, which is what allows it to bridge between the native Chromium code and the .NET world. The remaining code is standard C# and can be used from any .NET language, including Visual Basic. CefSharp is licensed under the BSD license, which permits use in both commercial and open source applications. The project is maintained by the community and has been active for many years. Stable releases are published on NuGet, and pre-release builds are also available for testing newer Chromium versions before they reach a stable release.
← cefsharp on gitmyhub — every repo by this author, as a profile.
Verify against the repo before relying on details.