Requirements


 Visual Studio 2013 or 2015

Steps

To complete these post follow the steps

Step 1:

Open Visual Studio 2013 or 2015

Step 2:

In Visual Studio, click New Project option.



Step 3:

In the New Project wizard, select Windows universal blank application and give the project name as Webview.



Step 4:

Choose the Minimum Windows 10 SDK Version as Windows 10 Build 10240 and click Ok.



Step 5:

Once the project is loaded completely, then open the MainPage.Xaml from Solution Explorer.



Step 6:

From the toolbar, select Webview, Textbox and button as shown below.

Code:

MainPage.Xaml

01.<Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
02.        <WebView x:Name="Webview" HorizontalAlignment="Left" Height="584"
03.         Margin="10,126,0,0" VerticalAlignment="Top" Width="1260"/>
04.        <TextBox x:Name="textBox" HorizontalAlignment="Left" Margin="388,32,0,0"
05.         TextWrapping="Wrap" Text="TextBox" VerticalAlignment="Top" Height="45"
06.         Width="428" InputScope="Url"/>
07.        <Button x:Name="button" Content="Search" HorizontalAlignment="Left"
08.         Margin="845,38,0,0" VerticalAlignment="Top" Click="button_Click"/>
09.    </Grid>

MainPage.Xaml.cs

1.String URL = textBox.Text;
2.Webview.Navigate(new Uri(URL, UriKind.Absolute));

Step 7:

Once the coding is completed, then click debug option and don't forget to verify Debug architecture as X86.




Output