CefSharp

.NET (WPF and Windows Forms) bindings for the Chromium Embedded Framework (by cefsharp)

CefSharp Alternatives

Similar projects and alternatives to CefSharp

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better CefSharp alternative or higher similarity.

Suggest an alternative to CefSharp

Reviews and mentions

Posts with mentions or reviews of CefSharp. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-08-26.
  • Cancelling a TaskCompletionSource wait
    1 project | reddit.com/r/CefSharp | 11 Nov 2021
    Imports System.Threading Imports CefSharp Imports CefSharp.WinForms Public Class Waits Private Cancellation_Token_Source As CancellationTokenSource Private Property Chromium As ChromiumWebBrowser Sub New(Chromium As ChromiumWebBrowser) Me.Chromium = Chromium End Sub Public Sub Create_Cancellation_Token() ' Needs to be created the first time and after a cancel. Otherwise, we can just use the same one. If Cancellation_Token_Source Is Nothing OrElse Cancellation_Token_Source.IsCancellationRequested Then Cancellation_Token_Source = New CancellationTokenSource End Sub Public Sub Cancel() Cancellation_Token_Source.Cancel() Cancellation_Token_Source.Dispose() End Sub Public Function Page_Load_Task() As Task ' Original source: https://github.com/cefsharp/CefSharp/blob/cefsharp/83/CefSharp.OffScreen.Example/Program.cs#L127 Dim Handler As EventHandler(Of LoadingStateChangedEventArgs) Dim Task = New TaskCompletionSource(Of Boolean)(TaskCreationOptions.RunContinuationsAsynchronously) Dim Cancellation_Token As CancellationToken = Cancellation_Token_Source.Token Cancellation_Token.Register(Sub() Task.TrySetCanceled()) Handler = Sub(Sender, Arguments) ' Wait for the entire page to finish loading and not just the first frame. If Not Arguments.IsLoading Then RemoveHandler Chromium.LoadingStateChanged, Handler ' It is important that the continuation runs async via TaskCreationOptions.RunContinuationsAsynchronously. Task.TrySetResult(True) End If End Sub AddHandler Chromium.LoadingStateChanged, Handler Return Task.Task End Function Public Async Function Page_Load() As Task ' Wrapper to silently catch exception upon cancellation. Try Await Page_Load_Task() Catch TaskCanceledException As Exception End Try End Function Public Function Url_Change_Task(Fragment As String) As Task ' Waits for page to load with a url that end with the fragment. (Modifed from Page_Load().) Dim Handler As EventHandler(Of AddressChangedEventArgs) Dim Task = New TaskCompletionSource(Of Boolean)(TaskCreationOptions.RunContinuationsAsynchronously) Dim Cancellation_Token As CancellationToken = Cancellation_Token_Source.Token Cancellation_Token.Register(Sub() Task.TrySetCanceled()) Handler = Sub(Sender, Arguments) If Arguments.Address.EndsWith(Fragment) Then RemoveHandler Chromium.AddressChanged, Handler Task.TrySetResult(True) End If End Sub AddHandler Chromium.AddressChanged, Handler Return Task.Task End Function Public Async Function Url_Change(Fragment As String) As Task ' Wrapper to silently catch exception upon cancellation. Try Await Url_Change_Task(Fragment) Catch TaskCanceledException As Exception End Try End Function Public Sub Sleep(Optional Deciseconds As Integer = 1) For Second As Integer = 1 To Deciseconds If Cancellation_Token_Source.IsCancellationRequested Then Exit For Thread.Sleep(100) Application.DoEvents() Next End Sub End Class
  • Massive file size 298.2GB
    3 projects | reddit.com/r/grocy | 26 Aug 2021
    grocy-desktop doesn't do any logging on purpose (CefSharp is the web browser component used).
  • Does anybody know what this means? Is it bad?
    1 project | reddit.com/r/Windows10 | 3 May 2021
    It’s part of an app that uses https://cefsharp.github.io/ good luck trying to find which one. I wouldn’t worry about it if no apps are actually effected. But try launching ones to see what triggers it and report it back to the developer.
  • Blazor WebView - App Desktop
    1 project | dev.to | 19 Apr 2021
    CefSharp - Fast web browser for WinForms and WPF Apps
  • .NET Core ASP - PDF Generation for hosting on Azure?
    4 projects | reddit.com/r/dotnet | 13 Apr 2021
    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
    24 projects | dev.to | 21 Nov 2020
    cefsharp/CefSharp (C#): .NET (WPF and Windows Forms) bindings for the Chromium Embedded Framework

Stats

Basic CefSharp repo stats
6
8,402
9.5
2 days ago

cefsharp/CefSharp is an open source project licensed under GNU General Public License v3.0 or later which is an OSI approved license.

Scout APM: A developer's best friend. Try free for 14-days
Scout APM uses tracing logic that ties bottlenecks to source code so you know the exact line of code causing performance issues and can get back to building a great product faster.
scoutapm.com
Find remote C# jobs at our new job board 99remotejobs.com. There are 2 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.