简体   繁体   English

Hammock.dll是做什么的?

[英]What does the Hammock.dll do?

I referenced the Couchbase assembly using NuGET in my project and it has a dependency on Hammock.dll . 我在项目中使用NuGET引用了Couchbase程序集,它依赖于Hammock.dll What does this assembly do? 这个程序集做什么? And is it really needed? 真的需要吗? In simple unit tests, my application works fine without the Hammock.dll being present. 在简单的单元测试中,我的应用程序可以在没有Hammock.dll情况下Hammock.dll But I don't want any surprises when I move this app to production. 但是当我将此应用程序投入生产时,我不希望有任何惊喜。

I would say [couchbase] still needs it , given there is a HammockHttpclient . 我想说[couchbase] 仍然需要它 ,因为有一个HammockHttpclient

To answer the original question: 要回答原始问题:

Hammock is an HTTP API library for .NET that greatly simplifies consuming and wrapping RESTful services. Hammock是用于.NET的HTTP API库,可以大大简化RESTful服务的使用和包装。

This can easily be reasearched by going to the CouchbaseNetClient page and under Dependancies clicking Hammock. 可以通过转到CouchbaseNetClient页面并在Dependancies下单击Hammock来轻松地对此进行重新搜索。 You can also go to the Couchbase Project and browse through the source to view if/where the library is still being used (as I have linked in the first sentence). 您也可以转到Couchbase项目并浏览源代码,以查看是否/仍在使用库(如我在第一句话中链接的那样)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM