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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T13:31:07+00:00 2026-05-24T13:31:07+00:00

I have an ASP.NET MVC 3 web application. I recently installed T4MVC templates by

  • 0

I have an ASP.NET MVC 3 web application. I recently installed T4MVC templates by using the package manager:

Tools -> Library Package Manager -> Package Manager Console

PM> install-package T4MVC

This caused T4MVC.tt and T4MVC.tt.Settings.t4 to be included in my project and a bunch of files to be autogenrated (I have about 10 controllers in the project). Right after that I tried to build and run my project, and though I get no errors, on one of the controllers, none of the actions are being rendered. Meaning the browser is being served up a completely blank page instead of the one generated from the associated view. All other controllers work fine.

I really cannot discern what the differences are between this one controller and others that are working fine, and like I said there are no errors… just a blank page is served up when I hit an action on that controller.

Any ideas as to what might be going on?

  • 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-24T13:31:08+00:00Added an answer on May 24, 2026 at 1:31 pm

    Ah yes, I understand what would happen: for each action, T4MVC also generates an overload without any params, so in this case it would be a method called View with no params, which then hides MVC method with the same name/signature. Note that you probably got a warning, e.g.

    'Mvc3Application.Controllers.HomeController.View()' hides inherited member 'System.Web.Mvc.Controller.View()'.
    Use the new keyword if hiding was intended.
    

    We could put some logic in T4MVC to cover that special case, but I’d say if you can just avoid that action name, that’ll be better 🙂

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

Sidebar

Related Questions

I have a hybrid asp.net web forms / mvc application that I recently converted
I have an ASP.NET MVC 3 Web Application using Linq-to-SQL for my data access
I have a simple ASP.NET MVC web application that uses NHibernate with FluentNHibernate's auto
I have an ASP.NET 4.0 MVC web application running on IIS 6.0 with a
I have an ASP.NET MVC Web Application that interacts with a SQL Server 2008
I have an ASP.NET MVC web application which is hosted by an external provider,
I have built an ASP.NET MVC web application that uses Entity Framework. To provide
If i have an ASP.NET MVC 2 Web Application with the following Views: Main.aspx
I have an ASP.NET MVC 3 (Razor) Web Application, with a particular page which
I have an ASP.NET MVC 3 / .NET Web Application, which is heavily data-driven,

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.