Click here to Skip to main content
15,900,258 members
Home / Discussions / C#
   

C#

 
GeneralRe: Rotation Pin
oOomen6-Apr-04 6:12
oOomen6-Apr-04 6:12 
GeneralRe: Rotation Pin
Heath Stewart6-Apr-04 6:16
protectorHeath Stewart6-Apr-04 6:16 
GeneralFastest way to upload large files Pin
bobbiek6-Apr-04 4:20
bobbiek6-Apr-04 4:20 
GeneralRe: Fastest way to upload large files Pin
Daniel Turini6-Apr-04 4:56
Daniel Turini6-Apr-04 4:56 
GeneralRe: Fastest way to upload large files Pin
bobbiek6-Apr-04 5:12
bobbiek6-Apr-04 5:12 
GeneralRe: Fastest way to upload large files Pin
Heath Stewart6-Apr-04 5:20
protectorHeath Stewart6-Apr-04 5:20 
GeneralRe: Fastest way to upload large files Pin
bobbiek6-Apr-04 5:39
bobbiek6-Apr-04 5:39 
GeneralRe: Fastest way to upload large files Pin
Heath Stewart6-Apr-04 5:49
protectorHeath Stewart6-Apr-04 5:49 
Neither DIME nor SOAP uses .NET Remoting - .NET Remoting (and Web Services) use DIME and/or SOAP (Remoting can also use other formatters).

While DIME is related to SOAP in that it's a solution to a problem, it's not really tied to it. DIME is simply prepending the actual bytes to the SOAP message and referring to it in the SOAP message body.

I'm not sure where you got that DIME doesn't work with Win98/ME. If the implementation requires it for some functionality, nothing's stopping you from implementing it yourself without such a requirement (which I've never seen, BTW). DIME is a specification. The WSE (Web Service Enhancements) supports it, but you can make your own implementation. There's plenty of conceptual and technical documentation on it, including the specification itself (don't remember where, but it'll be linked in various articles - probably on W3C[^]).

Also, if all you're doing is uploading files to a web server, you could always just stick with simple HTTP POST. It's easy. If you are needing this for a Web Services or .NET Remoting, you could always have the page that accepts the post return a cookie (not necessarily the HTTP kind - just a token that is associated with an operation) that you pass to the WS or Remoting object that identifies the group of files (perhaps stored in a file, database, or some session- or application-level cache if using the same AppDomain for the site and WS or Remoting host).

The simple point is that you want to avoid having to encode the byte[] array because its slow (typically, base64 encoding is used but this can be changed using variousing binding flags for the SoapFormatter). If you use a BinaryFormatter as the format to be sent across the wire, you don't have to worry about this encoding problem (and its better for any size of file - or data, for that matter, but not always desirable because of interoperability with other platforms).

 

Microsoft MVP, Visual C#
My Articles
GeneralRe: Fastest way to upload large files Pin
bobbiek6-Apr-04 6:16
bobbiek6-Apr-04 6:16 
GeneralRe: Fastest way to upload large files Pin
Heath Stewart6-Apr-04 6:23
protectorHeath Stewart6-Apr-04 6:23 
GeneralRe: Fastest way to upload large files Pin
bobbiek6-Apr-04 6:49
bobbiek6-Apr-04 6:49 
GeneralRe: Fastest way to upload large files Pin
Heath Stewart6-Apr-04 7:04
protectorHeath Stewart6-Apr-04 7:04 
GeneralRe: Fastest way to upload large files Pin
John Rayner6-Apr-04 13:14
John Rayner6-Apr-04 13:14 
GeneralScan and Compare Pin
Eolus6-Apr-04 4:17
Eolus6-Apr-04 4:17 
GeneralRe: Scan and Compare Pin
Heath Stewart6-Apr-04 5:15
protectorHeath Stewart6-Apr-04 5:15 
GeneralRe: Scan and Compare Pin
Eolus6-Apr-04 21:04
Eolus6-Apr-04 21:04 
GeneralRe: Scan and Compare Pin
Bill Dean7-Apr-04 2:37
Bill Dean7-Apr-04 2:37 
GeneralRe: Scan and Compare Pin
Heath Stewart7-Apr-04 3:12
protectorHeath Stewart7-Apr-04 3:12 
GeneralRe: Scan and Compare Pin
Eolus7-Apr-04 3:32
Eolus7-Apr-04 3:32 
GeneralRe: Scan and Compare Pin
Heath Stewart7-Apr-04 3:37
protectorHeath Stewart7-Apr-04 3:37 
GeneralRe: Scan and Compare Pin
Bill Dean7-Apr-04 7:01
Bill Dean7-Apr-04 7:01 
GeneralTextBox Paste Pin
Simon Wren6-Apr-04 3:00
professionalSimon Wren6-Apr-04 3:00 
GeneralRe: TextBox Paste Pin
Heath Stewart6-Apr-04 3:34
protectorHeath Stewart6-Apr-04 3:34 
GeneralRe: TextBox Paste Pin
Simon Wren6-Apr-04 3:37
professionalSimon Wren6-Apr-04 3:37 
QuestionHow I may safe close my application? Pin
novitzky6-Apr-04 2:59
novitzky6-Apr-04 2:59 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.