473,405 Members | 2,154 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

URL Rewriter

Hi,

I'm thinking of using a URL-Rewriter on a new project (and would like to
write it myself), and have found several different ways that I can do this
in .Net. I was wondering if anyone has had any experience of this and could
advice me as to what the preferred method to use is, in terms of speed and
efficiency?

Cheers,

Tim.
Nov 17 '05 #1
6 1087
Hi Tim, I'd be interested in how your going to do this in .NET. We've done
some things in the past but these have been ISAPI filters (which still work
fine since its IIS) and I think it wouldn't be too different. Basically it
requires coming up with a ruleset and then applying it using Regular
Expressions on your incoming requests.

"tim payne" <ti*@dsemotion.com> wrote in message
news:O2**************@TK2MSFTNGP11.phx.gbl...
Hi,

I'm thinking of using a URL-Rewriter on a new project (and would like to
write it myself), and have found several different ways that I can do this
in .Net. I was wondering if anyone has had any experience of this and could advice me as to what the preferred method to use is, in terms of speed and
efficiency?

Cheers,

Tim.

Nov 17 '05 #2
There appear to be several methods you can use. One seems to be to write an
http module to do it, the other seems to be to plug into the
Application_BeginRequest event in the global asax and have your own rules
and processing options in a class that you can call. I'm not sure which is
best though, which is what I'm hoping to find out!

:)

I did a search on google for 'url rewriter c#' to get the examples I've seen
so far. There's not a massive amount, but enough to get me started.

Cheers,

Tim.
Nov 17 '05 #3
I've heard that HttpModules are closest to ISAPI filters and are more
powerful than using global.asax.
"tim payne" <ti*@dsemotion.com> wrote in message
news:u7**************@TK2MSFTNGP09.phx.gbl...
There appear to be several methods you can use. One seems to be to write an http module to do it, the other seems to be to plug into the
Application_BeginRequest event in the global asax and have your own rules
and processing options in a class that you can call. I'm not sure which is
best though, which is what I'm hoping to find out!

:)

I did a search on google for 'url rewriter c#' to get the examples I've seen so far. There's not a massive amount, but enough to get me started.

Cheers,

Tim.

Nov 17 '05 #4
I've heard that HttpModules are closest to ISAPI filters and are more
powerful than using global.asax.
"tim payne" <ti*@dsemotion.com> wrote in message
news:u7**************@TK2MSFTNGP09.phx.gbl...
There appear to be several methods you can use. One seems to be to write an http module to do it, the other seems to be to plug into the
Application_BeginRequest event in the global asax and have your own rules
and processing options in a class that you can call. I'm not sure which is
best though, which is what I'm hoping to find out!

:)

I did a search on google for 'url rewriter c#' to get the examples I've seen so far. There's not a massive amount, but enough to get me started.

Cheers,

Tim.

Nov 17 '05 #5

"tim payne" <ti*@dsemotion.com> wrote in message
news:O2**************@TK2MSFTNGP11.phx.gbl...
Hi,

I'm thinking of using a URL-Rewriter on a new project (and would like to
write it myself), and have found several different ways that I can do this
in .Net. I was wondering if anyone has had any experience of this and could advice me as to what the preferred method to use is, in terms of speed and
efficiency?

Cheers,

Tim.


For an example:
see the community starter kit on asp.net

Hans Kesting
Nov 17 '05 #6

"tim payne" <ti*@dsemotion.com> wrote in message
news:O2**************@TK2MSFTNGP11.phx.gbl...
Hi,

I'm thinking of using a URL-Rewriter on a new project (and would like to
write it myself), and have found several different ways that I can do this
in .Net. I was wondering if anyone has had any experience of this and could advice me as to what the preferred method to use is, in terms of speed and
efficiency?

Cheers,

Tim.


For an example:
see the community starter kit on asp.net

Hans Kesting
Nov 17 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: Penn Markham | last post by:
Hello all, I am writing a script where I need to use the system() function to call htpasswd. I can do this just fine on the command line...works great (see attached file, test.php). When my...
2
by: Damien | last post by:
Hi to all, I'm currently re-designing our intranet : nice and lean CSS2, cleaned-up PHP 4.3.7, better-normalized MySQL ;o). So I've started using the $_SESSION variable instead of register_globals...
14
by: Antoni | last post by:
Hello, I wondered if anyone could offer some guidance over my php script. I was hoping the example would allow the user to click the submit buttons and the item number increment. And when the...
8
by: baustin75 | last post by:
Posted: Mon Oct 03, 2005 1:41 pm Post subject: cannot mail() in ie only when debugging in php designer 2005 -------------------------------------------------------------------------------- ...
5
by: Jon Sequeira | last post by:
Is there a way to redirect from an ASP.NET page to an ASP page without showing the ASP page's URL in the client's browser? This works perfectly with an HTML page, for example: path =...
1
by: bill | last post by:
I'm attempting to implement a URL rewriter (HTTP Handler) in .net. While I've found some very useful source code freely available (like this one http://www.15seconds.com/issue/030522.htm) ... I'm...
3
by: Chris Paul | last post by:
I'm having trouble with PHP & PostgreSQL/OpenLDAP/Apache on Windows. I've set this up countless times on BSD (piece of cake) but I'm trying to do this on Windows now so that my developer can work...
0
by: joseph conrad | last post by:
Hi, I tried to implement my own session handler in order to keep control on the process the drawback I foun it is not creating and storing in my cookie the PHPSESSID variable anymore. reading te...
8
by: Hamayun Khan | last post by:
Hi all I have developed Website in asp.net. The site was working fine for more than 6 months. Now from 3 to 4 days I m facing a problem. When I login as Admin to Administrator and create Session...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.