Scott on Writing

Musings on technical writing...

More Enterprise Library Goodness... and GDS Moves Out of Beta!

Over the weekends I've been tinkering around with Microsoft's recently released Enterprise Library and wrote an article focusing on the Data Access Application Block in the Enterprise Library for this week's 4Guys article: Working with the Enterprise Library's Data Access Application Block.  This is my second article on the Enterprise Library, the first being a general introduction piece: An Introduction to the Microsoft Enterprise Library.  (For those in San Diego who are interested in the Entrprise Library, I'll be giving a free user group talk on the Enterprise Library and DAAB at the San Diego ASP.NET SIG on Tuesday, April 19th.)

I've yet to have a chance to use the Enterprise Library in a real-world project -  all my current projects use the DAAB version 2.0 - but I'm itching to move to the Enterprise Library, if nothing else to have the instrumentation features built into the Enterprise Library.


On an aside, Google has moved its Google Desktop Search (GDS) out of beta.  I gave GDS a trial run back in its beta days but stuck with Lookout because I wanted to be able to index source code files as well as non-AIM chat logs.  The latest version of GDS includes a plugin framework and there are a gaggle of plugins available, including ones for searching text files (i.e., source code) and one for Trillian Pro (my IM client).  (There are also ones for searching .chm files and OpenOffice and StarOffice files as well.)  In addition to these plugins, the new GDS version also searches Firefox history, PDF docs, music files, images, and video files.  Not bad.  All of this plug Google's world-class ease of use and lightning fast search speeds.

What really sold me on the new GDS version was the ability to search by file extension.  Say I want to look at how I implemented a custom ASP.NET server control that implemented IStateManager to extend the view state loading and saving.  The following search query would fit the bill:

filetype:cs +IStateManager +LoadViewState +SaveViewState

And - bang - there are all the C# source files I was interested in.  Viva la Google!  :-)

posted on Tuesday, March 08, 2005 10:14 PM

Feedback

# re: Enterprise Library - Data Access Application Block 3/9/2005 11:06 AM Joel's Virtual Desktop

# re: More Enterprise Library Goodness... and GDS Moves Out of Beta! 3/9/2005 6:55 PM Scott Mitchell

Found some great resources on the Ent Lib by Ron Jacobs:
http://www.ronjacobs.com/Webcast/default.htm

There's PowerPoint slides, code samples, and web casts, oh my! Definitely worth checking out.

# re: More Enterprise Library Goodness... and GDS Moves Out of Beta! 3/19/2005 3:47 PM Ashok Padmanabhan

Hey Scott,
I read your article on 4guys about the enterprise library daab. I have been playing with it but cant get it to work. I have no issues when using the daab 2.0. That works fine. And i do have net 2.0 installed on this machine. I keep getting this error:

The source was not found, but some or all event logs could not be searched. Inaccessible logs: Security.
Line 34: ds = db.ExecuteDataSet(dbCommandWrapper)
Have you seen this before since you have working with enterprise library?

# re: More Enterprise Library Goodness... and GDS Moves Out of Beta! 3/19/2005 6:13 PM Scott Mitchell

Ashok, when setting up the EntLib, as discussed here - http://aspnet.4guysfromrolla.com/articles/022305-1.aspx -, were you certain to run the Install Services script after installing? From the article:

One step the installation process seems to not do is create the Enterprise Library-specific performance counters. I needed to do this step manually by going to the Start Menu --> Programs --> Microsoft Patterns and Practices --> Enterprise Library --> Install Services. The Install Services batch file ran completed the necessary performance counters. Once these performance counters were created, when going to the Performance monitor through Administrative Tools there were six new items in the Performance Object drop-down list, as shown in the screenshot to the right. For more information on instrumentation, including how to configure the Enterprise Library to not use instrumentation, refer to Instrumentation in Enterprise Library [http://blogs.msdn.com/tomholl/archive/2005/02/18/376187.aspx].

# re: More Enterprise Library Goodness... and GDS Moves Out of Beta! 3/19/2005 6:42 PM Ashok Padmanabhan

That was it Scott. I could have sworn i ran the install services command. Thanks

Title:  
Name:  
Url:
Protected by Clearscreen.SharpHIPEnter the code you see:
Comments   

Add To Your Reader

My Links

Archives

Post Categories

 

I am a Microsoft MVP for ASP.NET.
I am an ASPInsider.
<May 2008>
SMTWTFS
27282930123
45678910
11121314151617
18192021222324
25262728293031
1234567

Comment Stats

DayTotal% of Total
Sunday 1866.8%
Monday 37913.9%
Tuesday 45316.7%
Wednesday 50418.5%
Thursday 53519.7%
Friday 49418.2%
Saturday 1666.1%
Total 2717100.0%

Hour1Total% of Total
12:00 AM 652.4%
1:00 AM 682.5%
2:00 AM 622.3%
3:00 AM 742.7%
4:00 AM 572.1%
5:00 AM 1033.8%
6:00 AM 1084.0%
7:00 AM 1585.8%
8:00 AM 1716.3%
9:00 AM 1475.4%
10:00 AM 1716.3%
11:00 AM 1816.7%
12:00 PM 1886.9%
1:00 PM 1696.2%
2:00 PM 1605.9%
3:00 PM 1324.9%
4:00 PM 1073.9%
5:00 PM 923.4%
6:00 PM 913.3%
7:00 PM 963.5%
8:00 PM 833.1%
9:00 PM 782.9%
10:00 PM 792.9%
11:00 PM 772.8%
Total 2717100.0%

Comments by Blog Entry Date/Time

Day Entry MadeAvg.Total
Sunday 5.54144
Monday 5.22339
Tuesday 4.28419
Wednesday 7.67637
Thursday 6.90607
Friday 5.48411
Saturday 5.33160
Total 5.842717

Hour1 Entry MadeAvg.Total
12:00 AM 5.0035
1:00 AM 1.002
5:00 AM 0.000
7:00 AM 7.0035
8:00 AM 5.35107
9:00 AM 6.32278
10:00 AM 6.47246
11:00 AM 4.41181
12:00 PM 6.88330
1:00 PM 3.00111
2:00 PM 5.41222
3:00 PM 8.64285
4:00 PM 4.0589
5:00 PM 5.92154
6:00 PM 4.52113
7:00 PM 9.67174
8:00 PM 9.80147
9:00 PM 5.05111
10:00 PM 5.4265
11:00 PM 4.5732
Total 5.842717

Learn More About Comment Stats
1 - All times GMT -8...


Blog Stats

Favorite Web Sites

My Books

My MSDN Articles