Devhammer on MSDN
 
Succinct summaries of content for developers
  • Devhammer on MSDN

    Code Camp Info

    • 49 Comments
    The first Mid-Atlantic Code Camp will be held on May 7th from 9am to 9pm at the Reston Microsoft Technology Center . Registration is open, and you can register here . The Code Camp will feature 12 hours of community-driven, deeply technical content...
  • Devhammer on MSDN

    Get to Know Action Filters in ASP.NET MVC 3 Using HandleError

    • 10 Comments

    Update – for folks who learn best visually, I’ve posted a follow-up screencast of the demo steps discussed below, as a DevNuggets video. You can view the video here.

    What’s an Action Filter?

    If you’re just getting started with ASP.NET MVC, you may have heard of something called action filters, but haven’t had the chance to use them yet. Action filters provide a convenient mechanism for attaching code to your controllers and/or action methods that implements what are referred to as cross-cutting concerns, that is, functionality that isn’t specific to one particular action method, but rather is something you’d want to re-use across multiple actions.

    An action filter is a .NET class that inherits from FilterAttribute or one of its subclasses, usually ActionFilterAttribute, which adds the OnActionExecuting, OnActionExecuted, OnResultExecuting, and OnResultExecuted methods, providing hooks for code to be executed both before and after the action and result are processed.

    ...
  • Devhammer on MSDN

    Active Directory and ASP.NET 2.0 Beta 2

    • 21 Comments
    Are you evaluating Visual Studio 2005 Beta 2 and ASP.NET 2.0? Did you know that we shipped an Active Directory Membership Provider in Beta 2? Until recently, I didn't either. Apparently we didn't make too much noise about it because while the team had...
  • Devhammer on MSDN

    Really smart people go to Code Camps!

    • 5 Comments
    Frank LaVigne, one of the smart folks planning the upcoming Richmond Code Camp , sent me the following, which demonstrates conclusively that really smart people know that Code Camps are the place to get even smarter:
  • Devhammer on MSDN

    Windows Vista Add-ons

    • 0 Comments
    Okay okay... so for all those Windows users with Mac jealousy, now you can have the fancy icon bar with animations too. Check out Rocket Dock. It's free, and it works well. So begins a post by my colleague Peter Laudati , in which he describes Rocket...
  • Devhammer on MSDN

    Recent Projects in Visual Studio 2005

    • 5 Comments
    If, like I do, you do a lot of demos, sample projects, or just things that you tinker with, you may find that your Recent Projects list on the Visual Studio 2005 start page gets pretty full and cluttered. If so, you may have wondered if you can clear...
  • Devhammer on MSDN

    Rescuing a Window that’s Stuck Off-Screen

    • 4 Comments
    Last week, during the MSDN Roadshow stop in Reston, VA, I helped my fellow presenter Dani Diaz get a wayward Fiddler window back on-screen, after it appeared off-screen when he opened the app during a demo. Folks on hand wanted to know what keyboard shortcut...
  • Devhammer on MSDN

    Stopping BitTorrent distro of SP2...wrong? I don't think so.

    • 17 Comments
    John Dvorak is apparently of the opinion that it was “wrong on so many levels” for Microsoft to tell file-swapper sites to stop distributing XP SP2 via BitTorrent. I heartily disagree. Microsoft is already battling a perception that our software...
  • Devhammer on MSDN

    Testing SSL and HTTP Compression in your ASP.NET web sites with IIS Express

    • 0 Comments
    IMPORTANT NOTE : I will soon be moving my blog to my devhammer.net domain from its current home on blogs.msdn.com. If you typically access my blog by visiting http://devhammer.net , you can continue to do so, and it will work fine after the transition...
  • Devhammer on MSDN

    Hearing Line-In input on Vista on Dell laptop

    • 8 Comments
    Admittedly, a somewhat esoteric topic/tip, but I ran into this recently, so I figured there may be other folks who can benefit... I've got a Dell Latitude D820 laptop, running 64-bit Windows Vista Ultimate, and I've occasionally wanted to be able to use...
  • Devhammer on MSDN

    TIP: Least Privilege and ASP.NET Debugging

    • 5 Comments
    A best practice for developer security (and end-user security, for that matter) is to develop and run software using the least privilege necessary to get the job done, and no more (see Writing Secure Code, 2nd Edition for more information on Least Privilege...
  • Devhammer on MSDN

    Custom File Extensions in ASP.NET 2.0

    • 1 Comments
    Got a question a while back from a customer asking how to enable ASP.NET 2.0 pages with custom file extensions, so I played around a bit to see how to do it, and here's what I came up with: 1. Open up the IIS 5.1 or 6 management console, and navigate...
  • Devhammer on MSDN

    Open Hand? Or Closed Fist?

    • 3 Comments
    Last week I was involved in a discussion on Twitter that spurred some thoughts while I was driving to Norfolk for our MSDN Roadshow stop there. The thoughts were around how we communicate. The way I see it (and I’m sure I’m not the first to put it this...
  • Devhammer on MSDN

    Multiple Accounts In Outlook

    • 1 Comments
    A few months ago, my colleague Peter Laudati posted the following as part of a paean to Windows Live Mail : So why do I think WL Mail is so great? There are a bunch of reasons. Reason #1: It lets you easily manage multiple e-mail accounts. Okay, that...
  • Devhammer on MSDN

    Download the Silverlight 3 Tools and SDK

    • 2 Comments
    The Silverlight 3 SDK and Tools are now available . Here’s the scoop: This package is an add-on for Visual Studio 2008 SP1 to provide tooling for Microsoft Silverlight 3. It can be installed on top of either Visual Studio 2008 SP1 or Visual Web Developer...
  • Devhammer on MSDN

    Using a DateFormatString in an ASP.NET 2.0 GridView

    • 1 Comments
    I ran into this issue preparing for the Visual Studio 2005 launch last week, so I thought I'd share the solution...if you're trying to reformat a date column in a databound ASP.NET 2.0 GridView control, you may have discovered that just setting the DateFormatString...
  • Devhammer on MSDN

    Stuff that Works: Momento Digital Picture Frame

    • 8 Comments
    I recently received a surprise package, something that was sent out by the head of my organization at Microsoft as a "thank you" for our most recent fiscal year. It's turned out to be one of the coolest gadgets I own. What I received was the Momento Model...
  • Devhammer on MSDN

    Making the leap with Windows Vista Beta 1

    • 6 Comments
    So I'm on my third install of Windows Vista Beta 1 (fourth, if you include installing on Virtual PC), and I figured it's probably a good time to share some of my experiences. On VPC : If your goal is to get the full Aero Glass experience (window...
  • Devhammer on MSDN

    Andrew's Bio

    • 2 Comments
    G. Andrew Duthie, aka devhammer, is the Developer Evangelist for Microsoft’s Mid-Atlantic States district, where he provides support and education for developers working with the .net development platform. In addition to his work with Microsoft...
  • Devhammer on MSDN

    Free Anti-virus protection for Microsoft users from CA

    • 8 Comments
    H a p p y H o l i d a y s ! For those of you who haven't already gotten enough presents, here's one that can help you stay secure...Computer Associates is offering a free one-year subscription to their eTrust EZ Armor LE product which combines their anti...
  • Devhammer on MSDN

    Book Resources

    • 1 Comments
    If you're looking for resources for one of my books, you're in the right place. For assistance with, or questions about, my MS Press books that are not addressed in this article, you can feel free to contact me via the Contact link on this page. You...
  • Devhammer on MSDN

    Tip: Shadow Copy and your \bin directory

    • 0 Comments
    One of the things that makes developing ASP.NET applications very cool is that you can rapidly prototype, tweak, and update your application, without having to stop and restart the web server. This includes assemblies (DLLs) used by your application for...
  • Devhammer on MSDN

    Pluralsight MVC 3 Videos with K. Scott Allen – Free, for a limited time

    • 0 Comments
    If you’re new to ASP.NET MVC , or just new to MVC 3, it’s worth taking the time to check out K. Scott Allen’s MVC 3 video series, published by Pluralsight , and available for free for a limited time. I just watched the introduction, and it’s a good overview...
  • Devhammer on MSDN

    Making an Ajax Toolkit CollapsiblePanelExtender work with a DataList

    • 0 Comments
    So I've been working on the web site for .NET University , a site devoted to helping folks train up on .net 3.0, which is the brainchild of my Atlanta counterpart, Doug Turnure . One of Doug's great community guys, Brendon Schwartz , created a nice HTML...
  • Devhammer on MSDN

    ASP.NET 2.0 Provider Toolkit

    • 0 Comments
    Since I'm planning to talk about the Provider Model in ASP.NET 2.0 at several user groups this month (including Richmond .net tonight, Maryland ColdFusion User Group on the 14th, Capital Area .net UG on the 28th, and BaltoMSDN on March 15th), I wanted...
Page 1 of 64 (1,581 items) 12345»