Replies: 2 comments
-
Specifically, my Startup.ConfigureContainer has the following:
And I'm comparing this setup against the VS 2015 template when selecting an API project. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Web API 2 and MVC 5 are different frameworks. The boilerplate MVC 5 template is not intended to be used for building API's. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In a default WebAPI project, API controller response headers contain Cache-Control: no-cache. When I add an API controller to the MVC 5 Boilerplate template project there is no such response header. What bit of code or config is preventing this?
Beta Was this translation helpful? Give feedback.
All reactions