Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

Default.aspx 1.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <%@ Page Language="C#" %>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <head id="Head1" runat="server">
  5. <title>3ie NuGet Private Repository</title>
  6. <style>
  7. body { font-family: Calibri; }
  8. </style>
  9. </head>
  10. <body>
  11. <div>
  12. <h2>You are running NuGet.Server v<%= typeof(NuGet.Server.DataServices.Package).Assembly.GetName().Version %></h2>
  13. <p>
  14. Click <a href="<%= VirtualPathUtility.ToAbsolute("~/nuget/Packages") %>">here</a> to view your packages.
  15. </p>
  16. <fieldset style="width:800px">
  17. <legend><strong>Repository URLs</strong></legend>
  18. In the package manager settings, add the following URL to the list of
  19. Package Sources:
  20. <blockquote>
  21. <strong><%= Helpers.GetRepositoryUrl(Request.Url, Request.ApplicationPath) %></strong>
  22. </blockquote>
  23. <% if (String.IsNullOrEmpty(ConfigurationManager.AppSettings["apiKey"])) { %>
  24. To enable pushing packages to this feed using the nuget command line tool (nuget.exe). Set the api key appSetting in web.config.
  25. <% } %>
  26. <% else { %>
  27. Use the command below to push packages to this feed using the nuget command line tool (nuget.exe).
  28. <% } %>
  29. <blockquote>
  30. <strong>nuget push {package file} -s <%= Helpers.GetPushUrl(Request.Url, Request.ApplicationPath) %> {apikey}</strong>
  31. </blockquote>
  32. </fieldset>
  33. <% if (Request.IsLocal) { %>
  34. <p style="font-size:1.1em">
  35. To add packages to the feed put package files (.nupkg files) in the folder "<% = NuGet.Server.Infrastructure.PackageUtility.PackagePhysicalPath%>".
  36. </p>
  37. <% } %>
  38. </div>
  39. </body>
  40. </html>