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   

My Links

Ads Via DevMavens

Archives

Post Categories

 

I am a Microsoft MVP for ASP.NET.
I am an ASPInsider.
<March 2010>
SMTWTFS
28123456
78910111213
14151617181920
21222324252627
28293031123
45678910

Comment Stats

DayTotal% of Total
Sunday 2056.8%
Monday 42514.1%
Tuesday 51917.2%
Wednesday 55518.4%
Thursday 58019.2%
Friday 54718.1%
Saturday 1886.2%
Total 3019100.0%

Hour1Total% of Total
12:00 AM 782.6%
1:00 AM 812.7%
2:00 AM 682.3%
3:00 AM 822.7%
4:00 AM 692.3%
5:00 AM 1264.2%
6:00 AM 1183.9%
7:00 AM 1816.0%
8:00 AM 1926.4%
9:00 AM 1585.2%
10:00 AM 1886.2%
11:00 AM 1936.4%
12:00 PM 2016.7%
1:00 PM 1846.1%
2:00 PM 1695.6%
3:00 PM 1354.5%
4:00 PM 1153.8%
5:00 PM 1073.5%
6:00 PM 1013.3%
7:00 PM 1073.5%
8:00 PM 923.0%
9:00 PM 882.9%
10:00 PM 913.0%
11:00 PM 953.1%
Total 3019100.0%

Comments by Blog Entry Date/Time

Day Entry MadeAvg.Total
Sunday 4.97159
Monday 4.80384
Tuesday 4.04477
Wednesday 7.39680
Thursday 6.26676
Friday 5.07466
Saturday 4.78177
Total 5.403019

Hour1 Entry MadeAvg.Total
12:00 AM 5.2937
1:00 AM 1.002
5:00 AM 0.000
7:00 AM 3.8550
8:00 AM 3.72134
9:00 AM 6.06297
10:00 AM 5.63276
11:00 AM 4.22194
12:00 PM 6.16351
1:00 PM 3.09133
2:00 PM 4.89230
3:00 PM 7.64321
4:00 PM 4.00108
5:00 PM 6.07170
6:00 PM 4.64116
7:00 PM 8.95188
8:00 PM 8.63164
9:00 PM 5.00115
10:00 PM 6.31101
11:00 PM 4.5732
Total 5.403019

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


Blog Stats

Favorite Web Sites

My Books

My MSDN Articles