Archives / 2006 / January
  • Microsoft Mix 2006 Conference in Las Vegas

    If you've been suffering withdrawal from Microsoft conferences since you left PDC 05 last September after going to TechEd 05 last summer, you can kick off the 2006 Microsoft conference season with a new one: MIX.06. Microsoft's other two big conferences do not specifically target web developers, although certainly there is plenty of relevant information for webheads like myself (go ASP.NET!  woo!).  However, this event is different.  This event is for you, oh master of AJAX, CSS, and .NET.  Here's a brief blurb from the site: Come to our consumer web conference, MIX, in Las Vegas on March 20 - 22 and learn how the next versions of these products, due later this year, are … more

  • C# Code Snippets

    David Yack just pointed me to the C# Code Snippets that should have been in VS 2005 but weren't.  Download them now from MSDN. C# Code Snippets David's also got them broken down by categories if you prefer. more

  • Cache Manager Released

    Those of you who subscribe to the ASPAlliance Times weekly newsletter already know that Cache Manager 1.0 was released earlier this week.  You can download it from here: ASP.NET Cache Manager This plug-in allows for the viewing and removal of any Cache API entries or output cached ASP.NET pages within an ASP.NET application.  It has been compiled under 1.1 and so my hope is that it will work with any application written using ASP.NET 1.1 or 2.0.  It might even work for 1.0 but no promises there.  It is 100% free -- enjoy and share. If you have questions, please send them to the Cache Manager Forum. Here's a screenshot: more

  • Outlook Calendar Default Month View

    Can somebody tell me how to alter Outlook so that the default calendar month view shows me a useful time period (e.g. the future, not the past)?  For instance, today is the 29th of January, 2006.  When I open up my calendar, I'm going to expect to see things that are coming up that I should be thinking about.  Instead, I get 5 rows of dates starting on December 26th, 2005, and ending on January 29th, 2006.  I've been through all the standard calendar options and haven't come up with a way to select a default (e.g. useful) view for the month view.  What I would like to see is the current week plus however many weeks can fit on my screen.  I'm fine with … more

  • Google Duplicate Content Filter Loses To MSN Search

    SEOChat recently ran an article pitting Google, Yahoo, and MSN Search up against one another in the are of handling dupliate content.  Google has serious issues in this area, as many have discussed, blogged, and ranted about recently.  In this article, the author has conducted an experiment with duplicate content and compared the search results from each of these three search engines over a period of time as duplicates of her content propagated across the Internet.  Google filtered out the duplicates, but dropped the original source in the process.  Yahoo fared somewhat better, but MSN Search managed to filter out thousands of duplicates and left the source website as the … more

  • Spring DevConnections Sessions

    The next DevConnections conference will be held April 2-5, 2006 in Orlando, Florida at the Hyatt Regency Grand Cypress Resort (where it has been a couple of times in recent years -- very nice hotel).  I will be hosting three sessions, and for the first time I'll have two sessions in the Visual Studio Fundamentals Track (normally I'm strictly an ASP.NET guy).  Sadly, my favorite talk on Caching Best Practices was not picked up for this show (but you'll probably hear about caching in my performance talk).  Here are the three topics I'll be presenting (see a complete list for ASP.NET sessions and Visual Studio sessions): APE301: Improving .NET Application Performance … more

  • MS TechEd Europe 2006 in Amsterdam Cancelled

    According to (and confirmed by my secret sources), Microsoft TechEd Europe 2006 has been rescheduled into two separate events.  From Bink's post: "To better serve the developer and IT professional communities in the Europe, Middle East and Africa region, Microsoft is evolving its pan-European technical events (Tech Ed Europe and IT Forum) in 2006." “Microsoft Tech Ed 2006: Developers” will be a deep-dive technical event addressing the specific requirements of developers while “Microsoft Tech Ed 2006: IT Forum” will be replacing IT Forum but will retain its focus on IT professionals and their distinctive needs. The two conferences will for the first time run back-to-back in … more

  • Enterprise Library 2 Available For Download

    Enterprise Library for .NET Framework 2.0 is now available.  It includes the Caching Application Block, Cryptography Application Block, Data Access Appliation Block, Exception Handling Application Block, Logging Application Block and Security Application Block.  Definitely worth checking out. From the website: The patterns & practices Enterprise Library is a library of application blocks designed to assist developers with common enterprise development challenges. Application blocks are a type of guidance, provided as source code that can be used "as is," extended, or modified by developers to use on enterprise development projects. This release of Enterprise Library provides … more

  • Google Optimization Tools and Permanent Redirects

    A recent forum thread on dealt with this issue.  It's far better to use 301 redirects than 302 redirects within your applications if the page in question is permanently at the new location.  One example of this would be when handling site moves from an old architecture to a new architecture -- you want to avoid tons of 404 errors and keep you search indexes, so you redirect users looking for the old URL to the new one.  Works great, but if you use Response.Redirect, it's sending a 302 (Found / Moved Temporarily) code, which is not what you want.  Instead, you want to use a 301 Moved Permanently code, along with the new location. Unfortunately, there is no … more

  • Honorable Discharge

    Today is a good day.  I submitted my resignation back in July 2005 when my 8 year commitment expired (I was commissioned in 1997).  They told me at the time that it would take 4-6 months for the resignation to process and they were not exaggerating.  The orders and certificate were received today, although technically I should have gotten them a week or two ago since they were addressed to my previous address (I moved in September).  The end result is the same though: I'm OUT.  Woohoo! Thanks again to everyone for your support and interest.  I'll continue to post occasionally about military issues and will of course continue to keep available for … more

  • Determine if ASP.NET Page is running in Cassini or IIS

    Sometimes you'd really like to know whether your web application is running in IIS or Cassini (ASP.NET Developer Server or whatever it's called now).  For example, I've heard there are certain scenarios that do not work under the latter and therefore must run under the former, so during automated test suites using Cassini you might want to avoid executing some blocks of code that you know will fail except under IIS.  Regardless of *why* you might care, here is some code you can use to accomplish the task: System.Diagnostics.Process.GetCurrentProcess().MainModule.ModuleName Looking at this property you will see different values for IIS and for Cassini.  For the VS web host, it … more

  • Cool Tool - Free Code Highlighter Check out this syntax highlighter.  I haven't had a chance to play with it myself yet but it claims it will work with .Text and other blog engines, so I'm assuming there's a way to easily integrate it.  I'm just posting it here so I'll remember the URL... (thanks, Dave) Oh, and check out if you have questions about using email within .NET 2.0. more