David Silverlight's XML and .NET GrokSpot

To grok (pronounced GRAHK) something is to understand something so well that it is fully absorbed into oneself. In Robert Heinlein's science-fiction novel of 1961, Stranger in a Strange Land, the word is Martian and literally means "to drink" but metaphorically means "to take it all in," to understand fully, or to "be at one with."

<February 2007>



ASP.NET PodCast - Give it a listen

If you are not familiar with the ASP.Net PodCast , I strongly recommend that you check it out immediately.  ASPNet PodCasts cover information that is very relevant to .NET developers at all levels.  If you see the list of PodCast descriptions you will get a feel for the types of topics that are covered. As you will see, these PodCasts cover some very technical topics, but it is also nice to see that there is alot of emphasis on the developer community.   A nice balance, IMHO.   In fact, the most recent PodCast (#38) covered some of the recent events in the South Florida area and made a mention of how Joe Healy and Russ Fustino have been shaping up the South Florida development community.  There was even a great section on my own website, Community Credit, which really made my day. What's more, Wally McClure (of ASPNET PodCast fame) contributed some T-Shirts to my ongoing monthly competition.  Thanks Wally!!!  Picture below....

posted Thursday, March 02, 2006 7:19 PM by admin with 0 Comments

CodeCamp Orlando comes with a Community Credit Surprise

Orlando Code Camp is right around the corner.  March 25th, in fact, which is just over three weeks away.  The excitement is building and it is sure to be an event that you won't want to miss!   I will be there, as well,  giving a couple of sessions if you should want to meet up and talk shop.   If you have never been to a CodeCamp, it is an All Day Developer Geekfest.  The speakers at Code Camps are primarily local talent, and the ones that present are those developers that have really established themselves as authorities in their fields.  Many are authors, MVPs, User Group leaders and, in general, Geeks that really love technology and love to share it even more.  As much as I would love to name a few speakers that really stand out from the crowd, essentially all of the speakers are top notch and seasoned presenters.  Take a look at the list of presenters to see what I mean.

If you happen to contribute to the development community and log your contributions in Community Credit this month, you can participate in a raffle for a Hewlett Packard GPS Bluetooth Receiver.  To be eligiable for the raffle, simply log 10,000 points in community credit.  This can be done pretty easily if you answer questions on discussion boards, write an article or example, blog alot, attend user group meetings and any other type of contributions that we all make.  Here is a full list of the contributions and their points values. This raffle is being made possible by the generous contributions of Joe Healy.  Thanks Joe. 

In short, a raffle, great speakers, great topics, lots of schwag to be had by all.  How could you not go?

posted Thursday, March 02, 2006 6:16 PM by admin with 0 Comments

You can win your very own USB Sushi Drive

The March Community Credit prizes have just been posted.  Some pretty wacky ones made it to this month's mix.  You gotta love the grand prize. It is a  USB Sushi Drive.  Yep, you heard right, it is a USB drive that looks just like a piece of sushi.  The grand prize winner can take his or her pick of the piece of Sushi of their choice


Among some of the other prizes that are my favorites are:

A Retro Cell Phone Handset

An iDog

and USB Mini Aquarium


There are a bunch of other prizes that are also very interesting and offbase.  How do you win these prizes?  It is simple, you log your contributions to the develoopment community.  These might be blogs of yours, discussions that you have been involved in, examples, articles, you name it.  There are alot of categories.  There are also alot of prizes this month so many geeks will win.



posted Thursday, March 02, 2006 5:57 PM by admin with 0 Comments

Dwight Schrute Bobblehead Petition - The full story.

Have you ever come up with a really offbeat idea?  I get them all of the time, but unlike others who have the sense to keep their ideas to themselves, I tend to bring them to reality.  Not surprisingly, it doesn't always work in my best interest.  Well, my latest idea was to create a "Dwight Schrute Bobblhead Petition".  Now, before I continue, let me offer some background so that you can fully appreciate this in case you have never seen the show.  Dwight Schrute is a character on my favorite TV Show, The Office. My 2nd favorite show is "My Name is Earl" and that is about my extent of TV watching.   If you have not seen "The Office", it is kind of a cross between Office Space and Dilbert.  It is shot in the format of a documentary, and is filled with brilliantly offbeat characters, alot of awkward silences and always makes me laugh out loud several times in each episode.  Dwight Schrute is one of the funniest characters on the show and is somewhat of an uptight, office gestapo type.  He is often the butt of practical jokes, including putting his desk items in Jello, putting his desk items and wallet in the vending machine (he had to buy them back).   Overall, it is just a hilarious show, with characters that anybody working in an office can really appreciate and relate to.

The Dwight Bobblehead was a Valentines Day gift to him from his equally uptight girlfriend on the "Valentines Day Episode" .  They are actually involved in a secret office romance.  As soon as I saw it, I thought that it would be great to have a Dwight Schrute Bobblehead to add to my own collection of completely useless, but really geeky collectibles (commonly referred to as junk).  The next day I started searching around and, alas, no BobbleHead existed .  There were, however,  tons of postings asking, "How do I get a Dwight Bobblehead?".  Well, at least I was not alone.  I just assumed that by showing it on the show, it was NBC's way of subtly promoting some new merchandise.  Well, I guess I was wrong because it just doesn't exist. So, the idea came to me.....  I created a "Dwight Schrute Bobblehead Petition" and added a couple of posts on some fan sites to give it some exposure. 

Well, the reaction at first was average, I guess, with about 25 or 50 signatures on each of the first few days.  Then, it happened.  Other sites started linking to it and I started getting tons of signatures.  Probably the biggest one is  GorillaMask.net .  At first, I thought that it was somebody spamming my petition.  I was getting about 2 or 3 signatures per minute for hour after hour.  Easily over 800 signatures were added in just one day, just from GorillaMask.net alone.   I checked my web stats and saw that the visitors were mostly unique and not just one person with more free time than me.  In the end, I took a rather low tech solution to find the source of the signatures.  I simply added a textbox asking "How did you find out about this petition?".   People told me the sites they found it on. Then after doing other searching, there were others.  LifeInTheOffice was another site that alot of folks used to find the petition.  No surpise, it is a really professionally built fan site with great content.  Thanks for the love, LITO!!!  Today, the total signatures is over 1300 and probably almost 20 links across the web to the petition.

All, in all, it turned out to be a complete blast!!!  Just a lot of fun, especially reading people's comments.  Below, I would like to share some of the funniest comments that people have left. More to come...

  • Everyone has a Dwight in their office, so why not produce a miniature one we can all slap around without being fired????
  • Oh behalf of all collar-blind people, I'd really like a bobblehead to be available for purchase.
  • I wish I could drive out to NBC studios to get one, but I just vomited all over my firebird.
  • I would run to go get a Dwight bobblehead but I burned my foot on the George Forman this morning!
  • WOW. I had thought the exact same thing, but never thought there were other out there like me!!
  • I NEED a Dwight Bobblehead!! NEED!!
  • If the David Silverlight bobblehead is not available, then I'd settle for Dwight Schrute bobblehead.
  • good god man, this must happen
  • QUESTION - will there be a special edition karate Dwight?
  • Dwight is NOT an Assistant Manager, he is an Assistant to the Manager!!! ME!!!  He does not deserve a doll, I DO! (this one apparently submitted by Michael Scott)
  • it is imperative to make this available in order to ensure the continued promulgation of the DS Fan Club on the Federal Level.  In this age of smaller government and continued cuts to vital programs, the DS Bobblehead has the unique potential of leading federal workers to new heights enabling them to enhance the federal structure sufficiently to enact major reductions to the federal deficit, relieve the burden on Americans suffering the results of natural disasters and reduce the tax burden.  This must be done!!
  • I love The Office, and searched for the bobblehead right when the show was over...


posted Wednesday, February 22, 2006 12:14 PM by admin with 0 Comments

Microsoft ACE Award
I just received a Microsoft ACE Award in the mail the other day.  It is always nice to receive recognition, especially in the form of a 3 dimensional glass cube.  Okay, I am not quite sure exactly what it is made of.... crystal?  glass?  Transparent Aluminum?  Welll, regardless of what it is made of, I looks great on my desk right next to my talking fish statue.

posted Wednesday, February 22, 2006 12:08 PM by admin with 0 Comments

Best CodeCamp Ever!!!

I just returned from the Ft. Lauderdale Code Camp and IMHO it was the best Code Camp that I have had to honor to present at.  The term "Best", of course, is such a subjective term so let me explain further.  For starters, the location of the event was Devry University, and it lent itself to a really great venue for multiple tracks because it is filled with classrooms setup for doing technical presentations.  With over 600 people signed up (not sure of the exact figure that attended, but it was definitely a high majority of that amount) this kind of facility is key.  It had a good open area for lunch filled with tables organized to allowed people to connect.   I presented quite a few sessions myself, 5 in all,  and they all went very well.  Many of my sessions spawned some really good conversations from the audience.  I got quite a bit of nice feedback from them. Most importantly, thanks to my cat-like reflexes I was able to dodge all of the tomatoes and oranges.

What really made this event the "Best CodeCamp Ever" had nothing to do with the venue, success of the tracks, SWAG or even the technical content of the event.  It gained this title by the level of interaction between the attendees.  I have never seen anything like it.  People really connected  in this event and seemed more like a big group of friends meeting up than a bunch of developers attending a techie event.  I have long believed that events like these have the opportunity or providing a good networking environment.  Why is this important?   When you are looking to hire or for help with a project, you usually go to friends or people you know first before hitting the resume pile.  When people get a chance to chat and intermingle at events like these, they become closer as a technical community,many friendships are born and people get subconciously put on that "friends list".  Not every technical event succeeds at this secondary goal of community building, but this CodeCamp really nailed it!

In the closing ceremony, Joe Healy and Russ Fustino were part of an awards ceremony where they were recognized for their contributions to the development community.  As anybody in South Florida knows, one of the reasons that there is such a strong development community in South Florida is due to the support by folks like Russ and Joe who help to make events like these happen.  They were the first two inductees in the Community Credit Hall of Fame and presented with an award recognizing their contributions. Kudos to them!  Other ardent supporters of our development community that were also recognized at the CodeCamp as well as at the previous .NET Pub Club were Shervin Shakibi, Dave Noderer, Joe Homnick, Maureen Homnick, Alex Funkhouser and Pierre Donyegro.  It is really great to be part of such a strong tech community.


posted Monday, February 06, 2006 3:00 PM by admin with 0 Comments

Got Code? Come out to the South Florida CodeCamp

If you are in the South Florida area on February 4th, be sure not to miss the South Florida Code Camp.  The beautiful thing about CodeCamp is that you get to hear about the latest technology from the local talent in the area.  That's right, straight from the developers who are using the technology day in and day out.  The true benefit from hearing the perspective of somebody who is using it, is that you get to learn the real Do's and Dont's, the "gotchas" as well as seeing implementations of the latest and greatest technologies.  There is really no better perspective than one offered from somebody using a product first hand.  I will be giving 3 sessions:

Session 1:  XML Rocks in SQL Server 2005:   If you are a .NET Developer or DBA, you will definitely not want to miss this session.  In this session, I will cover the new XML-Related features in SQL Server 2005.  As you may know, SQL Server 2005 has just been officially released and some of the most exciting features behind it demonstrate true XML integration and querying capabilities built directly into the engine. Although XML functionality existed in the past, you will find significant enhancements in the level of XML Integration that SQL Server 2005 offers. David will be covering numerous examples of queries that demonstrate the new features like:

a) The integration of  XQuery for both filtering you XML data.  Yes, you can truly query XML data now.
b) Showing how XQuery can be used to update, insert and delete existing XML Data.
c) New SQL Server objects like the Schema and Namespace objects and collections.
d) The new data type: XML.  Yes, now you can store XML in a way that SQL Server actually respects it as an xml object.  In the past, your only option was to store your XML as one big blob of text.
e) XML Indexing and creation nested XML Structures
f) The Content and Document keywords and how they are used to store XML Documents and/or XML Fragments.
g) and so much more, with a heavy emphasis on walking through the queries and their results.
If you take anything away from this session, you will see that SQL Server 2005 shows very much of a matured support for XML.

