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

  • Home
  • SEARCH
  • 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 7703801
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T23:32:29+00:00 2026-05-31T23:32:29+00:00

I am using MVC4’s WEB API to expose a controller. Initially I created created

  • 0

I am using MVC4’s WEB API to expose a controller.

Initially I created created a MVC4 WEBAPI project, set the project not to open any web page, wait for an external app to call the URL (WEB API). The project in VS2010 is set to run from IIS7 Express, not VS2010’s Dev Server. This works OK, the browser prompts me to down load a file. Which is OK for me, as the browser does not know what to do with the returned data (RAW TEXT).

Next, I created an AREA in the MVC4 project area, then added a controller (WEB API type).

Then I once again ran the project and in a browser entered the the URL (WEB API). And it fails.

Ed.

  • 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-31T23:32:31+00:00Added an answer on May 31, 2026 at 11:32 pm

    The DefaultHttpControllerFactory doesn’t work with Areas by default. To get this functionality you have to write your custom HttpControllerFactory.

    You can find how to do this at the post How to create HttpControllerFactory to support Areas

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

Sidebar

Related Questions

Using JDeveloper , I started developing a set of web pages for a project
I've created a method using the new WebAPI features in MVC4 and have it
(Using MVC4 VB EF4 MSSQL Razor) I created a Stored Procedure in the MS
I am using the new mvc4 ajax controller template and I don't know how
I am struggeling... Is it safe to start developing with MVC4 Web Api (BETA)
I am considering building some services using the new Web API that's introduced in
I am using EF4.3.1 and MVC4 code first. My database is being created except
ASP.NET MVC4 Beta introduced an easy way to create OData endpoints using WebAPI. So
I'm researching the new ASP.NET MVC4 Web API framework. I'm running Visual Studio 2011
I am starting a new project using MVC4 and would like to use dependency

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.