我有這個代碼這個Global.asax文件: routes.MapRoute("Invitations",
"api/invitations",
new { controller = "Invitations", action = "Invitation"});
而且我有一個控制器: public class InvitationsController
我正在使用服務器對象的傳統asp訪問虛擬文件夾中的文件。這裏是獲取文件夾的代碼: Set FSO = Server.CreateObject("Scripting.FileSystemObject")
Dim mapPath
mapPath = Server.MapPath("http://development/far/")
Set farFolder = FSO.GetFolder(ma