MVC File upload unobtrusive validation

The solution contains MVC server side validators that validates a HttpPostedFileBase minimum file size(MinimumFileSizeValidator), maximum file size(MaximumFileSizeValidator) and the file extension respectively(ValidFileTypeValidator).

C# (8.1 MB)
5 Star
846 times
Add to favorites
E-mail Twitter Digg Facebook

Solution explorer

param($installPath, $toolsPath, $package, $project)

. (Join-Path $toolsPath common.ps1)

# Update the _references.js file
Remove-Reference $scriptsFolderProjectItem $modernizrFileNameRegEx