Session 2: I.T. Interviewing Workshop: Want to Ace your next I.T. job interview? Learn why only 20% of the interview depends on the technical content of your answers. Your non-verbal communication and body language can make all the difference in your interview outcome. Participate in interview role playing with your peers and I.T. interview experts, Alex Funkhouser and David Silverlight.

Session 3: For Love or Money: Your IT Career: Must Love and Money be mutually exclusive in your I.T. career?
- Contracting at the cutting edge of technology is exciting and produces great rates. But what happens when the contract ends and the mortgage payments must continue?
- Maintaining a steady job with a direct deposit salary is comforting. But do you ever feel technologically “stuck” at your job when so many other I.T. professionals are learning and using the latest, most marketable technologies?
In this seminar session, you will learn multiple I.T. career strategies for maximizing both the Love and the Money of your multidimensional I.T. career.

Here are some important CodeCamp links:

South Florida .NET Code Camp website:

Joe Healy's Devfish site: It includes information about this codecamp and other upcoming Code Camps.

Russ's Toolshed:  Russ will be holding a .NET Pub Club right after the event. This post Code Camp is not to be missed.  You can have an opportunity to chat with your fellow developers, event speakers, Joe Healy, Russ and more  I have been to many Pub Club events and they are a blast (and a good networking opportunity to boot).

