简体   繁体   中英

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.

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/

This could be because the endpoint has been updated since.

I'm using 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? If yes, what is it and how can I query it?

Visual Studio Extension Details from Microsoft Service

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. However, starting from November 2016, the Visual Studio Marketplace has become the one stop for all extensions of the Visual Studio Product Family.

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. As well, if you are signed in via your Microsoft account, you can rate and review the extensions.

Check Microsoft DevOps Blog for some more details.

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. AFAIK, there is still not have a public VS marketplace API.

Public REST API for Visual Studio Marketplace

Hope this helps.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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