Re: [ADVANCED-DOTNET] ThreadPool and COM+

2003-10-03 Thread Ed Stegman
>>3) Is there some security or thread related issue here that I'm just not >> seeing? And does this underlying issue explain why things work during >> Debug and fail when not running under an IDE managed thread? Yes, because the debugger runs your code in an STA. You'll need to run your ASP.N

Re: [ADVANCED-DOTNET] Handling Errors

2003-10-03 Thread Heath Ryan
Hi Daniel, It depends, really. How much of the inner working to you want to hide from the developer/user? Personally i find it very frustrating when a certain/specific exception is replace with a generic exception, the real reason of the exception got lost, while sometimes the generic exception

Re: [ADVANCED-DOTNET] namespace resolution

2003-10-03 Thread Stephen Dunn
What happens when you alias the namespace? (using MyOtherLib = B.C) -Original Message- From: Peter Zaborski [mailto:[EMAIL PROTECTED] Sent: 02 October 2003 18:17 To: [EMAIL PROTECTED] I'm seeing some weird behavior with namespace resolution and wonder if anyone has an explanation. I hav

[ADVANCED-DOTNET] Who validate with IXmlSerializable.GetSchema() ?

2003-10-03 Thread Luca Minudel
I'm implementing the IXmlSerializable to enable a type to be used with Web Services. I've implemented the IXmlSerializable GetSchema() method that does return the xml schemas for xml serialization of my type . In debug I can see that the run-time call the GetSchema() method anyway if I return a s

Re: [ADVANCED-DOTNET] Handling Errors

2003-10-03 Thread Streno, Robert
My general philosophy is to throw the most specific exception per layer. For example, if your SQL Server layer gets a connection timeout, that layer throws a "Connection Timeout" exception. The data access layer then throws a "Cannot access data store" exception, passing on the original exception