2

I can get the help pages to render using the traditional asp.net engine, but how can I get the same thing when hosting the Web API service on OWIN/katana.

I tried adding HelpPageConfig.Register(config); to class Startup to no avail.

Alwyn
  • 8,079
  • 12
  • 59
  • 107

1 Answers1

0

Have you tried adding the following code inside the Configure() method in Startup.cs?

AreaRegistration.RegisterAllAreas();
josliber
  • 43,891
  • 12
  • 98
  • 133
jerbersoft
  • 4,344
  • 9
  • 42
  • 48
  • Seems like it would not address the issue of getting the help page to show. I am not really looking to register areas, I want the /help uri to work. – Alwyn Sep 11 '15 at 23:09
  • 2
    moreover, it might also yield "System.InvalidOperationException: This method cannot be called during the application's pre-start initialization phase." – Yuval Perelman Dec 29 '15 at 17:37