In this Quick Start Guide you will learn how to download the DotNetBrowser library, get an evaluation licence, and create, configure and run your first .NET WPF Application which loads and displays the web page.


Windows 7, Microsoft Visual Studio 2013, .NET Framework 4.5.

The sample solution that demonstrates how to embed lightweight or heavyweight controls into WPF applications can be downloaded here. The projects in this solution have NuGet dependencies, which will be resolved automatically during build.

1. Download the Library

To download DotNetBrowser library go to and click the Download button. Extract the downloaded archive into the D:\Projects\DotNetBrowser\ directory

2. Download the Licence

To get a free 30-day evaluation licence please fill the web form and click the Evaluate button. You will receive an email with a link. Use this link to download your evaluation licence (teamdev.licenses). Save the licence file in the D:\Projects\DotNetBrowser\Library\ directory.

3. Create a WPF Application

Create a new WPF.DotNetBrowser WPF Application C# Project or WPF Application Visual Basic Project in the D:\Projects\DotNetBrowser directory:

DotNetBrowser – Create WPF Application

4. Add DotNetBrowser.dll

In Solution Explorer right-click References and select the Add References... menu item:

In the opened Reference Manager dialog click the Browse... button:

Select the D:\Projects\DotNetBrowser\Library\DotNetBrowser.dll file and click Add :

Click OK:

DotNetBrowser.Chromium.dll is found automatically if it is located in the same folder, near DotNetBrowser.dll. But you may add it to your references too, especially if the project deployment is done using Visual Studio means. Both of these assemblies are required to be present.

5. Add your Licence

In Solution Explorer right-click WPF.DotNetBrowser and select Add — Existing Item...:

In the File Open dialog select the D:\Projects\DotNetBrowser\Library\teamdev.licenses file and click Add:

In Solution Explorer right-click teamdev.licenses and select Properties:

In the Properties panel change Build Action to Embedded Resource:

6. Change the Source Code

Insert the following code into the MainWindow.xaml file:


<Window x:Class="WPF.DotNetBrowser.MainWindow"
        Title="MainWindow" Height="350" Width="525">
    <Grid Name="mainLayout">



7.a C# .NET



using DotNetBrowser;
using DotNetBrowser.WPF;

namespace WPF.DotNetBrowser
    public partial class MainWindow : Window
        BrowserView webView;

        public MainWindow()

            webView = new WPFBrowserView();


7.b Visual Basic .NET



Imports DotNetBrowser
Imports DotNetBrowser.WPF

Namespace WPF.DotNetBrowser

    Class MainWindow
        Private webView As BrowserView

        Public Sub New()


            webView = New WPFBrowserView()

        End Sub
    End Class
End Namespace
Run Application


8. Run the Application

To run the application press F5 or click the Start button in the toolbar. If you have done everything correctly then you will see the following: