Re: [ADVANCED-DOTNET] Help: error in code that creates dynamically generated and compiled dll help please

2005-03-25 Thread J. Merrill
Catch the exception as an ExternalException. Look at the ErrorCode property and the InnerException property and tell us more. Has anyone written DumpAllExceptionInfo that (a) displays all standard properties of the exception (Source, HelpLink, TargetSite, etc); (b) uses Reflection to get the v

Re: [ADVANCED-DOTNET] building a multi-threaded web crawler

2005-03-25 Thread Wagner Alcocer
Check the webspider sample in the msdn/ Wagner Alcocer -Original Message- From: Francesco [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 23, 2005 4:35 PM To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM Subject: [ADVANCED-DOTNET] building a multi-threaded web crawler I'd like to build a multi

Re: [ADVANCED-DOTNET] Most appropriate design pattern to use for ...

2005-03-25 Thread Russell McClure
Bill, At first glance it seems like you are not using the strategy pattern because the little bit of code you provide matches exactly what the GoF book says the strategy pattern is supposed to eliminate (see the top of page 318). Hopefully where you have '// Use Strategy X' you are instantiating

Re: [ADVANCED-DOTNET] Focus lost in MDI application

2005-03-25 Thread Jamin Guy
Form.Focus() or Form.Activate() HTH === This list is hosted by DevelopMentorĀ® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com

Re: [ADVANCED-DOTNET] Most appropriate design pattern to use for ...

2005-03-25 Thread Vivek Vaid
The implementation would be driven by the location of the "strategy choosing" logic. In the sample code you provided - the controlling logic in located in a central location the executing that chooses the strategy to execute. The Strategies themselves have no say in the matter. However the other

Re: [ADVANCED-DOTNET] Most appropriate design pattern to use for ...

2005-03-25 Thread Knebels, Francis
How about using the State pattern? http://www.dofactory.com/Patterns/PatternState.aspx -Original Message- From: Unmoderated discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Bill Bassler Sent: Friday, March 25, 2005 1:07 PM To: ADVANCED-DOTNET@DISCUSS.DEVELOP.CO

[ADVANCED-DOTNET] Most appropriate design pattern to use for ...

2005-03-25 Thread Bill Bassler
I'm trying to determine the most appropriate design pattern to implement for the following problem. I'm receiving an xml document whose structure contains an element defining a source. Each source's document contains a similar but distinct xml document. Each one of the distinct documents requires

Re: [ADVANCED-DOTNET] Bulk data transfer of xml-based data: Best methods

2005-03-25 Thread Bill Bassler
Absolutely. Thanks === This list is hosted by DevelopMentorĀ® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com

Re: [ADVANCED-DOTNET] Bulk data transfer of xml-based data: Best methods

2005-03-25 Thread Julia Lerman
On the web service end, I create the stream with xml data and then turn it into a byte array. I then compress the byte array with the xceed component and this returns a new byte array of compressed bytes. Can't remember if it uses gzip or seomthing else but a quick look in the documentation should

Re: [ADVANCED-DOTNET] Bulk data transfer of xml-based data: Best methods

2005-03-25 Thread Bill Bassler
RE: I use xceed's streaming compression for .net component to return large (2-4 mb) xml docs from web services. Question: When you say you compress the xml document and return from a web service ... can you elaborate. Are you saying that after compression a web service web method exposes/returns s

Re: [ADVANCED-DOTNET] Bulk data transfer of xml-based data: Best methods

2005-03-25 Thread Reich, Joe
I agree, and for what it's worth, 3 MB of XML data should shrink down like 100::1** Regards, R. Joe Reich System Analyst Comcast Communications, Inc. Phone: 248.233.4512 Fax: 248.233.4788 Cell: 734.476.4844 Email: [EMAIL PROTECTED] MSN: [EMAIL PROTECTED] ** - all figured provide are courtes

Re: [ADVANCED-DOTNET] Bulk data transfer of xml-based data: Best methods

2005-03-25 Thread Julia Lerman
(should note - I own both ends of the application and use the component in the client app and in the web service to make this work) -Original Message- From: Julia Lerman [mailto:[EMAIL PROTECTED] Sent: Friday, March 25, 2005 9:43 AM To: 'Unmoderated discussion of advanced .NET topics.' Su

Re: [ADVANCED-DOTNET] Bulk data transfer of xml-based data: Best methods

2005-03-25 Thread Julia Lerman
I use xceed's streaming compression for .net component to return large (2-4 mb) xml docs from web services. It does a fantastic job and was easier than writing my own soap extension . Also note that compression will be built in to whidbey. Julie Lerman -Original Message- From: Unmoderat

Re: [ADVANCED-DOTNET] Bulk data transfer of xml-based data: Best methods

2005-03-25 Thread Kamen Lilov
Have you considered using a third-party component (available in COM and .NET flavors, as this is what you require) to ZIP - or otherwise compress - your data? If it turns out that your 3MB chunks shrink a couple of times, you can continue using web services - just transfer a zipped image of the da

Re: [ADVANCED-DOTNET] Bulk data transfer of xml-based data: Best methods

2005-03-25 Thread Chad Osgood
Another con for using FTP: No native facilities in .NET to complete the transfer. This third-party (unless you write it yourself of course, but I'm assuming that's not the approach you wish to take) dependency might be another cause for concern. If your file were ~30MB instead of ~3MB I would pro

[ADVANCED-DOTNET] Bulk data transfer of xml-based data: Best methods

2005-03-25 Thread Bill Bassler
I have a requirement to download fairly sizable blocks of xml (~3 MB) to externally located client pcs machines(across the Internet). The received data will then be persisted to a small client side database by a local VB6 application. Plus, for some client sites, this amount of data would need to b