Microsoft MVP성태의 닷넷 이야기
.NET 3.0 : 19. WCF 서비스 호스트의 using 처리에 대해. [링크 복사], [링크+제목 복사],
조회: 14367
글쓴 사람
정성태 (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)
239정성태4/18/200611593Display a Web Page in a Plain C Win32 Application
238정성태4/17/200611528ASP.NET 2.0 의 Provider 관련 쪽 소스 공개
237정성태4/17/200611201Microsoft Application Verifier
236정성태4/17/200612452IIS6 - IE static resource caching problem
235정성태4/13/200611128"Atlas" Control Toolkit for April CTP Released
234정성태4/13/200611470Access Visual Studio 2005 Team System From Macintosh and UNIX Systems, and from within the Eclipse IDE
233정성태4/13/200611161More Workflow Videos
232정성태4/13/200612137Microsoft Visual C++ 2005 Redistributable Package
231정성태4/13/200611663Windows Presentation Foundation Hands-On-Labs - February 2006 CTP
230정성태4/13/200611503Microsoft Management Model Designer
229정성태4/13/200612503Discovery Wizard for SharePoint
228정성태4/13/200612035TeamPlain Web Access for Team System
227정성태4/13/200611870Scrum for Team System Released
226정성태4/13/200611773Visual Studio Team Foundation Server MSSCCI Provider Version 1.0
224정성태4/13/200611330VC++ - GroupLab Component Library
223정성태4/13/200610466MSBuild Community Tasks Project releases new version
225정성태4/13/20069877    답변글 Visual Studio 2005 Web Application Projects (RC1)
222정성태4/13/200610936Visual Studio 2005 Security Features and Tools
220정성태6/8/200610822Shared Source Common Language Infrastructure 2.0 Release [1]
219정성태8/4/200610652Simple List Extensions Specification
218정성태4/13/2006112773rd party library - EZShellExtensions.Net 1.0 [1]
217정성태4/13/200611049Bug Details: GC fails to load in server mode if config file contains none ASCII characters
215정성태4/13/200611198http://www.400plusdifferences.com/
214정성태4/13/20069686Team Foundation Server, Biztalk 2006
216정성태4/13/200611059    답변글 Team Foundation Server 시험판 공개 다운로드
213정성태4/13/200611143Introduction to the MSN Messenger Activity SDK
... 31  32  33  34  35  36  37  [38]  39  40  41  42  43  44  45  ...