Posts

Showing posts from July, 2016

Microsoft message queue (MSMQ) in C# and .NET

Image
This article is written based on Microsoft Windows 7 using C# and .NET framework 2.0. Microsoft message queue (MSMQ) is one of the technique with which you can achieve communication between two application processes running in same machine, under Windows platform. To use MSMQ, you need to add reference System.Messaging explicitly in to your project and then you can avail its functionalities. Two very basic functions of MessageQueue class are Send() and Receive(). Send() method sends data to the message queue while Receive() method reads data from the message queue. Microsoft Windows OS have three types of message queuing techniques and those are: - 1. Outgoing queue 2. Private queue 3. System queue To view a queue, right click on MyCoputer -> Manage , expand Services and Applications and then expand Message Queuing .  All queue used to enlist here, under the respective category that you have chosen while creating a message queue. C# code t