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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T14:41:40+00:00 2026-06-04T14:41:40+00:00

So the way MCV3 works is that you define what controller to call though

  • 0

So the way MCV3 works is that you define what controller to call though routing. That controller is “myControllerName” + “Controller”.

Now that class is already in a folder called controllers. I don’t want that decoration on the end of my class names. It’s not really contributing anything.

I want to know how change that and understand more about what goes on inside MVC3.

  • 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-04T14:41:42+00:00Added an answer on June 4, 2026 at 2:41 pm

    The short answer is: don’t bother. This is configuration by convention (also called convention over configuration, CoC), and you will live a happier, healthier stress-free life if you just go with the flow, and let MVC do what it wants.

    The longer answer is you inject a custom controller factory into the MVC pipeline to override the default one. A full description of the process can be found in this article but, essentially, you:

    1. Implement IControllerFactory to do whatever you want.
    2. In your Application_Start event, call ControllerBuilder.Current.SetControllerFactory to replace the default controller factory with your own.

    MVC is a highly extensible framework; although the default behavior of most components probably does what you need, you can almost always replace the built-in objects with your own. For other things you can override, see this list of the 13 extensibility points of MVC3.

    Also, I forgot to mention initially, but if you are really interested in the guts of MVC, the entire framework is open source (its under the APL) and you can find it on codeplex.

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

Sidebar

Related Questions

Any way to access a nested form_bulder.object? ## controller @project = Project.new @project.tasks.build form_for(@project)
Any way to bind an applescript to iTunes so that when iTunes is started
the way i have it is that I set up an insert command which
Any way for a perl script to know who called it and/or how? Be
Which way is good for returning an array of classes? class BigSizeClass { int
A way to save a non text file to /data/files folder. If file resource
Best way to allow the User to define a Table’s Order? We are using
Hash way works just fine: drummers = Drummer.where(:gender => true) => [#<Drummer id: 1,
Way cool, i'd just realised there is something called flood-color and lighting-color in CSS.
The way we have to update our site now is to create a copy

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.