Community Credit: If you attend the event, you will gain 5,000 Community Credit  points for attending this special event.  Just log them on the points submission page



posted Thursday, January 26, 2006 3:16 PM by admin with 0 Comments

We give stupid prizes to smart people

Woo Hoo!!!  I just published a new website, http://ww.Community-Credit.com , which rewards those who contribute to the development community.   The website mantra, "We give stupid prizes to smart people", says it all.  The prizes this month are:

  1. A 512 MB Mimobot USB Drive
  2. An optical liquid duck or fish mouse
  3. USB Mini Lava Lamp
  4. One of the coolest Geek T-Shirts ever.
  5. A Device to turn off any TV in the room that you are in (just for the purpose of annoying others)
  6. A Red Swingline Stapler (TPS Reports not included).  You can see all of the prizes here

    If you are a developer who contributes alot of discussion posts, examples, articles, blogs and other bits to the development community, you can earn points by logging each contribution on our points page.

   If you have a website, user group or any other type of development community and would like to access the Community Credit web services so that your members automatically gain points, please send me an email at HeadGeek@XMLPitstop.com and I will tell you more about this.

The prizes for our January 2006 contest are displayed below:

Grand Prize: Mimobots 512MB USB Flash Drives
Please Welcome Our Data Overlords

We, Mimobots, have traveled a long time across multiple parallel systems to reach earth. we come from our beloved planet blõôh located in galaxy 4210 where we have been living harmoniously since the time of no age. We are peaceful and joyful creatures essentially made of electronic silicon providing us with an extraordinary ability in memory. Humans can adopt and use flashported Mimobot clones to save and carry their personal electronic data as with any USB flash drive. Yet, these Mimobot clones simultaneously retransmit their memory to RALF computer on planet blõôh who will directly regurgitate the upload into the digitized brain of an ill mimobot. eventually our friend in treatment will receive a full transfusion of concentrated fresh memory and will be freed from their mental confines to live their insouciant life again!

