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.
You can add your own startup class, but you need to make sure that Owin is recognizing it. There are several ways to do this , but if you'd like to use a Startup class then you need to use the OwinStartup attribute.