Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...I love the structure of the site. You start at the top, and drill down to what you want. Maybe I've been using Unix too long... :-) "

Geography

Where in the world do Tek-Tips members come from?

Controlling the url and what to display on the web page

M8KWR1 (IS/IT--Management)
16 Jun 11 15:00
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

www.website.com\area1\
www.website.com\contact\

instead of

www.website.com\area1.aspx
www.website.com\contact.aspx

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

Many thanks for you time.
jmeckley (Programmer)
16 Jun 11 16:26
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: Database Connection Management
FAQ732-7259: Keeping the UI responsive

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close