[Dev] BackEnd/ASP.NET MVC

방법 2. 와일드카드 맵핑 IIS 웹사이트 설정으로 간단하게 해결. IIS 7과 같이 깔끔한 주소로 동작한다. 홈디렉토리 >> 구성 >> 매핑 - 추가 실행파일 : C:\WINDOWS\Microsoft.Net\Framework\v2.0.5072\aspnet_isapi.dll 확장명 : .* (IIS 5 에서는 이렇게 해주고 실행파일쪽 마우스 클릭하면 확인이 활성화 된다...) 동사 - 모든동사, 다음으로 제한 선택 (다음으로제한 : GET, HEAD, POST, DEBUG) 스크립트엔진 선택 파일이 있는지 확인은 선택하지 않는다. (선택시 MVC 어플케이션 동작 안됨) [출처] ASP.NET MVC IIS 6 이하 설정하기|작성자 타임오브
ASP.NET MVC File Upload This very short blog post will show you how to add support for uploading files to an ASP.NET MVC application. Add a controller action Add a controller action that accepts a parameter of type HttpPostedFileBase. In the example below, I save the file to my App_Data folder. I would highly recommend that you redirect the browser to another action when done. public ActionResul..
Let’s check how to work with dropdownlists on ASP.NET MVC web applications. Basically the object you need to bind an object to a dropdownlist is the SelectList. The following overloads are available: public SelectList(IEnumerable items); public SelectList(IEnumerable items, object selectedValue); public SelectList(IEnumerable items, string dataValueField, string dataTextField); public SelectList..
JaeYa_Lee
'[Dev] BackEnd/ASP.NET MVC' 카테고리의 글 목록 (2 Page)