MVC File Upload Helper
Please advise, in WebMatrix 2, I downloaded MVCFileUpload helper package
and tried to upload a file. Here is the diagnostic and the code fragment that caused it:
Line 1: using System.Collections.Generic;
Line 2: using System.Web.Mvc;
Line 3: using MvcFileUploader;
Line 4: using MvcFileUploader.Models;
Line 5:
Line 6: namespace .Controllers <<<< Identifier Expected >>>> Error
Line 7: {
Line 8: public class MvcUploaderTestController : Controller
Line 9: {
Line 10: //
Line 11: // GET: /MvcUploaderTest/Demo
Line 12:
Line 13: public ActionResult Demo()
Line 14: {
Line 15: return View();
Line 16: }
Line 17:
Line 18: public ActionResult UploadFile()
It never got to the code that asked for the file info.
Any suggestions?
|