ASP.NET MVC, MVVM and file uploads...
Posted
by Kieron
on Stack Overflow
See other posts from Stack Overflow
or by Kieron
Published on 2009-11-04T15:38:40Z
Indexed on
2010/05/24
5:51 UTC
Read the original article
Hit count: 448
Hi,
I'm big fan of the MVVM pattern, in particular while using the ASP.NET MVC Framework (in this case v2 preview 2).
But I'm curious if anyone knows how to use it when doing file uploads?
public class MyViewModel
{
public WhatTypeShouldThisBe MyFileUpload { get; set; }
}
© Stack Overflow or respective owner