Tharnadar
Tharnadar

Reputation: 65

C# equivalent of Android WebView for desktop application

i need to create a desktop application in C# that integrates a "web browser" more or less like an Android WebView, the purpose is to host a specific web site and provide it some javascripts functionality.

A similar question on StackOverflow is this one, but i need to do it only in .net c#.

I will add other explanation if needed.

Thank you

Upvotes: 0

Views: 1506

Answers (3)

maiksaray
maiksaray

Reputation: 355

There are different solutions on the net for embedded web-content. They are:

  • WebBrowser control from Microsoft (uses Trident engine that is installed on the client machine)
  • Awesomium.NET (uses Chromium engine that is packed with lib and lots of useful wrappers)
  • CefSharp (uses Chrome Embedded Framework)

I've used Awesomium.net, since you couldn't really rely on client's IE and CefSharp is pretty fresh and was not available back then. Awesomium has lots of useful features like Js execution from .NET code and vice-versa. But I'd recommend you to look at CefSharp since it's more perspective

Upvotes: 0

Tharnadar
Tharnadar

Reputation: 65

Thank you Saverio and Tasos, you both helped me to find a good answer to my question.

Hosting and interacting with a webpage inside a WPF App

this is exactly what i need to do.

Best regards!

Upvotes: 0

Saverio Terracciano
Saverio Terracciano

Reputation: 3915

I think what you're looking for is the WebBrowser control. You can find more informations about what it is and how to use it here:

Upvotes: 1

Related Questions