Ask a Question related to ASP.NET General, Design and Development.
-
PJ #1
Capturing Request Stream
I would like to capture a request stream before the request has been
completely sent to the server for the sake of saving the bytes of a posted
file to disk. I have written httpmodules before, but (correct me if I am
wrong) it seems that by the ProcessRequest event, the Request has been
completely sent and aspnet_wp has used it to hydrate the httpcontext
instance.
Is there a .net way of capturing an http request as it comes in to the
server? Do I have to write an httpapplication for this or something? If
anyone could point me in the right direction ( w/out trying to sell me some
3rd party assembly ), I would appreciate it.
~TIA
PJ Guest
-
Handling Object Stream / Cross Ref stream in PDF 1.4
Hi, My PDF Application handles only PDF spec 1.4 and when my Application process a PDF file generated with Acrobat ~ PDF 1.6, I see some Cross... -
Capturing live video stream from an IP Cam with FlashCom
I want to broadcast live video stream on to a website using Flash Communication Server. I have achieved this with normal Webcam. Because of the... -
Capturing StdIN request from another server
Dear All, I am currently working with a company called brainstorm who are providing som MMS features for me. They receive the message and then... -
Capturing StdlN request from another server
Are you using <CFHTTP></CFHTTP>? -
Can't get request stream in increments - only after all sent from client
Hello all - I'm working an a SoapExtension to implement the SOAP with Attachments protocol. Here's a Google thread from the MS newsgroups... -
fzjr4n #2
Re: Capturing Request Stream
Or you must go through the pain of writing an ISAPI filter...
--
MARK TRUDGEON
[email]fzjr4n@unison.ie[/email]
This posting is provided "as is", with no warranties, and confers no rights.
"Natty Gur" <natty@dao2com.com> wrote in message
news:uIZHS6BTDHA.2148@TK2MSFTNGP11.phx.gbl...> Hi,
>
> Is the Request.InputStream holds that data ?
>
> Natty Gur, CTO
> Dao2Com Ltd.
> 28th Baruch Hirsch st. Bnei-Brak
> Israel , 51114
>
> Phone Numbers:
> Office: +972-(0)3-5786668
> Fax: +972-(0)3-5703475
> Mobile: +972-(0)58-888377
>
> Know the overall picture
>
>
> *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
> Don't just participate in USENET...get rewarded for it!
fzjr4n Guest
-
Steve C. Orr, MCSD #3
Re: Capturing Request Stream
You can override the Render method of your page object and get the final
output from there.
Here's more info:
[url]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemwebuicontrolclassrendertopic.asp[/url]
--
I hope this helps,
Steve C. Orr, MCSD
[url]http://Steve.Orr.net[/url]
"PJ" <pjwal@hotmail.com> wrote in message
news:el2qZ%23$SDHA.3188@tk2msftngp13.phx.gbl...some> I would like to capture a request stream before the request has been
> completely sent to the server for the sake of saving the bytes of a posted
> file to disk. I have written httpmodules before, but (correct me if I am
> wrong) it seems that by the ProcessRequest event, the Request has been
> completely sent and aspnet_wp has used it to hydrate the httpcontext
> instance.
>
> Is there a .net way of capturing an http request as it comes in to the
> server? Do I have to write an httpapplication for this or something? If
> anyone could point me in the right direction ( w/out trying to sell me> 3rd party assembly ), I would appreciate it.
>
> ~TIA
>
>
Steve C. Orr, MCSD Guest
-
PJ #4
Re: Capturing Request Stream
I'm not trying to get the output stream...I want to get the input stream of
the Request as it arrives and before it fully arrives so as take byte[]
chunks of a posted gigabyte file and save them to disk.
context.Request.Files[0].InputStream
Can someone tell me if I can get access to the InputStream before the
request has been fully posted to the server?
thx
"Steve C. Orr, MCSD" <Steve@Orr.net> wrote in message
news:uZSsCHCTDHA.2120@TK2MSFTNGP11.phx.gbl...[url]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemwebuicontrolclassrendertopic.asp[/url]> You can override the Render method of your page object and get the final
> output from there.
> Here's more info:
>posted>
> --
> I hope this helps,
> Steve C. Orr, MCSD
> [url]http://Steve.Orr.net[/url]
>
>
> "PJ" <pjwal@hotmail.com> wrote in message
> news:el2qZ%23$SDHA.3188@tk2msftngp13.phx.gbl...> > I would like to capture a request stream before the request has been
> > completely sent to the server for the sake of saving the bytes of aam> > file to disk. I have written httpmodules before, but (correct me if IIf> > wrong) it seems that by the ProcessRequest event, the Request has been
> > completely sent and aspnet_wp has used it to hydrate the httpcontext
> > instance.
> >
> > Is there a .net way of capturing an http request as it comes in to the
> > server? Do I have to write an httpapplication for this or something?> some> > anyone could point me in the right direction ( w/out trying to sell me>> > 3rd party assembly ), I would appreciate it.
> >
> > ~TIA
> >
> >
>
PJ Guest
-
PJ #5
Re: Capturing Request Stream
yep, i know it can be done w/ a c++ asapi filter, but i'm pretty sure it can
be done in managed code as well...
"fzjr4n" <fzjr4n@unison.ie> wrote in message
news:eFNqXECTDHA.2120@TK2MSFTNGP11.phx.gbl...rights.> Or you must go through the pain of writing an ISAPI filter...
>
>
> --
> MARK TRUDGEON
> [email]fzjr4n@unison.ie[/email]
>
> This posting is provided "as is", with no warranties, and confers no>
>
> "Natty Gur" <natty@dao2com.com> wrote in message
> news:uIZHS6BTDHA.2148@TK2MSFTNGP11.phx.gbl...>> > Hi,
> >
> > Is the Request.InputStream holds that data ?
> >
> > Natty Gur, CTO
> > Dao2Com Ltd.
> > 28th Baruch Hirsch st. Bnei-Brak
> > Israel , 51114
> >
> > Phone Numbers:
> > Office: +972-(0)3-5786668
> > Fax: +972-(0)3-5703475
> > Mobile: +972-(0)58-888377
> >
> > Know the overall picture
> >
> >
> > *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
> > Don't just participate in USENET...get rewarded for it!
>
PJ Guest



Reply With Quote

