"Steven Cheng[MSFT]" wrote:
> Thanks for your quick response Dave,
>
> Well, I understand what you're doing is actually somewhat like url resource
> redirecting, redirect one kind of url to another kind of resource, correct?
>
> I assumed that you've correctly configured the IIS server so that the url
> to a non-existing document will also be forward to aspnet engine. Then, in
> ASP.NET side, you can consider use httpmodule to do the redirecting work.
> You can check the original url of the request and determine what to do
> next, you can:
>
> 1. You can call method to creating temp file and use Rewrite API to
> redirect the request context to the new created file.
>
> or
>
> 2. you can even directly write our binary stream into the response stream
> an close the response.
>
> Here are some articles on ASP.NET url rewriting and httpmodule:
>
>
> #URL Rewriting in ASP.NET
>
http://msdn.microsoft.com/library/en-us/dnaspp/html/urlrewriting.asp?frame=t > rue
>
> #How to: Create and Configure an HTTP Module
>
http://msdn2.microsoft.com/en-us/library/tfd6k449.aspx >
> Also, the below article is a good one for getting the underlying
> architecture of the ASP.NET (from IIS to ASP.NET pipeline):
>
> #A low-level Look at the ASP.NET Architecture
>
http://www.west-wind.com/presentations/howaspnetworks/howaspnetworks.asp >
> Hope this helps.
>
> Regards,
>
> Steven Cheng
> Microsoft Online Community Support
>
>
> ==================================================
>
> When responding to posts, please "Reply to Group" via your newsreader so
> that others may learn and benefit from your issue.
>
> ==================================================
>
>
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
>
>
> Get Secure!
www.microsoft.com/security > (This posting is provided "AS IS", with no warranties, and confers no
> rights.)
>
>
>
>