Daily Archives: November 9, 2005

DevConnections Speaker Cocktail Hour

Shirley & Gary Brothers (who run DevConnections) invited the speakers up their amazing suite in “THE Hotel” at Mandalay Bay for cocktail hour this evening. Here are some photos… We are such good and reponsible speakers though and had to leave so we could work on our talks!


Evjens

 
Active Nick, Brian Noyes, Paul Litwin, Juval Lowy, Robert Green


Kathleen Dollard, Dan Appelman

 
Charles Petzold, Kate Gregory, Torsten Grabs, Active Nick


Robert Green, Shirley Brothers, Bernard Wong, Ken Getz

 
Our Wine Steward!

SqlRequestNotification followed by SqlCacheDependency – strange problem

In my Sql Query Notification session, I had an odd problem. My SqlCacheDependency demo did not receive it’s invalidation. This happened when I set it up in code and also when I set it up in <%Cache> directive on the page. This is a demo that I have done many times in the past year so I was not only mystified, but a little heartbroken.

The only thing that was different was that I had run a SqlRequestNotification demo right before it. This demo listens for the notification on a separate thread.

Now playing with it some more, I see that after I end the first demo (SqlRequestNotification) and start up the SqlCacheDependency… when I change the data, I hit the event handler in the first demo. So that was still hanging around.

What I think is happening is that even when I end the demo and close the page, the file based web server is still there (I can even see it in my system tray right now). The app was still alive and the listener was still listening. So now I am going to have to dig further into SqlRequestNotification in a real scenario even though it is not something I think I will not use frequently. If it wasn’t the web app, it is likely that in this non-best practices demo code, I am not disposing enough things (though the listener’s main task is within a using statement) or something along those lines. Most importantly, it is not a likely scenario to run these two things back to back and therefore this is an unusual problem that I encountered.

I couldn’t really take the time to think this through in the session and probably wouldn’t have come to this conclusion under the small pressure of the clock ticking and those expectant faces in the audience. So I just had to go with “I promise you this works! This is the right code for you to use…” and move on to wrap up the session.

Posted from BLInk!

Wishing I was a DevConnections Attendee

Really … I wish I could just go to all of the amazing sessions around me. So many things I haven’t explored yet in VS2005 that I could  be learning!! Though of course, I’m thrilled to be able to share what I have learned by giving the sessions. So I will just keep working at making my own sessions as good as I can.

I did sit in on a bit of Kathleen Dollard’s “Polishing your Winforms Apps” session this morning. There is just so much to learn…

There are a LOT of attendees here this year. I overheard someone (not official) say something like 3000. That would be amazing. I think it was 1600 last year.

Posted from BLInk!

Atlantic Provinces INETA Tour

There’s nothing like planning ahead! I will be visiting 3 user groups in late June (yes that’s 2006) in Canada’s Atlantic provinces. Places I have wanted to go for a long time so I am thrilled to be able to visit the groups and see these beautiful provinces at the same time. I will be going to INETA groups in Moncton New Brunswick, Halifax Nova Scotia and St. John’s Newfoundland. Thanks to Amanda Murphy and Derek Hatchard for having me and also accommodating a schedule that allowed me to spread the talks out so that I can explore these magical places.

Posted from BLInk!