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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T23:47:08+00:00 2026-06-05T23:47:08+00:00

At the place I work at, we have a custom security/authentication mechanism for internal

  • 0

At the place I work at, we have a custom security/authentication mechanism for internal web applications using WebForms. Now we are developing in ASP.NET MVC 3 and want to extend the Controller class to support this just like we did to WebForm’s Page class. We will then pack this into a custom – shared DLL.

I want to know how safe this is in terms of compatibility with future versions of MVC.
If ASP.NET MVC 4.0 comes out next year, our custom controller classes (referencing ASP.NET MVC 3.0 Controller class) will still work in a MVC 4.0 app?

Is there any way to somehow extend a Controller without depending on an specific MVC version?


Not a duplicate of this: Extending Asp.NET MVC3 Controller Class

  • 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-05T23:47:09+00:00Added an answer on June 5, 2026 at 11:47 pm

    The problem is to inherit from the “Controller” class you need to first add a reference to Sytem.Web.Mvc which is version specific.

    Each version of ASP.NET MVC will have it’s own DLL. You won’t be able to use your customer DLL designed for ASP.NET MVC3 in your MVC 4 project.

    Now, you could create a class that inheirts from Controller and include it IN your ASP.NET MVC project then as your project version changes so will the reference to “Controller” but thats only because your project has the reference to the version.

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

Sidebar

Related Questions

I have a custom web part I've built, that I'm attempting to place three
At my place of work we have a legacy document management system that for
At my current place of work we have a set way of going about
I have an ASP.NET web site that has a entities version 4.0 DAL. I
I am using Spring Security 3.0 with JSPs. I have created a RequireVerificationFilter that
My place of work currently uses CVS. A git migration is planned but it
I happen to come across a Java code at my work place. Here's the
I am a one-man shop at the place where I work, and when I
I'm currently researching a project for the place that I work in. We are
in django 1.1.1, Place.objects.in_bulk() does not work and Place.objects.in_bulk(range(1, 100)) works and returns a

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.