ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ API Support » querying MQ via ADSI (on Windows, in C#)

Post new topic  Reply to topic
 querying MQ via ADSI (on Windows, in C#) « View previous topic :: View next topic » 
Author Message
dpchiesa
PostPosted: Thu Apr 03, 2003 3:37 pm    Post subject: querying MQ via ADSI (on Windows, in C#) Reply with quote

Apprentice

Joined: 29 May 2002
Posts: 46

I thought this might be useful for some people.

I was exploring ways to query MQ on Windows. I looked at the ma7p supportpac - it includes the beginning of PCF support, but it's not all there yet.

MQAI was not quite what I wanted.

So I looked into ADSI. Since v5.1 (?I think?) MQSeries on Windows includes an ADSI provider. This means using standard ADSI calls, a windows app can query MQ, find the queue managers on the machine, the objects managed by each QM, properties of those objects, etc. You can also update the MQ config using this API.

The result of my effort is a sample project that illustrates the use of ADSI to communicate with MQ. It is distributed as a Visual Studio .NET "solution", with 4 projects. It will open only with VS2003. But source code is included and you can view it with any text editor.

download here:
http://www.winisp.net/cheeso/dl/mq-admin-via-adsi.zip


Also the exe image is included for those of you who are trusting enough to run it. A Screen shot is included here:



I hope this is interesting to some of you. Enjoy!
_________________
-dpchiesa
Back to top
View user's profile Send private message
ping master
PostPosted: Thu Apr 03, 2003 4:27 pm    Post subject: Reply with quote

Centurion

Joined: 20 Sep 2002
Posts: 116
Location: USA

looks cool,

I have Visual Studio.NET but I have never used it all.

I would like to learn C#, isn't it pretty similar to Java?

what are some good resources for learning C# ?

thanks alot
Back to top
View user's profile Send private message
dpchiesa
PostPosted: Fri Apr 04, 2003 6:05 am    Post subject: Visual Studio .NET Reply with quote

Apprentice

Joined: 29 May 2002
Posts: 46

[disclaimer, I work for microsoft. Please pardon the commercial message.]

C# syntax is similar to Java syntax, yep.
And both are based on the idea of managed memory and a bytecode/JIT model of execution.
The base class libraries are quite different. Although they both have Collections classes, and IO classes, etc, there are numerous little differences in the specifics. And of course the class hierarchy is different. (Java packages vs .NET namespaces).
Also, there is a big practical difference: .NET is (at the moment?) a Windows-only thing, while Java is available on many platforms.

Here's a brief comparison
http://students.itb.ac.id/~rurie/Others/CsharpVsJava.html

You can develop in C# or VB.NET with the .NET SDK, which is a free download. This is like the JDK: you get command-line compilers, debuggers, other tools. VS.NET is the commercial IDE. You have to pay for it, but you can get timebomb eval versions.

Google for C# and you will find some useful sites. gotdotnet.com is a good starting point.
_________________
-dpchiesa
Back to top
View user's profile Send private message
ping master
PostPosted: Fri Apr 04, 2003 1:46 pm    Post subject: Reply with quote

Centurion

Joined: 20 Sep 2002
Posts: 116
Location: USA

Cool, thanks for the gotdotnet link, When I glanced at C# it looks more than similar to Java, heck it even has garbage collection!? that could be a good thing though, because I'm a big Java fan so hopefully it wont be too hard to learn.


Code:


{
C# == (microsoft)JAVA;
}




$Ping Master
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » querying MQ via ADSI (on Windows, in C#)
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.