Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / Enterprise Tools / August 2003

Tip: Looking for answers? Try searching our database.

VS.NET Analyzer and EIF

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Teo - 08 Aug 2003 19:11 GMT
I find it strange that after two releases of VS.NET, the Visual Studio
Analyzer it is still COM oriented and doesn't capture .NET specific events.

Can someone confirm that currently is not possible to capture WMI or any
other .NET native events, e.g. ADO.NET, ASP.NET, etc, in Visual Studio
Analyzer via EIF? I have a sample Win Forms application which successfully
raises events to different sinks but I am unable to capture them using VSA.
In addition, are there other tools similar to VSA which allow capturing WMI
events?
Mike Hayton [MS] - 12 Aug 2003 00:20 GMT
I agree about the strangeness.

From my somewhat limited understanding of VS Analyzer (& much better
understanding of EIF) you could do the following:

1. There is something called the WMI Event Bridge - that allows VS Analyzer
to capture WMI events. From this regard EIF events output through WMI could
be caught in VS Analyzer.

2. In the VS Analyzer SDK there are managed code samples showing how to
raise events into the VS Analyzer system. You could write an EIF event Sink
that outputs into VS Analyzer. From memory the VS Analyzer event doesnt
have an event schema like EIF, it consisted of a single event with a bunch
of standard properties that you would set, and a bunch of custom properties
(Field1, Field2, Field3, etc that you can put in anything you want). I was
told that interestly enough, you dont have to do this real time - you could
say write a tool that read in a trace log file, and for each event output
an VS Analyzer event. As long as the time stamp was correct, the VS
Analyzer would display the events correctly.

Here are the links that I've managed to find on MSDN:
re: 1)  
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vsavs70/htm
l/veoriwmieventsubscription.asp
re: 2)  
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/anlyzsdk/ht
ml/vsoriVisualStudioAnalyzerSDK.asp

Im not sure where the VS Analyzer SDK can be downloaded from.
A definite got-ya is the confusion arising from the VS for Applications
also using the VSA anagram.

I hope this helps

Mike

--------------------
| I find it strange that after two releases of VS.NET, the Visual Studio
| Analyzer it is still COM oriented and doesn't capture .NET specific events.
[quoted text clipped - 5 lines]
| In addition, are there other tools similar to VSA which allow capturing WMI
| events?

Signature

This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm

Teo - 13 Aug 2003 22:57 GMT
Thanks for the answer, Mike.

I would love to see both VSA and ACT more integrated with .NET in the next
release of VS.NET.

> I agree about the strangeness.
>
[quoted text clipped - 18 lines]
> Here are the links that I've managed to find on MSDN:
> re: 1)

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vsavs70/htm
> l/veoriwmieventsubscription.asp
> re: 2)

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/anlyzsdk/ht
> ml/vsoriVisualStudioAnalyzerSDK.asp
>
[quoted text clipped - 19 lines]
> WMI
> | events?

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.