Contents tagged with ASP.NET MVC
-
ASP.NET MVC Gotcha – String as Model
Ashic looks at a gotcha when returning a view with a string model from a controller in ASP.NET MVC.
-
ViewBag can be good…honestly
Ashic discusses why some data is best passed in via the ViewBag dynamic as opposed to strongly typed viewmodels.
-
ASP.NET MVC 3 CTP1 View Improvements
Ashic shows the various View improvements in ASP.NET MVC 3 CTP1 in a 45 minute screencast. Topics covered include Razor syntax, layouts, templating, global namespaces. He also takes a look at the new dynamic viewmodel and how it can be used to clean up View code.Note: Cross posted from Heartysoft.com.
Permalink -
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.
-
ASP.NET MVC: ModelBinding Multiple File Uploads to an Array
Note: Cross posted from Heartysoft.com.
Permalink
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.
Note: Cross posted from Heartysoft.com.
Permalink -
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.
Note: Cross posted from Heartysoft.com.
Permalink -
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.
Note: Cross posted from Heartysoft.com.
Permalink -
Ajax, Asp.net Ajax, jQuery – Misconceptions and Facts
There seems to be some confusion among a lot of developers about Asp.net Ajax. This article will hopefully clear some doubts regarding what it is, what it isn’t and where jQuery comes in.
-
Speaking at Microsoft Day @ Dhaka- June 20, 2009
It’s finally happening…we’re having an MS dev (and IT) event here in Dhaka, Bangladesh. This is the first one ever and marks a significant landmark for the software industry here. It’s going to be held on June 20, at IDB Bhaban Auditorium. You can find details and register (mandatory) for the event here:...