Microsoft MVP성태의 닷넷 이야기
.NET 3.0 : 19. WCF 서비스 호스트의 using 처리에 대해. [링크 복사], [링크+제목 복사],
조회: 10098
글쓴 사람
정성태 (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]


비밀번호

댓글 작성자
 




... 16  17  18  19  20  21  22  23  24  25  26  27  28  29  [30]  ...
NoWriterDateCnt.TitleFile(s)
450정성태9/28/20069605.NET : 16. ADO.NET vNext Entity Data Model Designer Prototype, CTP
449정성태9/28/200610513TFS : 37. Team Foundation Server and Basic Authentication
448정성태9/28/200610069TFS : 36. Moving the Team Foundation Server Data Warehouse to a Separate Server
447정성태10/20/200610208Vista : 10. ASLR이 적용된 Vista
446정성태9/26/20069997개발환경 구성 : 31. Profiling Tool for .NET Developers
445정성태10/20/20069649Windows 2008 : 2. LHS Feature Of The Week #2 - Remote Differential Compression
444정성태10/20/200610222Windows 2008 : 1. LHS Feature Of The Week #1 - Transactional NTFS
443정성태9/23/200610113개발환경 구성 : 30. Tip/Trick: Optimizing ASP.NET 2.0 Web Project Build Performance with VS 2005
442정성태9/28/200610670TFS : 35. 설치 설명서 / 관리자 가이드 도움말 업데이트
441정성태9/21/200611156개발환경 구성 : 29. SQL Server Spec 비교
440정성태10/20/200610552.NET 3.0 : 3. WCF Workshops updated to Release Candidate 1
439정성태9/20/200610557개발환경 구성 : 28. Caml Viewer 2007 : released on Codeplex
438정성태9/20/200610314개발환경 구성 : 27. Enterprise Smart Card Deployment in the Microsoft® Windows® Smart Card Framework
437정성태9/19/200610262TFS : 34. Getting Started with TFS Integrator 파일 다운로드2
434정성태9/20/200610975개발환경 구성 : 26. Developing Web Applications on Windows Vista with Visual Studio 2005
433정성태10/20/200610421Vista : 9. Next Generation TCP/IP Stack
432정성태9/16/200610288TFS : 33. Now Available: Teamprise V2 Preview 2
431정성태9/16/20069942개발환경 구성 : 25. Announcing the Web Client Software Factory
430정성태9/15/200610289.NET : 15. ASP.NET 2.0 - A Preview of Web LINQ - BLINQ
429정성태9/15/20069869The True Cost of .NET Exceptions
428정성태9/15/200611660.NET : 14. IronPython 예제들
427정성태9/14/200611155개발환경 구성 : 24. Smart Start and Stop Service in VS.NET Build
426정성태9/13/200610582TFS : 32. Team Foundation Server Language Change Package
425정성태9/12/200610418TFS : 31. Team Foundation Administrator's Guide (TFSAdmin.chm)
424정성태9/12/200611085Visual C++ : 2. Managed Debugger Expression Evaluator - mcee_mc.dat
422정성태9/8/200610996.NET : 13. An Introduction to LINQ
... 16  17  18  19  20  21  22  23  24  25  26  27  28  29  [30]  ...