Click here to Skip to main content
15,902,635 members
Home / Discussions / C#
   

C#

 
GeneralRe: Don't think this is for "screw" my machine Pin
Dave Kreskowiak12-Aug-04 6:08
mveDave Kreskowiak12-Aug-04 6:08 
QuestionCan C# register my own windows message Like VC++ do? Pin
fu011-Aug-04 21:27
fu011-Aug-04 21:27 
AnswerRe: Can C# register my own windows message Like VC++ do? Pin
DRVoodoo12-Aug-04 19:53
DRVoodoo12-Aug-04 19:53 
GeneralRe: Can C# register my own windows message Like VC++ do? Pin
fu015-Aug-04 2:12
fu015-Aug-04 2:12 
Generalreceiving signal from parallel port Pin
gkhnyldrm11-Aug-04 21:04
gkhnyldrm11-Aug-04 21:04 
Generalwrite IO.Stream to a file Pin
pushpi11-Aug-04 20:49
pushpi11-Aug-04 20:49 
GeneralRe: write IO.Stream to a file Pin
ChrisAdams12-Aug-04 0:03
ChrisAdams12-Aug-04 0:03 
GeneralMessaging with HTTP support Pin
Aryadip11-Aug-04 20:22
Aryadip11-Aug-04 20:22 
Hi,
As you all know MSMQ 3.0 supports HTTP messaging. Now it takes the Queue Path in the form :
DIRECT=HTTP://localhost/msmq/private$/MyQueue
where localhost represents the machine or site name, msmq represents the virtual directory name , private$ tells that the queue is a private Queue and MyQueue is the Queue name.

We can use "system.Messaging" namespace to send and receive message from "MyQueue" over HTTP.

By default MSMQ HTTP takes msmq as the virtual directory and gets created when you install MSMQ with HTTP support. MSMQ documentation says that we can change the Virtual directory if we want to by configuring MSMQ using IIS. The exact sentence is quoted below :

"Destination queues for HTTP messages are opened using direct format names that include the URL address of the target computer, the virtual directory name, and the queue name separated by slashes. The default virtual directory name is msmq, but Message Queuing can be configured by IIS to use a different virtual directory. "

Now there are 2 parts in my Question...

1) How do you configure MSMQ using IIS to use a different Virtual Directory

2) how to use "System.Messaging" namespace of .NET framework to send a message over HTTP using different virtual directory name (the problem is if you specify anything other than "msmq" in the URL the MessageQueueException is thrown with Invalid Format Name as the error text)
E.G. : DIRECT=HTTP://localhost/msmq1/private$/MyQueue
where msmq1 is the new virtual directory configured for MSMQ

Hope my Question is clear enough... hoping for a positive reply...

regards,
Aryadip.

Cheers !! and have a Funky day !!

GeneralSystem.Globalization - Chinese Translation Pin
KKCodePro11-Aug-04 20:16
KKCodePro11-Aug-04 20:16 
GeneralRe: System.Globalization - Chinese Translation Pin
Jay Shankar11-Aug-04 21:02
Jay Shankar11-Aug-04 21:02 
GeneralRe: System.Globalization - Chinese Translation Pin
Jay Shankar11-Aug-04 22:39
Jay Shankar11-Aug-04 22:39 
GeneralRe: System.Globalization - Chinese Translation Pin
Colin Angus Mackay11-Aug-04 22:58
Colin Angus Mackay11-Aug-04 22:58 
GeneralRe: System.Globalization - Chinese Translation Pin
Anonymous11-Aug-04 23:04
Anonymous11-Aug-04 23:04 
GeneralRe: System.Globalization - Chinese Translation Pin
Colin Angus Mackay11-Aug-04 23:45
Colin Angus Mackay11-Aug-04 23:45 
GeneralRe: System.Globalization - Chinese Translation Pin
Jay Shankar12-Aug-04 0:30
Jay Shankar12-Aug-04 0:30 
GeneralRe: System.Globalization - Chinese Translation Pin
Colin Angus Mackay12-Aug-04 0:44
Colin Angus Mackay12-Aug-04 0:44 
GeneralXmlNode.Value Property Pin
eggie511-Aug-04 19:33
eggie511-Aug-04 19:33 
GeneralRe: XmlNode.Value Property Pin
ChrisAdams12-Aug-04 0:00
ChrisAdams12-Aug-04 0:00 
GeneralRe: XmlNode.Value Property Pin
eggie512-Aug-04 7:01
eggie512-Aug-04 7:01 
GeneralRe: XmlNode.Value Property Pin
eggie512-Aug-04 7:10
eggie512-Aug-04 7:10 
GeneralRe: XmlNode.Value Property Pin
ChrisAdams12-Aug-04 9:47
ChrisAdams12-Aug-04 9:47 
QuestionHow to manage DB transaction using MTS Pin
yu-yu11-Aug-04 18:19
yu-yu11-Aug-04 18:19 
GeneralScrollBar Woes... Pin
Anonymous11-Aug-04 17:26
Anonymous11-Aug-04 17:26 
GeneralRe: ScrollBar Woes... Pin
Jay Shankar11-Aug-04 21:10
Jay Shankar11-Aug-04 21:10 
Questionhow to capture user input value in UserControl Pin
changcn11-Aug-04 17:03
changcn11-Aug-04 17:03 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.