Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Jan 21, 2013 12:25 PM by panesofglass
Oct 09, 2012 06:16 AM|LINK
create new MVC4 App... using Nuget install package SinglePageApplication (or just AspNetWebApi.Data) compile run.
when you try and call an ApiController method or a DbDataController method you are given the error message
missing System.Web.Http.Controllers.HttpControllerConfigurationAttribute' from assembly 'System.Web.Http'
What is the deal here? found it has been removed in this version but has anyone got a work around for this?
Oct 09, 2012 01:33 PM|LINK
The SPA library was originally released as part of one of the betas of MVC4. It was not shipped as part of RTM and from what I have seen/heard it's either not ready for RTM or won't ever be continued. So it was more of a sample. Anyway, looks like the version
you have it compiled against an old beta of MVC and thus you shouldn't use it.
Oct 09, 2012 08:40 PM|LINK
That seem weird as there is a whole section (http://www.asp.net/single-page-application) based on this ??
Why would they promote it so predominatly if is is not going to be continued (cough silverlight 2.0 cough)
Oct 09, 2012 08:57 PM|LINK
Yea, not sure. I think it's more a function of time and not that they don't want to "do" something in this space.
Jan 21, 2013 12:25 PM|LINK
Microsoft released an update a few months ago with a new SPA template. The HttpControllerConfigurationAttribute has been removed and replaced with the
IControllerConfiguration interface. You have to implement it yourself. You can find examples here: