【发布时间】:2013-06-24 00:16:37
【问题描述】:
我们需要 Orchard 的私有模块供稿。当谈到 Web 服务时,我有点新手,但我们似乎遇到的问题在于不同的模式。我按照创建远程提要设置了我的远程提要:
http://docs.nuget.org/docs/creating-packages/hosting-your-own-nuget-feeds
对于这个网络服务,架构是:
<service xmlns:atom="http://www.w3.org/2005/Atom" xmlns:app="http://www.w3.org/2007/app" xmlns="http://www.w3.org/2007/app" xml:base="http://localhost:57641/nuget/">
<workspace>
<atom:title>Default</atom:title>
<collection href="Packages">
<atom:title>Packages</atom:title>
</collection>
</workspace>
</service>
但 Orchard 架构包含一个 Screenshots 元素:
<service xmlns:atom="http://www.w3.org/2005/Atom" xmlns:app="http://www.w3.org/2007/app" xmlns="http://www.w3.org/2007/app" xml:base="http://packages.orchardproject.net/FeedService.svc/">
<workspace>
<atom:title>Default</atom:title>
<collection href="Packages">
<atom:title>Packages</atom:title>
</collection>
<collection href="Screenshots">
<atom:title>Screenshots</atom:title>
</collection>
</workspace>
</service>
有没有办法可以配置 Nuget.Server Web 服务来公开它?
【问题讨论】:
标签: orchardcms-1.6 nuget-server