Please take part in this incomparable adventure of human/mimobot symbiosis. Four different races of Mimobots are available... But please hurry. A limited edition of each race has landed on earth for your storage pleasure.


1st Prize: USB Optical Liquid Duck or Fish Mouse
A little fish or duck for your mouse
Need some company for those dull days and long nights at the office? The USB Optical Liquid Mouse provides a little companion you can keep close at hand. This optical mouse (with scroll wheel) comes with your choice of a floating fish or duck built right into the mouse. Watch these little guys bobble around in the water as you mouse your way through some heavy duty spreadsheets or just tilt the mouse back and forth and watch them surf the waves. Guess it depends on what kind of day you're having.

2nd Prize: USB Mini Lava Lamp
Happy times!
Whether it's a late-night coding marathon or just your typical afternoon staring at spreadsheets, the USB Mini Lava Lamp will help you relax. Just plug it into your USB port for power and this little desktop ambiance generator will do the rest. Filled with clear "lava" and a bunch of glitter flakes, this light creates something resembling a disco ball effect on your desk and walls.

The USB Mini Lava Lamp is an authentic Original Lava Brand® product and comes with a single replaceable lightbulb. It stands about 6" tall and connects using a coiled USB cable that stretches to about 4 feet.


3rd Prize: Geek Love Poem T-Shirt
The Bard's got nuthin on us.

