Quantcast
Channel: Web API
Viewing all articles
Browse latest Browse all 4850

Separate project Web Api and HelpPage (MVC)

$
0
0

Is it possible to have a separate Web Api project and HelpPage (MVC) project? I tried by doing the following:

  1. Create Web Api project and added some APIs
  2. Enable output for XML documentation in Web Api project
  3. Add post-build event in Web Api project to copy the XmlDocument.xml file to HelpPage project's App_Data directory
  4. Install HelpPage from nuget in HelpPage project
  5. In HelpPageConfig.cs file, uncomment SetDocumentationProvider line to reference to the xml documentation file

The problem I have is that the API list is empty. Any thoughts? Is splitting to two (2) project possible?

Thanks.


Viewing all articles
Browse latest Browse all 4850

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>