SharpLife.NET
A sharp way to know more // Mahdi Taghizadeh's Daily Web Keystrokes.
Navigation for SharpLife.NET - Current ASP.NET URL Rewriting Solutions VS. IIS 7.0 Solution
Content
Sidebar
Footer
September 17, 2007
@ 06:55 PM
Comments [0]
Current ASP.NET URL Rewriting Solutions VS. IIS 7.0 Solution
It's a few months I have been using
UrlRewriting.NET
component for my Url Rewriting needs in ASP.NET 2.0. Since it's free and open source and covers many features that I need, it was a good choice for my projects. The big problem with this (and also other available components) is that it can't rewrite fake directories. For example if you have a url like http://myurl.com/products/productcategory.aspx?name=Phone and want to rewrite it to something like http://myurl.com/products/Phone/ you must have a folder named Phone in products folder containing a blank Default.aspx file inside it or in another way map all requests to ASP.NET engine in IIS. Both ways (especially second) are annoying and waste resources.
Because I'm working on a project that needs to rewrite fake URLs and also server resource management is so important in this project I searched for other solutions today and I reached
UrlRewiter.NET
; but unfortunately this one doesn't support fake URL rewriting as well as previous ones. [There are some tricks to handle fake directories like using customErrors default error page and etc. which you can find on CodeProject.com]. So it is not a good solution for me too. So I searched again and I reached
this
. It seems that IIS 7.0 new structure lets developers do this. In fact just by adding a few lines to Web.Config you can use your current module to Rewrite all URLs (See this
post
).
It's a good news but IIS 7.0 is still in Beta and many servers don't support it. Should we wait until Windows Server 2008 to use IIS 7.0?
It's a big question for me that while PHP developers are using this simple feature since a few years ago, why Microsoft don't offer a solution before IIS 7.0 official release.
UPDATE 1:
Looking for IIS 6.0 Solutions? See
this
.
UPDATE 2:
Wyatt Barnett has commented on this post and introduced an article written by himself which explains some tricks to make IIS 6.0 Play With UrlRewriting. See
it
.
Categories:
.NET General
|
ASP.NET
|
Web Development
Related posts:
How to use ASP.NET Membership in a Console Application
Download .netTiers Documentation
reCAPTCHA: Free CAPTCHA Solution For Your Website
Some ASP.NET Articles
BlogEngine.NET 1.2 Released
Weather in ASP.NET
« AJAX Loading Indicator GIF Generator
|
Home
|
The 25 Ugliest Celebrities! »
Comments are closed.
Special
Tabassom's Photo Gallery
Contact
Email me!
RSS/Subscribe
Subscribe in a reader
Archives
All dates
All Posts
Microblog/MicroSharpLife!
Search
Latest Posts
Laptopical.com, The Laptops Weblog!
Find Your Web site SQL Injection Vulnerabilities Using Scrawlr
How to use ASP.NET Membership in a Console Application
Follow my tiny posts on twitter too!
Joint Song by Arian Music Band and Chris De Burgh
Download .netTiers Documentation
Jaiku Invitations
reCAPTCHA: Free CAPTCHA Solution For Your Website
Categories
.NET General (11)
AJAX (10)
ASP.NET (18)
C# (3)
Celebrities (1)
Community Server Persian (1)
dasBlog (1)
Download (19)
General (6)
i18n (4)
Iran (5)
Mathematics (1)
Microsoft (8)
Music (1)
Notebook (1)
Other (6)
Personal (11)
Politics (1)
Review (1)
Security (6)
SharpLife.NET (5)
Smart Phone (2)
Software (6)
Sports (3)
SQL Server (1)
Tabassom (2)
Tools (5)
Training (1)
Web (8)
Web 2.0 (7)
Web Development (9)
Web Services (3)
Archives
August, 2008 (1)
July, 2008 (2)
June, 2008 (1)
November, 2007 (2)
October, 2007 (4)
September, 2007 (14)
August, 2007 (5)
May, 2006 (4)
April, 2006 (6)
March, 2006 (5)
February, 2006 (20)
January, 2006 (2)
BlogRoll
Alireza Esmaeili
Behnam Youssefi
Farid Arzpeyma
Keyvan Nayyeri
Meysam Jafarinezhad
Nima Shayafar
Pedram Pourhossein
Reza Hashemi
Sassan Yeganegi
Scott Hanselman
Shima Dehbashi
Tabassom Taghizadeh
See my little daughter photos.
Categories
.NET General
AJAX
ASP.NET
C#
Celebrities
Community Server Persian
dasBlog
Download
General
i18n
Iran
Mathematics
Microsoft
Music
Notebook
Other
Personal
Politics
Review
Security
SharpLife.NET
Smart Phone
Software
Sports
SQL Server
Tabassom
Tools
Training
Web
Web 2.0
Web Development
Web Services
BlogRush