WebApi2 in visual studio 2012

后端 未结 5 1721
南旧
南旧 2021-02-18 17:07

How can I create a project that uses WebApi2 in visual studio 2012?

Do I have to create with a blank project or do I have to create a MVC project?

I don\'t want

5条回答
  •  谎友^
    谎友^ (楼主)
    2021-02-18 17:47

    Open view and select package manager console and paste following command and press enter.

    Install-Package Microsoft.AspNet.WebApi 
    

    Package manger console will display at bottom.

提交回复
热议问题