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


  • NuGet Package of the Week #9 - ASP.NET MiniProfiler from StackExchange rocks your world

    NuGet Package of the Week #9 - ASP.NET MiniProfiler from StackExchange rocks your world

    Jul 11
    22

    I LOVE great debugging tools. Anything that makes it easier for me to make a site correct and fast is glorious. I've talked about Glimpse, an excellent firebug-like debugger for ASP.NET MVC, and I've talked about ELMAH, and amazing logger and error handler. Now the triad is complete with MiniProfiler, my Package of the Week #9. Yes, #9. I'm counting System.Web.Providers as #8, so phooey. ;) Hey, have you implemented the NuGet Action Plan? Get on it, it'll take only 5 minutes: NuGet Action...


  • A first look at Windows Azure AppFabric Applications

    A first look at Windows Azure AppFabric Applications

    Jul 11
    07

    After the Windows Azure AppFabric team announced the availability of Windows Azure AppFabric Applications (preview), I signed up for early access immediately and got in. After installing the tools and creating a namespace through the portal, I decided to give it a try to see what it’s all about. Note that Neil Mackenzie also has an extensive post on “WAAFapps” which I recommend you to read as well. So what is this Windows Azure AppFabric Applications thing? Before answering that question, le...


  • NuGet Package of the Week #2 - MvcMailer sends mails with ASP.NET MVC Razor Views and Scaffolding

    NuGet Package of the Week #2 - MvcMailer sends mails with ASP.NET MVC Razor Views and Scaffolding

    Mar 11
    15

    Have you implemented the NuGet Action Plan? Get on it, it'll take only 5 minutes: NuGet Action Plan - Upgrade to 1.1, Setup Automatic Updates, Get NuGet Package Explorer. The Backstory: I was thinking since the NuGet .NET package management site is starting to fill up that I should start looking for gems (no pun intended) in there. You know, really useful stuff that folks might otherwise not find. I'll look for mostly open source projects, ones I think are really useful. I'll look at how th...


  • Routing Regression With Two Consecutive Optional Url Parameters

    Routing Regression With Two Consecutive Optional Url Parameters

    Feb 11
    20

    It pains me to say it, but ASP.NET MVC 3 introduces an ugly regression in routing from ASP.NET MVC 2. The good news is that there’s an easy workaround. The bug manifests when you have a route with two consecutive optional URL parameters and you attempt to use the route to generate an URL. The incoming request matching behavior is unchanged and continues to work fine. For example, suppose you have the following route defined: routes.MapRoute("by-day", "archive/{month}/{day}", new { contro...


  • Make It Yours

    Make It Yours

    Feb 11
    02

    I went to a general store, but they wouldn't let me buy anything specific. - Steven Wright. One of the challenges of working with a general purpose programming language (like C#) and a general purpose framework (like ASP.NET, Silverlight, or any other application framework) is building something specific. The trick is to apply constraints and build abstractions to take ownership of the situation, and there is an entire bag of fancy tricks to pull from, like using fluent APIs or applying ...


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


  • Building a Self Updating Site Using NuGet

    Building a Self Updating Site Using NuGet

    Jan 11
    16

    For those of you who enjoy learning about a technology via screencast, I’ve recorded a video to accompany and complement this blog post. The screencast shows you what this package does, and the blog post covers more of the implementation details. A key feature of any package manager is the ability to let you know when there’s an update available for a package and let you easily install that update. For example, when we deployed the release candidate for NuGet, the Visual Studio Extension M...


  • Tools for the lazy: Templify and NuGet

    Tools for the lazy: Templify and NuGet

    Jan 11
    07

    In this blog post, I will cover two interesting tools that, when combined, can bring great value and speed at the beginning of any new software project that has to meet standards that are to be re-used for every project. The tools? Templify and NuGet. You know the drill. Starting off with a new project usually consists of boring, repetitive tasks, often enforced by (good!) practices defined by the company you work for (or by yourself for that company). To give you an example of a project Ive...



  • 1