Archives

Archives / 2005 / August
  • Register Controls via Web.Config <pages>

    I had a conversation with ScottW about this about a year ago (almost exactly, from Iraq, no less), and yet I still keep forgetting this technique every time I need it.  So I'm blogging it myself this time just to try to keep it in my (online) memory bank. NOTE TO SELF: IF YOU WANT TO USE CONTROLS FROM APP_CODE IN A PAGE YOU NEED TO DEFINE THE REFERENCE IN WEB.CONFIG, NOT IN A BLOCK. Here's a sample:                Observant readers may notice that I'm playing with Post-Cache Substitution at the moment, along with some samples from Nikhil Kothari, found here. more

  • Two Kinds of Writing

    If you don't know me, just click here. If you do know me, you should read this interesting article (ok, blog entry) by Seth Godin, marketing guru, about why we are overly verbose when we're trying to get information across to strangers, but typically too curt when we're seeking to win over our friends and colleagues.  I'm only telling you all this because, if you've read this far, you must be in the latter category... more

  • Scott Guthrie explains why web project files go away in 2.0

    ScottGu write about the lack of web project files in VS2005: VS 2005 Web Project System: What is it and why did we do it? There have been some threads lately on other blogs about whether this helps or hurts enterprise developers, with the main counter-point from Scott being that most of the pain points being reported around ASP.NET 2.0 Beta 2 are in fact Beta2 issues, not ASP.NET 2.0 issues, and will be corrected at RTM. more

  • ASP.NET 2.0 Sample Themes

    DotNetTreats has a collection of sample themes for ASP.NET 2.0, along with some tips on how to work with themes. more

  • More on SQL Server Query Notifications

    I found this post by Rushi Desai on Invalidating cached result sets using SQL Server Query Notification.  It's from March so it's a bit out of date, but it has some working ASP.NET sample code (well, working in Beta 2, I presume, but pretty close for RTM). more

  • Looking for ConfigurationManager?

    In .NET 2.0 there is a new configuration class called ConfigurationManager.  It supercedes the ConfigurationSettings class that most .NET developers are familiar with today.  When you create a website in VS2005 the ConfigurationManager class should be available because by default the necessary reference is included in the website's compile settings.  However, other types of projects don't have this reference, to System.Configuration (the assembly, not the namespace), by default.  As a result, you may have, for instance, a Console Application in which you are typing System.Configuration. and hoping to find ConfigurationManager in the resulting Intellisense … more

  • Working on Caching Presentation

    I'm working on my caching presentation for Fall ASP.NET Connections and a few user group presentations.  Those few who read my blog can enjoy some early looks at my research, which I'll detail here for my own future reference (and yours!). First of all I only recently found a great article on Query Notifications in ADO.NET 2.0 which goes into depth about how Query Notifications work in SQL Server 2005.  This architecture is used by the SqlCacheDependency in ASP.NET 2.0's Cache when it is working with a SQL Server 2005 database (an alternate technique is used with SQL7/2000).  It's a great article and one I'm definitely going to reference in my updated slide deck. … more

  • Went to Drive-In Movies Last Night

    I guess there aren't very many drive-in movie theaters in the country (or world) any more, so this is almost newsworthy.  We saw Madagascar and Sky High.  Madagascar was entertaining but not as good as I was expecting from the previews.  The penguins were great, though. We almost lost our local drive-in, Midway Twin Drive-In, a few years ago when a storm blew the main screen down.  Fortunately, they rebuilt it.  I like to try and make it to the drive in movies at least once each year; it's a fun summer time tradition. more

  • VS2005 RC, TFS Beta 3 Coming in September

    Soma announces Visual Studio 2005 RC1 and Visual Studio 2005 Team Foundation Server (TFS) Beta 3 will be released in September.  The Beta 3 will feature a Go Live license, so organizations can immediately begin using the Team System features.  Release of TFS is slated for the first quarter of 2006, and all data in the Beta 3 edition will (in theory) migrate seamlessly to the final version of TFS. Additionally, a new synch'd build of SQL Server 2005 will be released, as follows: §         In conjunction with the Visual Studio 2005 Release Candidate, the SQL Server team will release the final CTP for SQL Server 2005 in September. The … more

  • Hidden Network Cards

    I just moved a server and switched it from using a wireless card to a 10/100 Ethernet port and I kept getting this kind of message when I set it back up with its IP addresses: The IP address XXX.XXX.XXX.XXX you have entered for this network adapter is already assigned to another adapter Name of adapter. Name of adapter is hidden from the network and Dial-up Connections folder because it is not physically in the computer or is a legacy adapter that is not working. If the same address is assigned to both adapters and they become active, only one of them will use this address. This may result in incorrect system configuration. Do you want to enter a different IP address for this … more

  • C# a Total Failure with no Future... ?

    According to Calvin Austin, writing in JDJ (which, as a dead trees publication, you would expect to have better, more accurate information than some uninformed blogger or /.er, but not this time) has a recent column titled C#: Is the Party Over?  In it, he makes a number of statements which, while humorous to those of us with a clue, serve to further mis-inform the (presumably dozens or more) readers of his column who rely on his insights for their information. My fellow RD, Jon Box, rebuts Calvin point-for-point in his blog, here. Jon does a good job of picking apart Calvin's fallacies, so my points here will be brief: Calvin thinks .NET is evolving too fast.  He says:The .NET … more

  • Windows Vista Screenshots

    Jason Gaylord has uploaded some Windows Vista Screenshots on WindowsAdvice.com. more

  • Laptop Stands

    I got a new laptop stand from my buddy Scott Cate last week which is making me much happier.  I used to have to hunch over all day so I could look directly at my laptop screen, and I didn't want to spend $100+ for a manufacturer laptop stand (and I don't need a port replicator).  So Scott's cheap but effective (and light and portable!) solution seems to be working quite well for me.  Here's my setup: http://windowsadvice.com/photos/stevesmith/category1048/picture1525.aspx   You can find more on these stands here: http://scottcate.mykb.com/Article_9485C.aspx   more

  • ASP.NET 2.0 Provider Toolkit Available

    ScottGu announced the availability of the ASP.NET 2.0 Provider Toolkit a couple of days ago -- I just saw it.  The toolkit provides a full source code implementation of how to build your own providers for Membership, Role Management, Health Monitoring, and Personalization features.  Definitely going to grab that immediately... more

  • Konfabulator

    Cindy pointed me to Konfabulator last week, and I had a chance to download it and set it up a couple of days ago.  It's pretty slick.  They were recently bought by Yahoo! and now the whole thing is free (I guess it used to cost $40 or something).  Basically it's a framework for widgets that live on your Windows or Mac desktop.  There are a bunch of widgets that come with it, and several hundred submitted from community developers. I'm using a small calendar widget, a countdown widget, a picture slideshow widget, and a weather widget on my spare monitor right now.  I've also got a widget installed that lists the Google Page Rank of a list of sites. You can … more

  • AJAX Controls - Dart's LiveControls Reviewed

    I've had a chance to work with Dart's suite of AJAX-style LiveControls, and posted a review up on AspAlliance.com.  If you're interested in adding AJAX capabilities to your ASP.NET applications, but don't want to have to write a lot of code (especially client-side code), I highly recommend you take a look at these controls. Review - Dart PowerWEB LiveControls more

  • AZ Guardsman in Iraq Punished for Blog Post

    PHOENIX - An Arizona National Guardsman serving in Iraq has been demoted for posting classified information on his Internet Web log, an Army official said Monday. if (window.yzq_a == null) document.write(""); if (window.yzq_a) { yzq_a('p', 'P=SqOhDUSOwhWjyjpcQlf.kA2JRuRGJULvCzoAB9ud&T=15rrl9jpc%2fX%3d1122962234%2fE%3d8903239%2fR%3dnews%2fK%3d5%2fV%3d1.1%2fW%3d8%2fY%3dYAHOO%2fF%3d2533508241%2fH%3dY2FjaGVoaW50PSJuZXdzIiBjb250ZW50PSJJbnRlcm5ldDtJcmFxO0l0O2hvbWUi%2fS%3d1%2fJ%3d4AC28E44'); yzq_a('a', '&U=139m9snhc%2fN%3dixzIKESOxJQ-%2fC%3d348128.6383641.7362280.1442997%2fD%3dLREC%2fB%3d2677903'); } Leonard Clark, 40, was demoted from specialist to private first class and fined $1,640, … more

  • ASP.NET Validation Controls - Common Problems and Fixes

    Peter Blum has an article today on AspAlliance.com that addresses some common problems with the built-in ASP.NET validation controls.  It's definitely worth a read if you're using these controls, or want to learn more about them: Solving the Challenges of ASP.NET Validation more

  • ASP.NET Development Helper Browser Plugin

    I'm a bit late, but I just discovered Nikhil's ASP.NET Development Helper Browser Plugin (with screenshots).  Downloading it and will have to play with it next chance I get.  From the screenshots it looks very cool, especially the ability to view the current page's ViewState (both encoded, and decoded with value pairs).  Check it out. more

  • Army Officer Resignation Information

    Last Monday was my eight-year anniversary from my commission date, and I submitted my official resignation effective on that date.  According to my Career Management Officer (CMO), resignations are taking several months to process, so I won't know if mine is accepted for some time.  I was able to submit the request via email but I also send hard copy as well to be sure (and I received confirmation of receipt for both methods).  I thought I'd share some links here for anybody else who is interested. You will find a nice sample resignation letter on the HRC website.  There is also a link there with guidance for how to go about submitting your resignation letter, depending … more