Latest Articles

  • Selecting ListView Items with CheckBoxes

    Often we need to enable users to select multiple items from a ListView control and do a batch operation on them. While the ListView control does enable selection, it only supports selecting one row (item) at a time. This article shows a nice, easy and reusable way to enable multiple selection with checkboxes.
  • ASP.NET Routing with IIS 7 – Remember Your Modules

    In this article, Ashic shows how to take advantage of the section in web.config in IIS 7 and also points out a gotcha involving routed urls and modules.
  • Anonymous Types are Internal, C# 4.0 Dynamic Beware!

    This article explains why C# 4.0's dynamic features don't seem to work when evaluating instances of anonymous types returned from a public method of a different assembly.
  • ASP.NET MVC – Unit Testing JsonResult Returning Anonymous Types

    In this article, Ashic shows a few approaches to unit testing JsonResults that wrap anonymous types in ASP.NET MVC.
  • Fetching a Property Value via Reflection

    This is a very simple introduction on using reflection to access the value of a named property on an object using Reflection.
  • ASP.NET MVC: ModelBinding Multiple File Uploads to an Array

    In this article, Ashic Mahtab shows how to model bind multiple file uploads to a single array action parameter in ASP.NET MVC.
  • Encrypted Hidden Redux : Let's Get Salty

    In this article, Ashic Mahtab shows an elegant, reusable and unobtrusive way in which to persist sensitive data to the browser in hidden inputs and restoring them on postback without needing to change any code in controllers or actions. The approach is an improvement of his previous article and incorporates a per session salt during encryption.
  • MVC 2 RC 2 Templated Helper Bug and a Potential Solution

    In this Article, Ashic Mahtab looks at a potential bug in the MVC 2 RC 2 source code and proposes a solution.
  • Encrypted Hidden Inputs in ASP.NET MVC

    In this article, Ashic Mahtab shows an elegant, reusable and unobtrusive way in which to persist sensitive data to the browser in hidden inputs and restoring them on postback without needing to change any code in controllers or actions.
  • Exposing a WCF Service for Ajax and Silverlight

    In this article, Ashic Mahtab shows how to create a WCF service and expose it to Ajax and Silverlight. In doing so, he demonstrates some new features of ASP.NET Ajax and how it compares to jQuery in consuming WCF services. Lastly, he shows how simple configuration changes can enable binary encoding for a WCF service, which can increase data transfer efficiency in clients like Silverlight.

Latest Blog Entries

Powered by BlogEngine.NET 1.6.1.0
Theme by Ashic Mahtab

Need an expert?

Ashic Mahtab
ashic@live.com
(+44) 07879927393

Stats

Featured Ads

 

Donations

I maintain this site and create all content entirely in my own time just to help you guys out. If you find the stuff helpful, or cool or just like what you see, I'd appreciate you chipping in to help out with the hosting costs. It's easy to do so - just click the button below - no amount is too low :)