Problem
I have a asp.net website that uses WCF to serve up JSON. Recently this website was to a windows 2012 server. When this was done, my posts to the WCF service stopped working.
Solution
I had to install features to .Net 4.5 to include HTTP-Activation for WCF Services. Once I did this my WCF requests worked.
2. click on local server
Steps
1. Press Windows + q to search and enter server manager in the search box
3. type in .net in roles and features select ASP.Net 4.5 click on add roles and features
4. select the server you want to work with and click next
5. click on features on the left
6. expand the .Net Framework 4.5 Features
7. expand WCF Services
8. Check HTTP Activation
9. click install.
Now your MVC app should work