Articles : Page 1 of 2

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


  • F# Programming: Authoring an F#/C# VSIX Project Template

    F# Programming: Authoring an F#/C# VSIX Project Template

    Sep 11
    26

    Encourage reuse and cut out those repetitive, time-wasting setup chores by creating a Visual Studio Extension project template composed of a C# ASP.NET MVC 3 Web app and two F# libraries. Dan Mohl MSDN Magazine October 2011...


  • Community Day 2011 - Fun with ASP.NET MVC, MEF and NuGet

    Community Day 2011 - Fun with ASP.NET MVC, MEF and NuGet

    Jun 11
    24

    To start the blog post: AWESOME! Thats what I have to say about the latest edition of Community Day 2011. I had the privilege of doing a session on ASP.NET MVC 3, MEF and NuGet, and as promised to the audience: here are the slides. For those who want to see the session, the recording can be found on Channel 9 from a previous event. Fun with ASP.NET MVC3, MEF and NuGet Community Day 2011, Mechelen, Belgium, 23/06/2011 Abstract: So you have a team of developers And a nice architecture to bui...


  • Referencing Routes in ASP.NET MVC The Rails Way

    Referencing Routes in ASP.NET MVC The Rails Way

    May 11
    30

    Routing is probably the most confusing aspect of working with ASP.NET MVC. It’s hard to craft a groovy URL - even harder to link properly off to that groovy URL. Rails leans on Ruby’s forgiving and friendly nature to make this a bit more simple - C#4 allows to get close to this as well. With Rails 3  you define a route in your config/routes.rb like this: match "order/receipt/:id" => "orders#receipt", :as => :receipt # receipt_url You can access this route anywhere in your application ...


  • Just released: MvcSiteMapProvider 3.1.0 RC

    Just released: MvcSiteMapProvider 3.1.0 RC

    May 11
    27

    It looks like I’m really cr… ehm… releasing way too much over the past few days, but yes, here’s another one: I just posted MvcSiteMapProvider 3.1.0 RC both on CodePlex and NuGet. The easiest way to get the current bits is this one: As usual, here are the release notes: Created one NuGet package containing both .NET 3.5 and .NET 4.0 assemblies Significantly improved memory usage and performance Medium Trust optimizations DefaultControllerTypeResolver speed improvement Resolve author...


  • Tekpub's ASP.NET MVC 3 - Suggested Outline

    Tekpub's ASP.NET MVC 3 - Suggested Outline

    May 11
    16

    In the spirit of being as transparent as possible - I thought I’d follow up on our plans for the forthcoming Mastering ASP.NET MVC 3 series. Many people have asked what we’ll be doing - so here’s what I’ve put together. Keeping It Real Overwhelmingly people have asked for a “real-world, advanced look at MVC 3”. They’re tired of the scaffold demos and Hello World things you see online. They’re impressive demos, to be sure, but don’t directly suggest to developers “this is how you can make you...


  • Slides for my talk at MIX11: Fun with ASP.NET MVC 3, MEF and NuGet

    Slides for my talk at MIX11: Fun with ASP.NET MVC 3, MEF and NuGet

    Apr 11
    14

    As promised, here are the slides and demo code for my talk "Fun with ASP.NET MVC 3, MEF and NuGet" I presented at MIX in Las Vegas. Abstract: "So you have a team of developers And a nice architecture to build on How about making that architecture easy for everyone and getting developers up to speed quickly? Learn all about integrating the managed extensibility framework (MEF) and ASP.NET MVC with some NuGet sauce for creating loosely coupled, easy to use architectures that anyone can grasp."...


  • MvcSiteMapProvider 3.0.0 released

    MvcSiteMapProvider 3.0.0 released

    Feb 11
    04

    Just a quick note to tell that MvcSiteMapProvider 3.0.0 has been released and is available on CodePlex and NuGet. This version is targeted at ASP.NET MVC 3. If you are still using ASP.NET MVC 2, no worries: version 2.3.1 contains the exact same functionality but is targeted at ASP.NET MVC 2. The changelog: Additional UpdatePriority options for generating XML sitemaps Allow to specify target on SiteMapTitleAttribute One action with multiple routes and breadcrumbs Medium Trust optimizatio...


  • ASP.NET MVC and the Managed Extensibility Framewok on NuGet

    ASP.NET MVC and the Managed Extensibility Framewok on NuGet

    Feb 11
    01

    If you search on my blog, theres a bunch of posts where I talk about ASP.NET MVC and MEF. And whats cool: these posts are the ones that are actually being read quite often. Im not sure about which bloggers actually update their posts like if it was software, but I dont. Old posts are outdated, thats the convention when coming to my blog. However I recently received a on of questions if I could do something with ASP.NET MVC 3 and MEF. I did, and I took things seriously. Im not sure if you kno...


  • Viva, Las Vegas!

    Viva, Las Vegas!

    Jan 11
    25

    I have asked it last year, and Ill ask it again. One of my session proposals made it to the shortlist for MIX11. One thing left though: votes are the only currency to get my session proposal in Vegas. Heres the session abstract: Fun with ASP.NET MVC 3 and MEF So you have a team of developers? And a nice architecture to build on? How about making that architecture easy for everyone and getting developers up to speed quickly? Learn all about integrating the managed extensibility framework a...