<Window.Resources>
<DataGrid x:Key="PersonDataGrid" AutoGenerateColumns="False" ItemsSource="{Binding .}" x:Shared="False">
<DataGrid.Columns>
<DataGridTextColumn Header="First Name" Binding="{Binding Path=FirstName}" IsReadOnly="True"/>
<DataGridTextColumn Header="Last Name" Binding="{Binding Path=LastName}" IsReadOnly="True"/>
</DataGrid.Columns>
</DataGrid>
</Window.Resources>
<StackPanel>
<ContentControl Content="{StaticResource PersonDataGrid}" DataContext="{Binding Path=Customers}" />
<ContentControl Content="{StaticResource PersonDataGrid}" DataContext="{Binding Path=Employees}" />
</StackPanel>
<link rel="alternate" hreflang="x-default" href="http://site.com/" />
<link rel="alternate" hreflang="en" href="http://site.com/?lang=en" />
<link rel="alternate" hreflang="ru" href="http://site.com/?lang=ru" />
var serviceHost = new ServiceHost(typeof(MessageService));
var uri = new Uri("http://localhost:8000/WCFDuplexServiceTest/MessageService")
serviceHost.AddServiceEndpoint(typeof(IMessageService), new WSDualHttpBinding(), uri);