Click here to Skip to main content
15,896,201 members
Articles / Programming Languages / C# 4.0

Wcf Client Server Push using MSMQ

Rate me:
Please Sign up or sign in to vote.
4.88/5 (6 votes)
8 Feb 2011CPOL3 min read 58.8K   2.2K   35  
Client Server internal push technology using MSMQ and WCF
<Window x:Class="WcfServerPush.MainWindow"
		xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
		xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
		Title="MainWindow" Height="350" Width="522">
	<Grid>
		<StackPanel Height="311" HorizontalAlignment="Left"  Name="stackPanelMain" VerticalAlignment="Top" Width="500" Orientation="Horizontal">
			<StackPanel Height="311" Name="stackPanelServer" Width="250" Orientation="Vertical">
				<Button Content="Start Server" Height="30" Margin="10" Name="buttonStartServer" Width="130" FontSize="18" Click="buttonStartServer_Click" />
				<TextBox Height="214" Name="textBoxServer" Width="226" />
				<Button Content="Transmit Message" Height="30" Margin="10" Name="buttonTransmitMessage" Width="130" FontSize="14" Click="buttonTransmitMessage_Click" />
			</StackPanel>
			<StackPanel Height="311" Name="stackPanelClient" Width="250"   Orientation="Vertical">
				<Button Content="Start Client" Height="30" Margin="10" Name="buttonStartClient" Width="130" FontSize="18" Click="buttonStartClient_Click" />
				<TextBox Height="214" Name="textBoxClient" Width="226" />
			</StackPanel>
		</StackPanel>
		
	</Grid>
</Window>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Canada Canada
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions