Microsoft MVP성태의 닷넷 이야기
.NET 3.0 : 19. WCF 서비스 호스트의 using 처리에 대해. [링크 복사], [링크+제목 복사],
조회: 14906
글쓴 사람
정성태 (techsharer at outlook.com)
홈페이지
첨부 파일
 

Why "using" is bad for your WCF service host
; http://blogs.msdn.com/salvapatuel/archive/2007/04/25/why-using-is-bad-for-your-wcf-service-host.aspx

위의 블로그에서는, 흔히 볼 수 있는 Service Host 시의 using 사용에 대한 문제점을 지적하고 있습니다. 실제로, WCF 프로그램을 만들어 보신 분들은 많이 공감을 하시겠지만... configuration 파일로부터 읽어들이는 정보가 잘못된 경우 도대체 어느 부분에서 잘못되었는지 알아내기가 그다지 쉽지 않다는 문제가 있지요.

위의 블로그를 읽어보니, 결국 using 문으로 인해 first-exception 에서 제공되는 직접적인 오류 원인 정보가 감춰지기 때문이라고 합니다.

사실, WCF 호스트는 그다지 자주 나타나는 상황은 아니기 때문에, 개발의 편이성을 위해서 사용자가 직접 try/catch 를 구성하는 것이 바람직하겠습니다.








[최초 등록일: ]
[최종 수정일: 4/26/2007]


비밀번호

댓글 작성자
 




... 31  32  33  34  35  36  37  38  [39]  40  41  42  43  44  45  ...
NoWriterDateCnt.TitleFile(s)
213정성태4/13/200611907Introduction to the MSN Messenger Activity SDK
212정성태4/13/200613894FIN_WAIT_2 상태에 대하여
211정성태4/13/200612476Override CLR Assembly Probing Logic
210정성태4/13/200612909Web.config의 기본 <appSettings /> Handler 교체
209정성태3/25/200612759Win32 FileID API Library
208정성태4/13/200612250(거의)모든 DB 에 대한 ADO.NET Data Provider (유료)목록
205정성태4/13/200612415Static Code Analyzer
206정성태4/13/200612046    답변글 Visual C++ Express를 사용한 보안 응용 프로그램 빌드
203정성태4/13/200611818WGF (Windows Graphic Foundation) [1]
202정성태4/13/200611843사용자 컴퓨터 환경 조사 결과(외국 사례)
201정성태4/13/200617202MySQLDirect .NET Data Provider
207정성태4/13/200611354    답변글 무료: Download Connector/Net 1.0 (MySQL) [1]
200정성태4/13/200611815Understanding Classic COM Interoperability With .NET Applications파일 다운로드1
199정성태4/13/200612195How to get a V2.0 ICorDebug object
198정성태4/13/200612211Whidbey breaking change --- Caching binding failures [1]
197정성태4/13/200611622The JIT does dead-code elimination in Debuggable code
195정성태4/13/200611503910442 - Working with Web Resources in ASP.NET 2.0
194정성태4/13/200612115ASP.NET 2.0 WebPart - SQL Server Error 26: Error Locating Server/Instance Specified
193정성태4/13/200612175WCF - Breaking Changes between Jan CTP and Feb CTP파일 다운로드1
192정성태4/13/200611587Cassini Update
191정성태4/13/200612674LeechBlocker ISAPI Filter
189정성태4/13/200611853The New Anonymous Types Feature in C# 3.0 [1]
188정성태3/8/200611992Microsoft Anti-Cross Site Scripting Library V1.0
196정성태4/13/200611398    답변글 왜 사용해야 하는가?
187정성태4/13/200611347제 1회 INETA 세미나
186정성태4/13/200611871Internet Information Services (IIS) 6.0 Manager for Windows XP
... 31  32  33  34  35  36  37  38  [39]  40  41  42  43  44  45  ...