Articles : Page 1 of 1

  • Abstracting away issues of HttpContext from your ASP.NET MVC controllers

    Abstracting away issues of HttpContext from your ASP.NET MVC controllers

    Feb 12
    03

    I've noticed that I write software in one of three modes: For myself: Shortcuts, less testing, not well-factored. For myself but in public: Mostly POP Forums, which I try to avoid letting it suck since others will use it and see the code. For sharing: Any day job or gig where others will use or maintain your code. You don't want to unleash crapsauce on others. I have to admit that second case isn't the most clean of endeavors. While I'm generally happy with the forum app and the feedba...


  • Link Rollup: New Documentation and Tutorials from Web Platform and Tools

    Link Rollup: New Documentation and Tutorials from Web Platform and Tools

    Jan 11
    14

    Lots of cool stuff was released yesterday that I mentioned in the post ASP.NET MVC3, WebMatrix, NuGet, IIS Express and Orchard released - The Microsoft January Web Release in Context. The Web Platform Tools Content Team has been working hard on new content and tutorials to get you up to date on all this fun new stuff. Here's a link rollup from Wade's documentation team. Congratulations to Mike Pope, Tim Teebken, Rick Anderson, Tim Ammann, Keith Newman, Erik Reitan and Tom Dykstra on a gre...


  • An effective testing strategy

    An effective testing strategy

    Aug 10
    25

    On a recent large project, we had a goal early on that we didn’t want to have a lot of QA folks manually testing our software. Finding bugs through manual testing is incredibly time consuming and expensive, so we opted to try and build as much quality in to the product. That’s not to say that manual testing doesn’t have its place, as humans are fantastic about using software in ways you didn’t expect. This was a long project, around 18 months, and will continue to have active development in ...

    • UnitTesting
    • Model

  • Coding rules, self-debate and formatting a string in your view

    Coding rules, self-debate and formatting a string in your view

    Jul 10
    07

    I was thinking to myself about how I wanted to format dates in a particular project recently. I said, "Self, is it wrong to use an extension method inside a view to do this?" I was clearly distracted with something else, so I didn't answer, but then The Gu did the Twitter to this gem by a guy named Chris, and he says it would not be cool. I want to make a case for two things. The first is all the cons that come up in Chris' approach (despite otherwise being a great set of rules), and second, ...



  • 1