Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Controlling the url and what to display on the web page

Status
Not open for further replies.

M8KWR1

IS-IT--Management
Dec 8, 2008
20
0
0
GB
Sorry, really unsure how to word what I am trying to achieve

I would like to be able to get rid of the .aspx but in the url, but the website still be able to know what content to display.

Would this be a matter of controlling the error404 page - or is there another solution that fits what I am trying to do.

For example i would like links in the website itself to be


instead of


If the best solution is to link this into a database, then great.

Many thanks for you time.
 
IIS 7 and any of the MVC framworks can handle this. Webforms might be able to do this as well. It's not easily accomplished with previous versions of IIS.

with IIS 7 the asp.net framework is intergrated directly into IIS.
prior to this asp.net was an add-on like php or cgi. in the previous version the extension is what triggers IIS to pass of process to the asp.net pipeline.

Jason Meckley
Programmer

faq855-7190
faq732-7259
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top