0

Best practice on how to include sample downloads

I have samples that I include in the xml documentation which is picked up by DocX.  What is the best practice on how to include sample downloads?

I have been using relative URLs to a samples dir which is good for different version builds and staging tests.

 

The problem is with a chm build. 

 

I do not want to include the samples within the docX project because their sizes are huge which would considerably increase the chm size.

 

But with a relative location the chm file will choke on that clicked link.

 

I am considering entering the full URL

 

For example from:

      /// <remarks>

      /// Download <a href="samples/Sample.zip">sample</a>

      /// </remarks>

To

      /// <remarks>

      /// Download <a href="http://mysite.com/samples/Sample.zip">sample</a>

      /// </remarks>

Paul

4 comments

Please sign in to leave a comment.