Articles : Page 1 of 10

  • 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....

    • Razor
    • MVC3
    • Di

  • 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 ...


  • 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...


  • Series of webcasts about ASP.NET MVC 3 (in Italian)

    Series of webcasts about ASP.NET MVC 3 (in Italian)

    Oct 11
    04

    After a long gestation period, today it was published on Channel9 a series of webcasts about ASP.NET MVC 3. This webcasts Ugo Lattanzi, a fellow ASP.NET Italian MVP, and I recorded (in Italian) covers the following topics: Introduction to the new features of ASP.NET MVC 3 Razor, the new view engine of ASP.NET MVC 3 How ASP.NET MVC 3, SQL CE 4 and EF CodeFirst work together Introduction to IoC/DI and how to use Ninject inside ASP.NET MVC 3 They are in Italian, but, especially the l...


  • 7 books for a .NET Summer reading list (2011 version)

    7 books for a .NET Summer reading list (2011 version)

    Sep 11
    12

    In the previous years “n books for a .NET Summer reading list” used to be the title of the book list post. Now, in the last of my 4 posts with books suggestions I am back to the original title. In my introductory post I said I would have listed only a few web development on .NET books. In fact there are only 2. Web Development on .NET Professional ASP.NET MVC 3 While Professional ASP.NET MVC v2 was mainly an update of the original professional MVC1 book, the third remake, due to the nature o...


  • Nerddinner 3.0 - ASP.NET MVC 3 HTML5 GeoLocation jQuery Mobile

    Nerddinner 3.0 - ASP.NET MVC 3 HTML5 GeoLocation jQuery Mobile

    Sep 11
    07

    Nerddinner 3.0 was released with ASP.NET MVC 3 and Razor support, but it may not be for ASP.NET MVC beginners anymore....


  • Adding Export Capabilities to the Razor WebGrid

    Adding Export Capabilities to the Razor WebGrid

    Sep 11
    03

    When MVC first came out I really missed having a grid control. Now a few years later, we finally have a grid control again. In case, you didnt know the WebGrid was included in the System.Web.Helpers assembly which shipped with MVC 3. After using a variety of grid controls over the years I was actually glad that the API for the new WebGrid was kept clean and simple. Here is a screenshot of what the grid looks like: To display a grid on a razor view page, you basically create a new grid objec...


  • New Ajax Grid Scaffolding NuGet Package for MVC 3

    New Ajax Grid Scaffolding NuGet Package for MVC 3

    Aug 11
    18

    EDITOR’S NOTE: Microsoft has an amazing intern program. For a summer, these bright college students work with a feature crew getting real work done, all the while attending cool events nearly every week that, frankly, make the rest of us jealous! Just look at some of the perks listed in this news article! This summer, the ASP.NET MVC is hosting an intern, Stephen Halter, who while very smart, doesn’t have a blog of his own (booo! hiss!). Being the nice guy that I am (and also being amenable ...


  • Professional ASP.NET MVC 3 is available!

    Professional ASP.NET MVC 3 is available!

    Aug 11
    08

    I hate code samples in technical books! No seriously, this is bile I’m not afraid to give a permalink to (nor am I afraid to end a sentence with a preposition, so there!). Even the shortest code samples are a pain to type in. And if they show anything reasonably interesting, they’re probably too long to type in. Of course, nobody actually types in the sample code, they grab the code from the companion CD (blech!) or download zip files containing the code from the companion website. With ...


  • ASP.NET MVC 4 Roadmap

    ASP.NET MVC 4 Roadmap

    Jul 11
    13

    It only feels like yesterday that we shipped ASP.NET MVC 3 followed by a release of updated Visual Studio tooling for ASP.NET MVC 3. But we’re not ones to sit on our hands for long and are busy at work on ASP.NET MVC 4. In fact, almost immediately after shipping ASP.NET MVC 3, we started working through our backlog of bugs at the same time that we started general planning for the next major version. Today, I’ve published the result of that planning in the form of a high-level roadmap for A...