소스 (2) 썸네일형 리스트형 [다음 API] 주소 검색 샘플 다음 API 반환 구조 클래스 #region " [ 다음 주소검색 ] " public class DaumAddressSearchResult { public Channel channel { get; set; } } public class Channel { public string totalCount { get; set; } public string link { get; set; } public string result { get; set; } public string generator { get; set; } public string pageCount { get; set; } public string lastBuildDate { get; set; } public Item[] item { get; set; .. [ASP.NET MVC] 도로명주소 검색하기 소스 도로명주소 안내시스템(http://www.juso.go.kr/openIndexPage.do) 의 open api 연계가이드를 바탕으로 작성하였습니다. 가이드에서 제공하는 url에 직접 ajax 호출시 IE 저버전(7,8,9)에서 XSS가 발생함. jQuery 의 권고 ( $.support.cors = true; ) 적용시 보안 컨텐츠경고창이 뜨게되니 이방법도 패스~ Ajax 호출부 URL을 로컬 경로로 변경하고 HttpWebRequest 로 호출 후 string 으로 결과값 반환하는 방식으로 변경 Controller public string RoadAddress(string confmKey, int currentPage = 1, int countPerPage = 10, string keyword = "".. 이전 1 다음