Articles : Page 1 of 26

  • Umbraco 5 Runs on ASP.NET MVC 3 and Razor View Engine

    Umbraco 5 Runs on ASP.NET MVC 3 and Razor View Engine

    Jan 12
    28

    Spending quite a bit of time with Umbraco 5 during the evenings now that Umbraco is based on ASP.NET MVC and Razor! Starting Umbraco 5 Tutorials that also compare it to Orchard CMS....


  • POP Forums v9.2 posted to CodePlex, with new languages, post voting and the scoring game

    POP Forums v9.2 posted to CodePlex, with new languages, post voting and the scoring game

    Jan 12
    24

    POP Forums v9.2.0 is the third release for the ASP.NET MVC3 version of POP Forums. It is feature complete, stable, and ready for feedback. For previous release notes, see previous releases. Check out the live preview: http://popforums.com/Forums Setup instructions are available in the documentation section. Upgrading? If you're upgrading from v9.0 or v9.1, simply replace the existing files. You'll also have to run the PopForums4.xto4.2.sql SQL script against your existing database. That ...


  • A Really Empty ASP.NET MVC 3 Project Template

    A Really Empty ASP.NET MVC 3 Project Template

    Jan 12
    11

    In the ASP.NET MVC 3 Uservoice site, one of the most voted up items is a suggestion to include an empty project template. No, a really empty project template. You see, ASP.NET MVC 3 includes an “empty” project template, but it’s not empty enough for many people. So in this post, I’ll give you a much emptier one. It’s not completely empty. If you really wanted it completely empty, just choose the ASP.NET Empty Web Application template. The Results I’ll show you the results first, and then t...


  • The evolution of asynchronous controllers in ASP.NET MVC

    The evolution of asynchronous controllers in ASP.NET MVC

    Jan 12
    09

    Asynchronous operations in ASP.NET MVC have always been left a bit behind. They appeared in ASP.NET MVC 2, remained untouched in v3, but now in MVC 4 (especially  in combination with C# 5 and async/await) they reached the same easiness of use of the standard synchronous controller. Now (or better, in a few months with the release of ASP.NET MVC 4, .NET 4.5 and C# 5) you can write public async Task<ViewResult> Stuff() { return View(await DoStuff("Some stuff")); } In this post I’m going to...


  • OSS and .NET Year In Review 2011

    OSS and .NET Year In Review 2011

    Dec 11
    26

    T’is the season for “Year in Review” and “Best of” blog posts. It’s a vain practice, to be sure. This is exactly why I’ve done it almost every year! After all, isn’t all blogging pure vanity? Sadly, I did miss a few years when my vanity could not overcome my laziness. This year I am changing it up a bit to look at the intersection of open source software and the .NET community in 2011. I think it’s been a banner year for OSS and .NET/Microsoft, and I think it’s only going to get better in 20...


  • POP Forums v9.1.0 has been posted to CodePlex!

    POP Forums v9.1.0 has been posted to CodePlex!

    Dec 11
    15

    Finally! After moving, being a dad and engaging in a great deal of home improvement, I finally managed to find time to an update out to POP Forums. I hope to not be that guy anymore, going forever between updates. Release Notes This is the first release for the ASP.NET MVC3 version of POP Forums. It is feature complete, stable, and ready for feedback. For previous release notes, see previous releases. Check out the live preview: http://preview.popforums.com/Forums Setup instructions are ...


  • Using QUnit with Razor Layouts

    Using QUnit with Razor Layouts

    Dec 11
    11

    Given how central JavaScript is to many modern web applications,  it is important to use unit tests to drive the design and quality of that JavaScript. But I’ve noticed that there are a lot of developers that don’t know where to start. There are many test frameworks out there, but the one I love is QUnit, the jQuery unit test framework. Most of my experience with QUnit is writing tests for a client script library such as a jQuery plugin. Here’s an example of one QUnit test file I wrote a ...


  • New NuGet.org Deployed!

    New NuGet.org Deployed!

    Dec 11
    06

    So my last day at Microsoft ended up being a very long one as the NuGet team worked late into the evening to deployan updated version of NuGet.org. I’m very happy to be a part of this as my last act as a Microsoft employee. This is complete re-write of the gallery. Why a rewrite? We’ve learned a lot since we first launched, and our needs have evolved to the point where a rewrite made sense. The new implementation is a vanilla ASP.NET MVC 3 application and highly optimized to be a gallery wit...


  • Repaving your PC: the easier way

    Repaving your PC: the easier way

    Nov 11
    28

    It"s been a while since I had to repave my laptop. I have a Windows Home Server (WHS) at home which images my PC almost daily and allows restoring it to a given point in time in less than 30 minutes. Which is awesome! And which is how I usually restore my PC into a stable state. Over the past year some hardware changes have been made of which the most noteworthy is the replacement of the existing hard drive with an SSD. A great addition, and it was easy to restore as well: swap the disks and r...


  • Razor Donut Caching

    Razor Donut Caching

    Nov 11
    26

    Donut caching, the ability to cache an entire page except for a small region of the page (or set of regions) has been conspicuously absent from ASP.NET MVC since version 2. Mmmmm, donuts! – Photo by Pzado at sxc.hu This is something that’s on our Roadmap for ASP.NET MVC 4, but we have yet to flesh out the design. In the meanwhile, there’s a new NuGet package written by Paul Hiles that brings donut caching to ASP.NET MVC 3. I haven’t tried it myself yet, so be forewarned, but judging by th...