asp.net url rewriting

  • Thread starter Thread starter thoeone
  • Start date Start date
T

thoeone

Hi,
Anyone have any experience with url rewriting on asp.net and performance issues. I want to know how much of a lost in performace(percentage wise) if i use Context.RewritePath() function to make a friendly url. Any experience or links to benchmarks is appreciated.



#source: http://www.codeverge.net
 
The overhead should be in milli- or micro-seconds for an HTTP Handler to
take "friendly URLs" and turn them into a non-friendly path. I have only
played with this and not hammered at scale (and am no longer working on the
project), so I cannot give you figures, but the Handlers occur as part of
the ASP.NET process, and incur almost no overhead. I am sure you could write
an inefficient method that makes this statement incorrect. :-)

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

*************************************************
| Think outside the box!
|
*************************************************
 
This is a server side only thing that does something that is quite
straighforward. The only thing I could think of would be depending on your
own code (for example if you perform additional queries to the DB to
translate a friendly part into a product primary key or something similar).
 
depends. for standard aspx pages, almost none, you probably could not detect.
but if you need to remap static content (images,etc) then using asp.net to do
the url rewrite will cause an order of magnitude difference in performance
over using an isapi filter (unless you are using iis 7).

-- bruce (sqlwork.com)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

url rewrite 4
Url Rewriting Trouble 4
url rewriting 3
Help About URL Rewriting 2
url rewrites 3
rewriting url's in .NET 3.5 2
Handling dynamic "folders" for url-rewrites? 4
url rewring + parsing page 1

Back
Top