Re: [ADVANCED-DOTNET] Retrieving all available data on a Blocking TCP Listener Call...

2006-03-29 Thread Mike Andrews
On my tests with the server, the content length is only sent for a POST, and not sent with a GET. If the form's enctype attribute has been set, then the POST contains the header that divides the data into the various portions for processing. I believe that the data is BASE64 encoded if it's binary

Re: [ADVANCED-DOTNET] Modules...

2006-03-29 Thread Serge Lidin
About using ilasm/ildasm for module merging: I posted a little tool "illink", which does exactly that, on GotDotNet about four years ago (http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid= B7560D78-7384-41B0-8DDF-820137305E24). Have a look. I've posted the source code (523 lin

Re: [ADVANCED-DOTNET] Modules...

2006-03-29 Thread Peter van der Weerd
Well, the tool ILMerge from MS Research doesn't allow you to merge modules with any anmanaged code in it. For me that is the biggest need for multi-module assemblies. For example: if I want to have some unmanaged exports from a managed module. This is not possible from C#, but it is from ILAsm. Yo

Re: [ADVANCED-DOTNET] Modules...

2006-03-29 Thread Mark Smith
Said tool is ILMerge -- http://research.microsoft.com/~mbarnett/ILMerge.aspx There's also a custom MSBuild script available to integrate into VS.NET -- http://blogs.msdn.com/jomo_fisher/archive/2006/03/05/544144.aspx Mark http://www.julmar.com/blog/mark > -Original Message- > From: Disc

Re: [ADVANCED-DOTNET] Retrieving all available data on a Blocking TCP Listener Call...

2006-03-29 Thread J. Merrill
It's very possible for Content-Length to be missing. For example, the client program could be sending a number of files each of which will go thru gzip (or other compression) before being sent. Unless the client program chooses to zip (and base-64-encode?) everything to be sent before starting

Re: [ADVANCED-DOTNET] Modules...

2006-03-29 Thread Brock Allen
I can't recall ever reading anything from MSFT where they're recommended. I think the cases I cite are the ones where they make sense given the plumbing that we have at hand. And as for #1, IIRC, that's not even useful anymore since there's some tool from MS Research that will merge modules into a

Re: [ADVANCED-DOTNET] Modules...

2006-03-29 Thread Patrick Steele
Here's an old post from Ian Griffiths on multi-file assemblies (via modules): http://discuss.develop.com/archives/wa.exe?A2=ind0102B&L=DOTNET&P=R19250 -- Patrick Steele Microsoft .NET MVP http://weblogs.asp.net/psteele -Original Message- From: Discussion of advanced .NET topics. [mailt

[ADVANCED-DOTNET] Binding.BindingComplete event not firing

2006-03-29 Thread Stanislav Peťko
Hello I have troubles with Binding object. I wanted to handle BindingComplete event, but in is not firing... never. I also tried to Derive this class and override OnBindingComplete() method, but still get no result. :( Databinding works OK. When I write something on a form, it gets into DataTable

Re: [ADVANCED-DOTNET] Retrieving all available data on a Blocking TCP Listener Call...

2006-03-29 Thread Peter Ritchie
The content-length value is application layer data. That should be separated from the transport layer (i.e. the layer that sends/receives the data over TCP). You could stream the data into the application data for processing before all the data has been received; but, you should have transport la