Public (1) 썸네일형 리스트형 [ASP.NET MVC] Make sure that the controller has a parameterless public constructor 유발소스 ASP.NET MVC /Controller/FileController.cs public string storageRoot { get; set; } public FileController() { storageRoot = Server.MapPath("~/App_Data/Upload"); } public FileController(ServerPathProvider pathProvider) { storageRoot = pathProvider.MapPath(); } public string DoSomething(string path1, string path2, string filename) { return StorageRoot + "\\" + path1 + "\\" + path2 + "\\" + file.. 이전 1 다음