Browse by Tags

How to support file uploads in ASP.Net MVC
Published 3 June 9 4:57 PM | Phil Gilmore
06/03/2009, Phil Gilmore ASP.NET MVC can support file uploads. You need two components to support file uploads. A form in your markup (view) which contains an <input type="file"...> tag and which has the proper enctype attribute. A controller action...
Building data sequences in C#
Published 19 May 9 2:3 PM | Phil Gilmore
05/19/2009, Phil Gilmore Beyond the overlap they share with enumerable collections, sequences are mostly unsupported in C#. A notable exception are some of the static methods of the Enumerable class. Check them out. This support is all I need for most...
Filed under: , , ,
Regular expression for email addresses (replacing the Visual Studio 2008 default).
Published 9 January 9 11:19 AM | Phil Gilmore
Phil Gilmore I recently had a user report that they couldn't register on my client's site. The site's registration page reported that their email address was invalid. The email address was indeed strange but valid nonetheless. We were using a regular...
Filed under: