The previous time self-taught ASP. NET MVC5, because the first time to develop a complete case, no blog sharing experience, the development encountered a lot of problems, through a variety of Baidu and look at documents, just solve one after another problem, has been trying to write down the share, and do not know how to remember, the development of the eyes will be sore, So gave up.
Thus, before starting to start in the API, I first set up this series of headings, in the development of the problems will be gradually recorded in the essay, the general completion, a unified collation, easy to access their own future, but also to achieve the opportunity to share.
To get the serialized content returned as JSON, you can add a line to the Application_Start: GlobalConfiguration.Configuration.Formatters.XmlFormatter.SupportedMediaTypes.Clear ();
ASP. NET Web Api2 Learning Path (1)