Archives

Archives / 2006 / September
  • ComponentArt Atlas Controls

    ComponentArt just released a version of their Web.UI suite, which is built for ASP.NET AJAX (aka “Atlas”).  Web.UI 2006.2 for ASP.NET AJAX is “the most advanced AJAX framework available.  ComponentArt Web.UI for ASP.NET AJAX is the first commercial control suite designed to fully utilize this new framework.” I haven’t had a chance to do more than view the demos but they look pretty slick.  The line between thin and thick clients is really blurring quite a bit now that we’re starting to get some serious client-side APIs for the web, and controls from third parties like ComponentArt do a great job of lowering the bar for how much a developer … more

  • Atlas Contest Winners Announced

    Microsoft’s Mash It Up With Atlas contest has ended, and the grand prize winner was DotNetSlackers and Alessandro Gallo (aka Garbin). Congratulations! See all the winners here:http://atlas.asp.net/default.aspx?tabid=47&subtabid=475 more

  • Your Computer On Your Thumb Drive

    Something I’ve wanted for a while now is the ability to keep my computer, or at least my email and some other critical files, on a USB drive — the ultimate in “ultra-portable” — which I could then use from any computer.  I’ve been considering VirtualPC for this but any reasonable VPC image with Windows, Office, etc. is upwards of 6GB and requires that VirtualPC be installed on the host machine to run (not to mention the system and memory requirements).  So today I was pointed to MojoPac, which sounds like it might solve this problem. From their site: MojoPac is a technology that transforms your iPod or other USB storage device into a portable and … more

  • Source Control Structure

    How do you like to set up your source control for a project?  My personal preference is sort of a work in progress, and I do not have a great deal of experience with branching and versioning, so my design doesn’t take this into account, but I would like to hear what approaches work well for others.  Here is a very simple example: $/$/Project$/Project/Libraries/$/Project/References/$/Project/Websites/ Sometimes I’ll include other folders for services, windows applications, etc.  Sometimes I’ll just have an Applications folder.  Either way, all external references used by the project are kept in /References (as DLLs or whatever), all source code is kept in … more

  • Conditional Attribute and TRACE in ASP.NET 2.0

    In ASP.NET 1.x I had created some helper classes that wrapped the ASP.NET Trace class.  These included methods like this one: [Conditional("TRACE")]public static void Write(string category, string message, Exception myException){context = HttpContext.Current; if (context != null)context.Trace.Write(category, message, myException);}   In VS2003, I would simply mark my project as having the TRACE conditional compilation flag, and this would work fine.  In production, I could turn it on or off as desired, and all overhead from the tracing would disappear when it was turned off (and recompiled). In VS 2005, using basic Websites (folders - not Web Application Projects), there … more

  • Strange Issue with HttpContext.Current with WebDevServer

    I’m working with a Trace class that I wrote back in .NET 1.1 that wraps System.Diagnostics and System.Web tracing.  The class looks like this: public static class Trace { private static HttpContext context = null; static Trace() { context = HttpContext.Current; } This worked fine in 1.x, but testing it with Cassini / Test Web Server I was seeing unusual behavior.  The first load of a page, the trace statements would work just fine (using ASP.NET tracing), but on subsequent loads, no trace output was shown.  Replacing my calls with standard Trace.Write() calls on the page showed that tracing was working fine, it was just my library that wasn’t working. What I did to … more

  • Ultimate ASP.NET Base Page Class

    I'm working on a base page for a new application and it seems like this is about the 5th or 6th time I'm building one of these things, so it's getting a bit repetitive.  In this case, it's for an ASP.NET 2.0 app, but I have base pages in use in 1.x apps as well, where they are arguably more useful (or at least, lacking built-in master page support, they are more necessary).  I'd like to know what app-agnostic features folks are including in the BasePage classes so that I can compile sort of the ultimate base page class (perhaps I'll call it UltimateBasePage) which inherits from and extends System.Web.UI.Page and the features of which are generally useful in … more

  • Microsoft Shrugs Off Atlas Name

    Scott Guthrie today announced that the "Atlas" code name for the ASP.NET team's rich client framework and set of server controls and JavaScript extensions will be retired and replaced with not one, but three separate names:As part of releasing “Atlas”, we have also finally locked on an official set of product names that we will begin using moving forward. What was formerly called “Atlas” will now have a few names: 1) The client-side “Atlas” javascript library is going to be called the Microsoft AJAX Library. This will work with any browser, and also support any backend web server (read these blog posts to see how to run it on PHP and … more

  • Upgrading TFS from RC to Workgroup Edition

    Today I came into work and my build/source control server, which I thought I remembered installing the RTM of TFS Workgroup Edition, was complaining that my license had expired.  When this happens, the error message looks something like this: "TF30072: The Team Foundation Server trial period has expired or its license is otherwise invalid. Install a licensed edition of Team Foundation Server to continue." I started looking for information, mostly on Rob Caron’s blog, and quickly found a post about Expiring Team Foundation Server Installations.  Armed with that, I next decided to confirm what version of TFS I really had installed, which another post covered.  … more

  • Upgrading TFS from RC to Workgroup Edition

    Today I came into work and my build/source control server, which I thought I remembered installing the RTM of TFS Workgroup Edition, was complaining that my license had expired.  When this happens, the error message looks something like this: "TF30072: The Team Foundation Server trial period has expired or its license is otherwise invalid. Install a licensed edition of Team Foundation Server to continue." I started looking for information, mostly on Rob Caron’s blog, and quickly found a post about Expiring Team Foundation Server Installations.  Armed with that, I next decided to confirm what version of TFS I really had installed, which another post covered.  … more

  • Caching in O/R Mappers and Data Layers

    Frans Bouma, creator of LLBLGen, MVP, and all around very smart guy, wrote yesterday about the ‘myth’ that caching inside an Object-Relational (O/R) mapper makes queries run faster or makes the O/R mapper more efficient.  I think he’s missing a few key usage scenarios (and, what’s more, I think he generally has a dislike of caching for whatever reason, which may bias his opinion), which I’d like to examine here. First, let me look at his definition of a cache, since it’s likely that a disagreement on this point may be the cause of my general disagreement with his statement.  Frans defines a cache as an object store which manages objects so they … more

  • Caching in O/R Mappers and Data Layers

    Frans Bouma, creator of LLBLGen, MVP, and all around very smart guy, wrote yesterday about the ‘myth’ that caching inside an Object-Relational (O/R) mapper makes queries run faster or makes the O/R mapper more efficient.  I think he’s missing a few key usage scenarios (and, what’s more, I think he generally has a dislike of caching for whatever reason, which may bias his opinion), which I’d like to examine here. First, let me look at his definition of a cache, since it’s likely that a disagreement on this point may be the cause of my general disagreement with his statement.  Frans defines a cache as an object store which manages objects so they … more