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
(2)
817 times
Add to favorites
9/12/2016
E-mail Twitter del.icio.us Digg Facebook

Solution explorer

C#

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2013
VisualStudioVersion = 12.0.31101.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Presentation", "Presentation", "{A12CF65D-A5F7-4E94-A8B8-EFCB684C09F1}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "technet.MVC", "technet.MVC\technet.MVC.csproj", "{70437FE6-A830-4061-B4BB-D5E8CC7BDF09}"
EndProject
Global
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
		Debug|Any CPU = Debug|Any CPU
		Release|Any CPU = Release|Any CPU
	EndGlobalSection
	GlobalSection(ProjectConfigurationPlatforms) = postSolution
		{70437FE6-A830-4061-B4BB-D5E8CC7BDF09}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{70437FE6-A830-4061-B4BB-D5E8CC7BDF09}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{70437FE6-A830-4061-B4BB-D5E8CC7BDF09}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{70437FE6-A830-4061-B4BB-D5E8CC7BDF09}.Release|Any CPU.Build.0 = Release|Any CPU
	EndGlobalSection
	GlobalSection(SolutionProperties) = preSolution
		HideSolutionNode = FALSE
	EndGlobalSection
	GlobalSection(NestedProjects) = preSolution
		{70437FE6-A830-4061-B4BB-D5E8CC7BDF09} = {A12CF65D-A5F7-4E94-A8B8-EFCB684C09F1}
	EndGlobalSection
EndGlobal