The eloquence of a few lines of verse can be a powerful thing. Poetry can cause you to pause and think about life. It can incite feelings of rage. A good poem can even bring you to tears. We're not sure where this one lies in the spectrum of emotional reactions, but we're thinking somewhere between a chuckle and a look of heartfelt confusion. This shirt, designed by ThinkGeek Love Labs® makes an especially good gift to one you love or love to confuse, depending on their knowledge of hex and Internet lore.

For those of you who are not familiar with "All Your Base" Internet Lore, it is a video that pokes fun at some of the incorrect translation of english in the old videogames back in the day.  It actually became a hit song on the radio for a short time.  You can check it out here


4th Prize: TV-B-Gone
Safe. Fun. Twisted.

According to the U.S. Census Bureau, there are about 250 million television sets in the U.S. and we can guess that the majority of them are turned on a lot of the time. All in all, this is not bad (heck, we enjoy a good movie as much as anyone else) but there are some occasions when you just need to do everyone a favor and turn the TV off. A certain portion of television content is just plain questionable and about as healthy as second-hand smoke.

Enter the TV-B-Gone, a small television remote that hangs on your keychain and turns off virtually any television with the press of button. "Now, what would be the purpose of such a device?" you may be asking yourself. Well, without revealing too much of our devious nature we can think of a few things. Imagine sports bars or annoying talking head shows that appear on monitors at the airport. Add to that your own creativity and we're pretty sure you'll come up with some ideas. All you need to do is press the button and keep pointing it at the TV until it turns off (which may take up to 69 seconds). The next 69 seconds will be spent quietly, or not so quietly, enjoying the perplexed expressions of the TV automatons.

The TV-B-Gone also has these great features.

  • Turns off virtually any television
  • Perfect for carrying on your keyring
  • May take up to 69 seconds for the television to turn off (90% of televisions should turn off within 17 seconds)
  • Range: 20 to 50 feet (7 to 17 m), depending on the make and model of the TV
  • Contains 209 turn-off codes
  • Regular Version works on TVs in US, Canada, Mexico, many Asian countries (European version also available!)
  • Lithium batteries included (last about 3 months to one year depending on usage)
  • Dimensions: 1.92" x 2.27" x .675"
  • Weight: 26 grams with batteries
  • European version is recommended for Australia


5th Prize: The Red Swingline Stapler
Have You Seen My Stapler?

People sometimes form very strong bonds to inanimate objects. This is especially the case when you come into daily contact with, say, a red Swingline stapler. The ultimate utilitarian desktop accessory. Its vibrant red color stands out amongst the grays and beiges that consume office space. The sleek, smooth retro lines. The sheer weight. The precise, solid movement. The mechanics. The thick, dense sound as paper is conjoined...

One thing is certain - you will never covet an office supply as much you will your red Swingline stapler.

Oh, and by the way, if you've got a smug *** in your office named Lumberg, don't ever let him take away your red Swingline. It could be bad for the business...

Durable metal construction with a retro style. 20 Sheet capacity. Jam resistant. Uses S.F. 4 Premium Staples (not included). 7 inches x 2.5 inches. TPS Reports not included.

posted Wednesday, January 11, 2006 8:39 AM by admin with 0 Comments

SQL Server 2005 adds support for Null Values in the "For XML" clause

For those of you who have been using the "For XML" clause in SQL Server 2000, you will be happy to know that support for Null Values has been added to it in SQL Server 2005.  This may not seem like a big deal on the surface, though, but it really is.  In the past, if you have worked with tables that contained Null values, you will know that elements are ommitted in the results if the value is Null.  This can cause difficulties when you are expecting a consistent set of XML elements to be returned as part of your results.  Without it, you will have had to go through extra work for those missing fields.  You could not simply check the value of it.  Instead, you would have to check if the element even exists first.  This can be very time consuming and can add checks to your code that can really clutter it up and make it hard to read through.  In the past, you would have had to solve the problem by either making sure that your tables did not contain any Null values or adding the Coalesce function all throughout your stored procedures to ensure that any Null values were returned as empty strings. 

Now, with SQL Server 2005, these additional checks have become a thing of the past thanks to a new XSINILL directive that you can add to your "For XML" clause.  The XSINIL will cause Null values to be returned as empty elements.  Although this feature is only one of the minor enhancements to SQL Server, it is among my favorites.  To demonstrate how this directive can be used, let's start with a SQL Statement below.  One that uses the AdventureWorks database included in SQL Server 2005. If we take a examine the Query below, we will see that it returns the ProductID, Name and Color from the Product table.  Simple stuff.


