I want to do something like www.mywebsite.com/sometext where I could somehow process on the server side and get the "sometext" thing. I tried using URL Rewriter Intelligencia but couldn't find a way to manage this at root level, I also tried thru 404 page
not found and couldn't make it working neither.
If you're using ASP.NET 4.0, you can use routing as an option. Of course, while the URL will be "sometext", the actual file will likely be "sometext.aspx" so it gets processed correctly.
Christopher Reed, MCT, MCPD, MCTS, Microsoft Specialist, MTA
"The oxen are slow, but the earth is patient."
Marked as answer by Dino He - MSFT on Jul 11, 2012 08:28 AM
Corobori
Member
258 Points
108 Posts
Handling extension less file
Jul 04, 2012 03:12 AM|LINK
I want to do something like www.mywebsite.com/sometext where I could somehow process on the server side and get the "sometext" thing. I tried using URL Rewriter Intelligencia but couldn't find a way to manage this at root level, I also tried thru 404 page not found and couldn't make it working neither.
Anyone who managed to get it working ?
www.corobori.com
Careed
All-Star
18764 Points
3637 Posts
Re: Handling extension less file
Jul 04, 2012 03:18 AM|LINK
If you're using ASP.NET 4.0, you can use routing as an option. Of course, while the URL will be "sometext", the actual file will likely be "sometext.aspx" so it gets processed correctly.
"The oxen are slow, but the earth is patient."