I have created a SPA based on the Hottowel template (angular and breeze). It works fine running it from Visual Studio, but it does not work when deploying it to our iis7. I get 404 for every request to the breeze web api controller. Loading the SPA application it self works fine.
When I try this in the browser:
http://company.com/mySPA/breeze/Repository/Metadata
I get:
<Error>
<Message>
No HTTP resource was found that matches the request URI 'http://company.com/mySPA/breeze/Repository/Metadata'.
</Message>
<MessageDetail>
No type was found that matches the controller named 'Repository'.
</MessageDetail>
What is wrong?