SELECT ProductID, Name, Color

FROM Production.Product Product


The results of this query will retun a number of Product elements.  However, in cases where the value is Null, such as the one shown below, an empty element is returned.  In this example, you can see that the Color element has a Null value in the database and is returned as an empty element

<Product xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">


   <Name>Adjustable Race</Name>

   <Color xsi:nil="true" />


If we were using SQL Server 2000, the element would be ommitted as shown below.  In fact, that was really our only option.  As you may imagine, having to code for conditions where elements exist only part of the time can require some additional and painful checks to your coding.  I am happy to see that there is now a way to handle it.

<Product xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">


   <Name>Adjustable Race</Name>


This last example below demonstrates the results of a query where the color field has a value and you have all 3 child elements of the Product element.  As you can see, all elements are accountable.

<Product xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">


     <Name>LL Crankarm</Name>



All in all,  this new feature allows us to ensure that we have consistent set of XML elements returned when we use the "For XML" clause and to avoid those ragged XML elements that we had to work around in the previous version.  In my world, it is a very welcome enhancement that will make my life as a developer just a little bit easier.

posted Wednesday, December 14, 2005 2:40 AM by admin with 0 Comments

The Best "Out-Of-Office" E-Mail Auto-Reply:

I came across this one and laughed out loud a few times.....

"The Best Out-Of-Office" E-Mail Auto-Reply:

1: I am currently out at a job interview and will reply to you if I fail to get the position. Be prepared for my mood.

2: You are receiving this automatic notification because I am out of the office. If I was in, chances are you wouldn't have received anything at all.

3: Sorry to have missed you but I am at the doctors having my brain removed so that I may be promoted to management

4: I will be unable to delete all the unread, worthless emails you send me until I return from vacation on 4/18. Please be patient and your mail will be deleted in the order it was received.

5: Thank you for your email. Your credit card has been charged $5.99 for the first ten words and $1.99 for each additional word in your message.

6: The e-mail server is unable to verify your server connection and is unable to deliver this message. Please restart your computer and try sending again. (The beauty of this is that when you return, you can see how many in-duh-viduals did this over and over).

7: Thank you for your message, which has been added to a queuing system.  You are currently in 352nd place, and can expect to receive a reply in approximately 19 weeks.

8: Hi. I'm thinking about what you've just sent me. Please wait by your PC for my response.

9: Hi! I'm busy negotiating the salary for my new job. Don't bother to leave me any messages.

10: I've run away to join a different circus.


11: I will be out of the office for the next 2 weeks for medical reasons. When I return, please refer to me as 'Loretta' instead of 'Steve'


posted Wednesday, December 14, 2005 2:21 AM by admin with 2 Comments

Willy Wonka has nothing over XMLPitstop.com

Much the same way that  Willy Wonka's  Chocolate factory was dark for a while and suddenly came to life, XMLPitstop took  a bit of a break and has now come back to life with a number of new features, some fixes and alot of new plans for the upcoming year.    Some of the changes include old features that stopped working as they should as well as numerous new enhancements to boot.   The short list would be the following:

a) Featured Examples (improved) This section is now much improved.  If you add an example, you will see the new changes.

b) Featured Articles - This section was really a need that was just filled

c) Presentations - Many folks ask to be able to download presentations that I have given.  I am happy to have this new section. 

d) Blogs - My Blog section is back.  In fact, I guess that you wouldn't be able read this entry. [:D] I even came up with a name that I like.  "David Silverlight's XML and .NET GrokSpot".  Any feedback on the name is appreciated.

e) Pictures - My world trip pictures are not back.  I have not re-enterred all of them as of yet, but I do have a bunch of my pics from Amsterdam as well as from Ireland

f) ReBlogger - I have implemented the reblogger Blog Aggregator which is truly a phenominal tool.  I give it a big thumbs up!!!

Last but not least, we have a new member to the XMLPitstop.com team.   His name is Duray Akar and without his help none of this would be possible.  Nice Job Duray!

posted Sunday, December 11, 2005 2:21 AM by admin with 0 Comments

Top Notch Launch Event of SQL Server 2005, Visual Studio 2005 and Biztalk 2005

I just came from the Launch event of Visual Studio 2005 in Orlando, Florida. It was a real treat for me on many levels.  For starters, this was the first time I ever helped to man an "Ask the Experts" booth.  It gave me a unique opportunity to chat with .NET developers at all levels.  The depth of knowledge in that booth was awe-inspiring.  Regardless of the question, there was more than one person who had intimate knowledge of the subject matter.  The variety of questions ranged from developers who were complete newbies to those who had been using VS2005 from early beta.  I also had an opportunity to chat with some of the real heavy-hitters in our industry such as the legendary Kirk Evans.  The angry coder, Johnathon Goodyear, was also presenting and was on hand in the booth as well.  He has what is perhaps my favorite website of all time.   I remember meeting him a long time back literally 15 minutes after I bought his book.  When I met him, I had no idea who he was and when he said that he was Johnathon Goodyear, I though he was actually joking around and maybe even an imposter.  After checking his driver's license and finding out that it was actually him, I told him that I just bought his book and his response was, "So, you're the one".

The keynote presentation was truly a site to behold.  Although I have been using the tools for some time, I couldn't help but get caught up in the excitement of what the realease of these three products has really achieved.  It is truly raising the bar for any other development tools and platforms.  From my experience, whenever I start singing the praises of Microsoft's development tools to developers who work in other languages, they always respond with.  "Yeah, we have been able to do that for years".  It doesn't matter what feature I am talking about either.   I won't name any languages specifically, but let's just say that the one I am thinking of rhymes with guava.  This latest release, however, really brings the suite of tools together and the interoperability between the three toolsets will enable us to produce applications beyond anything that we have seen to date.  You could not help but to have chills after leaving.

Following the event, I attended the Geek Laager party sponsored by the folks at the Orlando .Net Users Group.  To top off a day of chatting with developers, including some who actually helped to develop the tools that I love, I had a chance to chat with them over a couple of beers.  We talked shop, of course, but also had a chance to cover areas of our lives that did not involve technology (believe it or not).    I had a good time chatting with the GeekGurl who sadly lost her GeekGurl licence place.  If you happen to have a GeekGrl license plate on the back of your car, drop me an email. I also drank a beer or two (maybe more) with Tom Fuller, who showed us that Biztalk was nothing to be afraid of and gave a presentation that many developers were raving about as well as a few more beers with  Joe Healy who actually came up with the name "Geek Laager" party.   Overall, it was one of the best events that I have been to in a very long time.



posted Saturday, December 10, 2005 8:43 PM by admin with 0 Comments

Setting the value of Password Fields in ASP.NET 2.0 (a tip and rant rolled up into 1)

     I just learned a great tip for setting the value of a password field in asp.net.  For those of you who have ever attempted to work with a TextBox where the TextMode is set to password, I feel your pain.  For some reason, you can't set the text value the way that you normally would by setting the Text Property.  I have spent time searching far and wide and every single post that I have come across says the same two things.

a) You can't set the text property of a Password Type field for security reasons. 

b) Okay, you can set the text property, but you have to do it in the form of setting an attribute of the text box.   The typical format is:

     txtPassword.Attributes.Add("value", PasswordString)

Now, let me address these two points seperately.  First, ummmm well thanks for protecting me.  The last time I had protection like this, the "protectors" wore business suits and dark glasses and helped protect the whole neighborhood.  But I digress... My question is, Do you have to protect me on every single postback?????  I can understand that I might have to set the attribute on the Page_Load event, but is it really protecting me by having the user retype it every single time?  In my scenario, the next field is a drop-down box.  When the user clicks on the drop down to select a value, the password they just typed is cleared out.  All of this protection having a negative affect on the usability of my form.  I keep telling the user that they are doing something wrong, but they are starting to suspect it is really the fault of the my app.

Regarding the second point, yes you can store it away and set the attribute property of the textbox, but the place to store it is quite unclear to me.  It would have to be some place that occurs before each PostBack.  I tried using the Page_Unload event, but it is too late to keep it in the ViewState.  I considered using a session variable, but that is just wrong..  A hidden field?  Well, the user can go into view source and see it as clear text.

So, it took me only about 10 minutes to build the whole form and then an additional 27 zillion hours to find out how to keep the value of the Password field.  Fortunately, one of my colleages in a nearby cubicle and a wiser programmer than I (Jeff Kwak) offered this simple and elegant solution. Here goes....

Protected Sub txtPassword_PreRender(ByVal sender As Object, ByVal e As System.EventArgs) Handles txtPassword.PreRender

     txtPassword.Attributes("value") = txtPassword.Text

End Sub

It works beautifully!  Thanks Jeff.




posted Thursday, August 11, 2005 10:05 AM by admin with 0 Comments

DotNet Pub Club - What a Beautiful Concept

I recently attended a .NET Pub Club event in South Florida and have been reflecting on what a beautiful concept this is.  For those of you who are not familiar with the PubClub concept, let me paint a bit of a picture for you.  The DotNet Pub Club is a meeting place where .NET developers can socialize, drink, eat, play pool and hang out. This is really important because it is hard to bring up topics like "asp.net 2.0" or "Web Services" in a bar without getting taken out back and beaten senseless by the regulars.   PubClub meetings occur at locations across the country, always following a .NET Tech event, and create an environment where developers can unwind, chat and enjoy themselves.  In my case, I actually skipped the Techie-Event and arrived for the PubClub portion only, for the purpose of doing some hardcore .NET networking in a beer-friendly environment.  This recent pub club event met at Little Hoolies Bar and Grill, a fine establishment that included food, drink and pool.  It was a really good time as they always are!  Here are some of the highlights that stick in my mind:

a) I met the person who actually wrote Dig Dug, one of my all-time favorite games,  for the Atari 2600.  His name is Mike Faulkner and he has a very interesting work history, including Bell Labs and Disney.  His site is http://www.SkyDancerStudios.com.  We had a very interesting chat about old school games (Donkey Kong, Pac Man, etc).  Those were the best!!!  I actually own a full-size stand up video game machine that I bought on eBay some time back that has MAME installed on it, allowing me to play every old school game every written.  See Picture at Bottom.

b) I met with some folks who are looking for an expert to hold a training class on .NET for their companies.  They may be sending me an RFP.

c) I met with other developers who are holding a workshop on being an Expert Witness as well as somebody from Microsoft who has served as an Expert Witness in a few cases.  I am currently involved in a court case where I am serving as an Expert Witness for the first time. I have never done it before and you would be amazed at what is involved in this role that you can't learn in too many places.  Fortunately, the Pub Club offered 3 people who have all had direct experience and really enlightened me.

d) I saw a very cool pool trick, from somebody at Microsoft nonetheless, that involved 3 pool cues, 2 balls and 3 cushions.  It was a variation of a trick-shot that I have seen in the past, but a MUCH COOLER variation that is sure to win me a few drinks in a pool hall sometime in my future.

e) The remainder of my highlights revolved around networking with other .NET Geeks. 

As always,  Russ Fustino was on hand to make sure that everybody was having a good time, the way that only Russ can do.  Russ, the MSDN Developepr Community Champion, is the brainchild behind the .NET Pub Club.  He is the guy you will see in the Hawaiian Shirts keeping the partying moving forward.  When you meet him, you will easily see that he is perfect for this role.  Be sure to check out Russ's Toolshed.  His bio just cracks me up.


An ole school gamers dream come true!!  Thanks to eBay and MAME...


posted Saturday, August 06, 2005 4:06 AM by admin with 0 Comments

No squirrels were harmed in the making of this cartoon.

I have had the fortune to work with some twisted technical folks in the past.  They definitely make the work day go by by so much faster with an offbeat take on reality.  I am currently working on a project with a friend of mine, Joshua Newman, who fits that category.  In addition to his technical skills, he is one of the folks that should have his own cartoon series.  In the meanwhile, I guess he will entertain us with his temporary cartoons that are drawn on the bulletin board in marker.  I was fortunate enough, though, to have him create an image of one of his cartoons which I will share with you here.  This one is a bit twisted, so I will let you think about it a bit before scrolling down to see my explanation of it.







Hint 1:  Hmmmm.... A squirrel and a round spiked ball.....what could it mean?





Hint 2: When somebody gives you a present, what is one of the first things you do to guess what it is......You shake it.






Hint 3:  Okay, no more hints....If you haven't picked up on the twisted, warped, politically incorred humor in this cartoon, then you probably would end up calling the ASPCA anyway.

posted Sunday, June 05, 2005 6:01 PM by admin with 0 Comments

Powered by Community Server, by Telligent Systems