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 6701597
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T06:57:12+00:00 2026-05-26T06:57:12+00:00

I have an application with a couple thousand routes. This is because for each

  • 0

I have an application with a couple thousand routes.

This is because for each product we use a custom URL, as opposed to the textbook /product/id.

With this many urls, the performance is unacceptable in the router.

I am trying to find ways to improve it, but I am drawing a blank.

I have about 20 regex routes and about 3 thousand unique url routes.

Any Ideas?

Sorry for being so open ended, but I am not sure where to start.

  • 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-26T06:57:12+00:00Added an answer on May 26, 2026 at 6:57 am

    If your urls are all on the format yoursite.com/{url}, you can still store all the three thousand urls in the database, and create a custom controller factory which uses the {url} parameter to look the correct information up in the database and assign correct controller, action and any parameters you’re using.

    There are lots of posts on google on how to implement the controller factory.

    I imagine you’ll also want some parsing of the existing routes to put them all in the database – this can probably be done by iterating over the RouteTable after you instantiate your application (i.e. after RegisterRoutes() is called).

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

Sidebar

Related Questions

I have assisted with an application that has a couple of thousand deployments. This
I have an application with many views. I want only a couple of the
I have this simple application with a couple of classes which are all related.
I have an application that will load a couple of windows depending on which
I have a application that generates a couple of different mails. These mails are
I have an application that takes a couple of seconds to run. Is it
I have an RCP application to develop; the code was written a couple of
I have inherited couple of .Net (C#) application which does not have any tracing
I have couple resource DLLs that I currently load when application starts using following
i have a couple of xml files in my asp.net web application that i

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.