I want to set a page background to an image that i download from web, and it works only in designer view. But when i start the app in emulator or on device it just doesn't work(it doesn't get downloaded and set). Mainfest is set to require internet connection. I've tried to find the solution but with no success...
<Page
x:Class="App1.MainPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:App1"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d">
<Page.Background>
<ImageBrush Stretch="UniformToFill">
<ImageBrush.ImageSource>
<BitmapImage UriSource="http://i.imgur.com/XAAcx5d.jpg"/>
</ImageBrush.ImageSource>
</ImageBrush>
</Page.Background>
</Page>