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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T11:19:45+00:00 2026-06-17T11:19:45+00:00

I am writing a custom HttpControllerSelector to handle versioning in my API. I have

  • 0

I am writing a custom HttpControllerSelector to handle versioning in my API. I have looked at the SDammann.WebApi.Versioning library on github and when I ran it it appeared that the routing dictionary was populating on every request. Does the default one do this or is this a design flaw in the Sdammann library?

If I have a lot of controllers, will populating this dictionary on every request be a performance hit? Is there another way to do this?

  • 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-06-17T11:19:46+00:00Added an answer on June 17, 2026 at 11:19 am

    Controller selectors shouldn’t need to populate the route data. Routing will populate the route data. The way the default pipeline works is something like this:

    Routing runs – finds a matching route and populates the route data with values like “controller”, “action”, other parameters
    The controller selector runs – looks at the route data for the “controller” route parameter and uses that controller name to figure out what controller type to use

    The framework then uses the selected controller type to dispatch the request

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

Sidebar

Related Questions

I'm writing a custom overlay for a Google Map. I have a serious of
I'm writing a custom deserializer that will deserialize a list by deserializing each of
As part of writing custom command (COM-Visible dll with class that implements Interwoven command
I'm writing custom rules for Fiddler and am wondering how you identify that a
Is there an option (except writing custom serializer/deserializer) in GSON library to NOT serialize/deserialize
I need help writing custom functions for my casio fx-9860g I have done this
I am writing Plugin for some Application. Lets suppose that Application hava library dependency
I'm writing a custom compression algorithm in C that reads in ascii characters, removes
I'm aware of writing custom attributes that decorate a method and get evaluated before
I am writing custom form validation javascript library and I am thinking about correct

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.