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

Posted on 2013-10-16
Medium Priority
Last Modified: 2013-11-17
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:


Is there a way to set up the CMS / .Net environment to allow us to do such a "translation"?
Question by:rascal
1 Comment
LVL 12

Accepted Solution

deanvanrooyen earned 2000 total points
ID: 39620168
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...

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
This video tutorial shows you the steps to go through to set up what I believe to be the best email app on the android platform to read Exchange mail.  Get the app on your phone: The first step is to make sure you have the Samsung Email app on your …
Watch the video to learn how one can deal with PST file corruption issue with an outstanding Kernel for Outlook PST Repair Tool easily. Using this tool, non-technical users can swiftly perform the repair process to restore their essential data witho…
Suggested Courses

624 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question