Getting text after URL in asp.net / URL Rewriting (sort of!)

Posted by alex on Stack Overflow See other posts from Stack Overflow or by alex
Published on 2010-06-08T12:50:52Z Indexed on 2010/06/08 13:02 UTC
Read the original article Hit count: 209

Filed under:
|
|

My app is a very simple "one page" type app- It has Default.aspx

I'm basically trying to get, for example:

www.myappurl.com/this is my text

I want to get hold of "this is my text" from the above example. This will be displayed on the page (for now) I didn't really want to have to use any complext url rewriting things for this... (My hosting provider uses IIS6)

I tried using a 404 handler, but this is a bit long winded, and i'm using shared hosting, that can't set the "execute url" on custom 404 pages.

Any other ideas?

© Stack Overflow or respective owner

Related posts about c#

Related posts about url