Click here to Skip to main content
15,891,777 members
Home / Discussions / C#
   

C#

 
GeneralRe: NULLReferenceException Pin
Heath Stewart15-Jun-04 3:15
protectorHeath Stewart15-Jun-04 3:15 
Generalhelp! java webservices and C# clients... Pin
Nik Vogiatzis14-Jun-04 20:56
Nik Vogiatzis14-Jun-04 20:56 
GeneralRe: help! java webservices and C# clients... Pin
Heath Stewart15-Jun-04 3:08
protectorHeath Stewart15-Jun-04 3:08 
GeneralRe: help! java webservices and C# clients... Pin
Nik Vogiatzis15-Jun-04 3:14
Nik Vogiatzis15-Jun-04 3:14 
GeneralRe: help! java webservices and C# clients... Pin
Heath Stewart15-Jun-04 3:57
protectorHeath Stewart15-Jun-04 3:57 
GeneralRe: help! java webservices and C# clients... Pin
Nik Vogiatzis15-Jun-04 12:12
Nik Vogiatzis15-Jun-04 12:12 
GeneralHTTP Requests and Posts Pin
Richard Beacroft14-Jun-04 20:40
Richard Beacroft14-Jun-04 20:40 
GeneralRe: HTTP Requests and Posts Pin
Heath Stewart15-Jun-04 3:04
protectorHeath Stewart15-Jun-04 3:04 
You just need to upload the file via POST. If you look at the HttpWebRequest.GetRequestStream method documentation in the .NET Framework SDK, you'll find a nice example.

Note that this uses POST, though, not GET (which uses the query string). Sending a schema via GET is riddled with problems, one of which is size restrictions. A GET query string can only be so long (128 bytes, IIRC), and schemas can easily break that barrier.

In ASP.NET, there is an easy way to get files that are uploaded. See the HttpRequest.Files property documentation in the SDK. Use Page.Request to get the HttpRequest, then enumerate the Files property. Do what you need with the schema then send your response using the Page.Response property (an HttpResponse).

 

Microsoft MVP, Visual C#
My Articles
GeneralCompile my C# Class Pin
dabuskol14-Jun-04 20:33
dabuskol14-Jun-04 20:33 
GeneralRe: Compile my C# Class Pin
Tarakeshwar Reddy14-Jun-04 23:04
professionalTarakeshwar Reddy14-Jun-04 23:04 
GeneralRe: Compile my C# Class Pin
dabuskol14-Jun-04 23:44
dabuskol14-Jun-04 23:44 
GeneralRe: Compile my C# Class Pin
Heath Stewart15-Jun-04 2:57
protectorHeath Stewart15-Jun-04 2:57 
GeneralRe: Compile my C# Class Pin
dabuskol15-Jun-04 19:00
dabuskol15-Jun-04 19:00 
Generalabout UITypeEditor Operation in RunTime Pin
pig123414-Jun-04 17:47
pig123414-Jun-04 17:47 
GeneralRe: about UITypeEditor Operation in RunTime Pin
Heath Stewart15-Jun-04 2:54
protectorHeath Stewart15-Jun-04 2:54 
GeneralRe: 0 result with double data type Pin
myNameIsRon14-Jun-04 17:25
myNameIsRon14-Jun-04 17:25 
GeneralRe: 0 result with double data type Pin
Colin Angus Mackay14-Jun-04 23:36
Colin Angus Mackay14-Jun-04 23:36 
GeneralRe: 0 result with double data type Pin
myNameIsRon15-Jun-04 20:05
myNameIsRon15-Jun-04 20:05 
GeneralRe: 0 result with double data type Pin
Colin Angus Mackay15-Jun-04 20:30
Colin Angus Mackay15-Jun-04 20:30 
GeneralRe: 0 result with double data type Pin
Serge Lobko-Lobanovsky15-Jun-04 1:34
Serge Lobko-Lobanovsky15-Jun-04 1:34 
GeneralRe: 0 result with double data type Pin
myNameIsRon15-Jun-04 20:08
myNameIsRon15-Jun-04 20:08 
GeneralRe: 0 result with double data type Pin
Serge Lobko-Lobanovsky15-Jun-04 21:20
Serge Lobko-Lobanovsky15-Jun-04 21:20 
GeneralC# Application is Error Pin
GuruVN14-Jun-04 17:15
GuruVN14-Jun-04 17:15 
Generalusing winuser.h Pin
eggie514-Jun-04 16:09
eggie514-Jun-04 16:09 
GeneralRe: using winuser.h Pin
Mazdak14-Jun-04 19:49
Mazdak14-Jun-04 19:49 

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.