HighTechTalks DotNet Forums  

URL Manipulation

Dotnet General Discussions microsoft.public.dotnet.general


Discuss URL Manipulation in the Dotnet General Discussions forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Aaron
 
Posts: n/a

Default URL Manipulation - 08-06-2005 , 06:50 PM






I've seen many websites running on asp.net with folder-like url set up.
ie
www.example.com/page.aspx?name=News&title=breaking+news

would become

www.example.com/news/breaking-news/breaking-news.html

or something to that extent.

Could someone teach me how to do this or point me to the right
direction?

Thanks in advance,

Aaron


Reply With Quote
  #2  
Old   
Cor Ligthert [MVP]
 
Posts: n/a

Default Re: URL Manipulation - 08-07-2005 , 02:34 AM






Aaron,

What you are showing are to different things

Quote:
www.example.com/page.aspx?name=News&title=breaking+news
This shows a page that uses Get to get client side information. (What could
in ASP already be avoided by using a Post).

Quote:
www.example.com/news/breaking-news/breaking-news.html

This uses a website inside a folder of breaking-news

However, the Get and the Post can in ASPX completly be avoided by using
server controls, which have the Post build in. (I hope I don't mix up Post
and Get I don't use it already a for a while now).

I hope this helps,

Cor




Reply With Quote
  #3  
Old   
hB
 
Posts: n/a

Default Re: URL Manipulation - 08-07-2005 , 04:58 AM



Perhaps this would be helpful.

Take a look at
Page Controller :
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpatterns/html/DesPageController.asp
Front :
Controller:http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpatterns/html/DesFrontController.asp

---
hB


Reply With Quote
  #4  
Old   
Brian Delahunty
 
Posts: n/a

Default RE: URL Manipulation - 08-07-2005 , 07:25 AM



Hi Aron,

I think you are talking about URL rewriting. Do a search on MSN Search or
Google for "ASP.NET URL Rewriting" and you'll find lots of resources
explaining what you are trying to achieve.

Brian Delahunty
Ireland

http://briandela.com/blog

"Aaron" wrote:

Quote:
I've seen many websites running on asp.net with folder-like url set up.
ie
www.example.com/page.aspx?name=News&title=breaking+news

would become

www.example.com/news/breaking-news/breaking-news.html

or something to that extent.

Could someone teach me how to do this or point me to the right
direction?

Thanks in advance,

Aaron



Reply With Quote
  #5  
Old   
Jakob Christensen
 
Posts: n/a

Default RE: URL Manipulation - 08-08-2005 , 07:58 AM



http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnaspp/html/urlrewriting.asp

HTH, Jakob.

--
http://www.dotninjas.dk
http://www.powerbytes.dk


"Aaron" wrote:

Quote:
I've seen many websites running on asp.net with folder-like url set up.
ie
www.example.com/page.aspx?name=News&title=breaking+news

would become

www.example.com/news/breaking-news/breaking-news.html

or something to that extent.

Could someone teach me how to do this or point me to the right
direction?

Thanks in advance,

Aaron



Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.