简体   繁体   English

Microsoft Service提供的Visual Studio扩展详细信息

[英]Visual Studio Extension Details from Microsoft Service

I've got a list of visual studio extensions which I'm looping through so I can get the download URLs from the Microsoft service programmatically. 我有一个正在遍历的Visual Studio扩展列表,因此我可以以编程方式从Microsoft服务获取下载URL。

In one of the pieces of code, this is the endpoint that gives the details of the installed extensions. 在其中的一段代码中,这是提供已安装扩展细节的端点。

[https://visualstudiogallery.msdn.microsoft.com/Services/dev12/Extension.svc][1]

But when I put it in the browser, I get redirected to https://marketplace.visualstudio.com/ 但是,当我将其放在浏览器中时,我被重定向到https://marketplace.visualstudio.com/

This could be because the endpoint has been updated since. 这可能是因为此后已更新端点。

I'm using Visual Studio 2017. 我正在使用Visual Studio 2017。

So the question is, is there an endpoint like above that I can query to get metadata like name, author, download Url etc. about VS extensions? 因此,问题是,是否存在像上面这样的端点,我可以查询该端点以获取有关VS扩展的元数据,例如名称,作者,下载Url等? If yes, what is it and how can I query it? 如果是,那是什么,如何查询?

Visual Studio Extension Details from Microsoft Service Microsoft Service提供的Visual Studio扩展详细信息

The destination for Visual Studio extensions (an installable unit that brings additional features to Visual Studio) has been the Visual Studio Gallery for a very long time. Visual Studio扩展(将附加功能添加到Visual Studio的可安装单元)的目的地已经很长时间了。 However, starting from November 2016, the Visual Studio Marketplace has become the one stop for all extensions of the Visual Studio Product Family. 但是,从2016年11月开始,Visual Studio Marketplace已成为Visual Studio产品系列所有扩展的一站式服务。

The new site operates the same as the old gallery. 新网站的运作方式与旧画廊相同。 You can browse, search, filter and download a .vsix extension to your machine and deploy it locally. 您可以浏览,搜索,筛选和下载.vsix扩展名到您的计算机,然后将其本地部署。 As well, if you are signed in via your Microsoft account, you can rate and review the extensions. 同样,如果您通过Microsoft帐户登录,则可以对扩展进行评分和审查。

Check Microsoft DevOps Blog for some more details. 有关更多详细信息,请查看Microsoft DevOps博客

Besides, if you want to use the API for Visual Studio Marketplace to get metadata, I am afraid you can not do this thing at this moment. 此外,如果您想使用Visual Studio Marketplace的API来获取元数据,恐怕您目前无法执行此操作。 AFAIK, there is still not have a public VS marketplace API. AFAIK,仍然没有公共VS市场API。

Public REST API for Visual Studio Marketplace 适用于Visual Studio Marketplace的公共REST API

Hope this helps. 希望这可以帮助。

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

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