Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 891455
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T13:53:38+00:00 2026-05-15T13:53:38+00:00

Working on an ecommerce site which will be integrated with a 3rd party vendor–that

  • 0

Working on an ecommerce site which will be integrated with a 3rd party vendor–that vendor uses different identifiers for stores than we use internally (i.e. their store ABC123 is our 001-321).

I’m researching the best approach to inspect incoming requests for reserved query-string parameters that indicate the request is using their identifiers and map the identifiers back to our identifiers (so if the request is example.com/&theirId=ABC123 I want to transform the request to example.com/&ourId=001-321).

To do this mapping I need to inspect the provided ID, execute a lookup against the database or cache, and forward the request to the specified page–limiting the modifications to just the query-string parameters (other parameters will need to be maintained, as with the details of the HTTPHeader, etc).

So far I’m researching a few different approaches:

  • Implementing it in a base Page (which already does too much, but has the benefit of our Logging infrastructure and some other injected dependencies)
  • Implementing it in an IHttpModule
  • Using URL Rewriting
  • Using URL Routing (looks like routing isn’t what I want, feel free to offer insight if you think it still fits)

Performance cost is a consideration: the actual number of times this translation will occur will be very small compared to the number of requests not requiring it–perhaps 1%.

However for another integrated site we will perform this mapping on nearly every request–would a different approach be better suited to this scenario from the previous?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T13:53:39+00:00Added an answer on May 15, 2026 at 1:53 pm

    This is a classic case where a HTTP module makes the most sense–you wish to dive into the URL handling on all requests. Perf-overhead-wise you shouldn’t have that much of an issue presuming you can short-circuit things correctly and avoid doing DB/cache lookups where you don’t need.

    Configuration-wise, you should already have to solve the problem of deploying and managing your configuration, so I doubt if another custom module adds much overhead.

    Code-wise, its generally better to favor composition over inheritance–you can add or remove the module as required–but having code statically included into a bloated base page class can create more challenges.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We are working on a unique eCommerce site. This site is distinctive because when
I'm working on an ecommerce website for my work that gives me articles that
Working with a SqlCommand in C# I've created a query that contains a IN
Working on a project that parses a log of events, and then updates a
Working with python interactively, it's sometimes necessary to display a result which is some
We are in the process of working on our second generation of our eCommerce
While building an ecommerce platform I have run into design problems. I'm working with
Working with dates in ruby and rails on windows, I'm having problems with pre-epoch
Working on a project at the moment and we have to implement soft deletion
Working on a somewhat complex page for configuring customers at work. The setup is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.