Last post Jan 21, 2013 08:25 AM by panesofglass
Oct 09, 2012 02:16 AM|DownUnderDev|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 09:33 AM|BrockAllen|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 04:40 PM|DownUnderDev|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 04:57 PM|BrockAllen|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 08:25 AM|panesofglass|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: