How to create friendly page names in .NET from CMS?

Hi Experts,
We are building a CMS for a .NET site where the client can create site pages dynamically. Our plan is to create a single page on our site called page.aspx that would read the querystring to determine what page content to display:

for example: page.aspx?id=123 would read the database for page content with an id of 123 and display that page.

However, we would like to define a unique friendly name for each page (controllable via the CMS just like WordPress does) that would look good for people visiting the site, such as:

mydomain.com/our-team/
or
mydomain.com/contact-us/
etc...

Is there a way to set up the CMS / .Net environment to allow us to do such a "translation"?
LVL 1
rascalAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

deanvanrooyenCommented:
your talking about routing in asp.net mvc, this is a good solution to what you are trying to do - the other aspect is that your talking about mimic'ing slugs in a classic wordpress scenario.

so, I am assuming your not using asp.net mvc as the routing would have done the job - what you could look at is a url rewriter library. In your cms you have a friendly name for the page which would translate to and from the id of the row... This is essentially the mod rewrite but you use a library that is probably an asp.net module and you would need a lookup table in memory to do the rewrite super fast... also get the http headers correct as you dont wont to botch up any seo...
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
ASP.NET

From novice to tech pro — start learning today.