How to Add a Browser Component to WPF Application with DotNetBrowser 1.x

Опубликовано: 11 Май 2017
на канале: Embedded Browsers
8,298
30

In this video, we'll walk you through process of adding DotNetBrowser to a WPF application.
Download DotNetBrowser form the Visual Studio Gallery: https://goo.gl/Pj7EhZ
Get a free 30-days DotNetBrowser trial licence: https://www.teamdev.com/dotnetbrowser...

About DotNetBrowser:

DotNetBrowser allows integrating a Chromium-based browser with your .NET app to display and process HTML5, CSS3, JavaScript, Flash etc.

To learn more about DotNetBrowser go to https://www.teamdev.com/dotnetbrowser...

For more ideas on using an advanced browser-component in your .NET application, please see examples on DotNetBrowser support site https://dotnetbrowser.support.teamdev...


Transcript:

0:10 Download DotNetBrowser from the Visual Studio Gallery.

0:19 Visit visualstudiogallery.msdn.microsoft.com and search for
DotNetBrowser.

0:27 Click on the Get Started button to Ddownload the VSIX
package.

0:35 Read the Product Licence Agreement and click Install. (The
package is being installed to the Visual Studio toolbox).

0:45 Add DotNetBrowser to the Visual Studio ToolBox.

0:52 Launch Visual Studio and create a new project.

0:56 I have chosen WPF Application for my project.

1:00 I’m going to call my project “DotNetBrowser_WPF”.

1:05 Open the Toolbox in Designer mode. Here we can see
DotNetBrowser installed as one of the components.

1:16 Double-click WPFBrowserView to add it to the form.

1:22 Remove unnecessary boundaries to fill the whole window.

1:31 Let’s set the initial window size to the whole desktop.

1:38 Click on the component to change its properties.

1:46 Choose the URL property.

1:57 Add the Licence File.

2:03 To add the component licence file, right-click on our Project.
Choose Add - Existing Item.

2:10 Please note: you should select All Files to see the licence file.

2:20 Select the licence file in the Solution Explorer and change the
Build Action to Embedded Resources to finish the licence
setup.

2:29 Build your Project

2:34 Compile and launch the application (Ctrl + F5 (start without
debugging) in Visual Studio 2015).


#DotNetBrowser
#EmbeddedBrowsers
#WPF_Application