ASP.NET Web Api - Startup.cs doesn't exist

后端 未结 5 697
广开言路
广开言路 2021-02-01 12:43

I have an ASP.NET Web Api solution which doesn\'t contain a Startup.cs class. I presume this is because the solution wasn\'t created as an MVC solution.

All the code for

5条回答
  •  情歌与酒
    2021-02-01 13:31

    If you have installed the Owin packages, you can simple create the start up class with:

提交回复
热议问题