打包nuget_NuGet的老兄FuGet为您提供.NET打包生态系统的全新视图

打包nuget

打包nuget

I remember when we announced NuGet (almost 10 years ago). Today you can get your NuGet packages (that contain .NET libraries) from Nuget.exe, from within Visual Studio, from the .NET CLI (command line interface), and from Paket. Choice is good!

我记得我们宣布NuGet时(将近1 0年前)。 今天,您可以从Nuget.exe,Visual Studio中,.NET CLI(命令行界面)和Paket中获取NuGet软件包(包含.NET库)。 选择是好的!

Most folks are familiar with NuGet.org but have you used FuGet?

大多数人都熟悉NuGet.org,但是您使用过FuGet吗?

FuGet is "pro nuget package browsing!" Creating by the amazing Frank A. Krueger - of whom I am an immense fan - FuGet offers a different view on the NuGet package library. NuGet is a repository of nearly 150,000 open source libraries and the NuGet Gallery does a decent job of letting one browse around. However, https://github.com/praeclarum/FuGetGallery is an alternative web UI with a lot more depth.

FuGet是“专业nuget包浏览”! 由惊人的Frank A. Krueger (我是一位超级粉丝)创建的Fufu在NuGet包库上提供了不同的视图。 NuGet是一个包含将近15万个开源库的存储库,NuGet Gallery的工作相当不错,可以让人们浏览一下。 但是, https://github.com/praeclarum/FuGetGallery是替代Web界面,具有更大的深度。

FuGet is "advanced mode" for NuGet. It's a package browser combined with an API browser that helps you explore the XML documentation and metadata of a package's assemblies to help you explore and learn. And it's a JOY.

对于NuGet,FuGet是“高级模式”。 它是与API浏览器结合使用的软件包浏览器,可帮助您浏览XML文档和软件包程序集的元数据,以帮助您进行浏览和学习。 这是一个快乐。

For example, if I look at https://www.fuget.org/packages/Newtonsoft.Json I can also see who depends on the package! https://www.fuget.org/packages/Newtonsoft.Json/dependents Who has taken a public dependency on your package? I can see supported frameworks, namepsaces, as well as internal types. For example, I can explore JToken within Newtonsoft.Json and its embedded docs!

例如,如果我查看https://www.fuget.org/packages/Newtonsoft.Json,我还可以看到谁依赖该软件包! https://www.fuget.org/packages/Newtonsoft.Json/dependents对您的软件包进行了公共依赖? 我可以看到支持的框架,名称空间和内部类型。 例如,我可以在Newtonsoft.Json及其嵌入式文档中探索JToken

You can even do API diffs across versions! Check out https://www.fuget.org/packages/Serilog/2.8.0-dev-01042/lib/netstandard2.0/diff/2.6.0/ for example. This is an API Diff between 2.8.0-dev-01042 and 2.6.0 for Serilog. This could be useful for users or package maintainers when deciding how big a version bumb is required depending on how much of the API has changed. It also gives you a view (as the downstream consumer) of what's coming at you in pre-release versions!

您甚至可以跨版本进行API差异! 例如,查看https://www.fuget.org/packages/Serilog/2.8.0-dev-01042/lib/netstandard2.0/diff/2.6.0/ 。 这是Serilog在2.8.0-dev-01042和2.6.0之间的API差异。 当根据更改的API数量决定需要多少版本的Bumb时,这对用户或程序包维护人员可能很有用。 它还为您(作为下游用户)提供了预发行版本即将来临的视图!

From Frank's blog:

从弗兰克的博客:

Have you ever wondered if the library your using has been customized for a certain platform? Have you wondered if it will work on your platform at all?

您是否想知道您使用的库是否已针对特定平台定制? 您是否想知道它是否完全可以在您的平台上运行?

This doubt is removed by displaying - in full technicolor - all the frameworks that the library supports.

通过以完整的颜色显示库支持的所有框架,可以消除这种疑问。

Supported Frameworks

They’re color coded so you can see at a glance:

它们采用了颜色编码,因此您可以一目了然:

  • Green libraries are .NET Standard and will work everywhere

    绿色库是.NET标准,可在任何地方使用
  • Dark blue libraries are platform specific

    深蓝色库特定于平台
  • Light blue libraries are for full .NET and Mono only

    浅蓝色库仅适用于完整的.NET和Mono
  • Yellow libraries are old PCLs that we’re all trying to forget

    黄色库是我们都想忘记的旧PCL

FuGet.org is a fanstatic addition to the .NET ecosystem and I"d encourage you to bookmark it, use it, support it, and get involved!

FuGet.org是.NET生态系统的狂热补充,我鼓励您为它添加书签,使用,支持并参与其中!

If you're interesting in stuff like this (and the code that runs stuff like this) also check out Stephen Cleary's useful http://dotnetapis.com/ and it's associated code on GitHub https://github.com/StephenClearyApps/DotNetApis.

如果您对此类内容(以及运行此类内容的代码)感兴趣,请查看Stephen Cleary有用的http://dotnetapis.com/及其在GitHub https://github.com/StephenClearyApps/DotNetApis上的关联代码。

翻译自: https://www.hanselman.com/blog/nugets-fancy-older-sibling-fuget-gives-you-a-whole-new-view-of-the-net-packaging-ecosystem

打包nuget

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值