now trying again with Web.BaseUrl
set to empty.
so the index.json
looks like for http://localhost
{
"version": "3.0.0",
"resources": [{
"@id": "http://localhost/nuget/Release/v3/search",
"@type": "SearchQueryService",
"comment": "Query endpoint of NuGet Search service"
}, {
"@id": "http://localhost/nuget/Release/v3/search",
"@type": "SearchQueryService/3.0.0-rc",
"comment": "Query endpoint of NuGet Search service"
}, {
"@id": "http://localhost/nuget/Release/v3/search",
"@type": "SearchQueryService/3.0.0-beta",
"comment": "Query endpoint of NuGet Search service"
}, {
"@id": "http://localhost/nuget/Release/v3/autocomplete",
"@type": "SearchAutocompleteService",
"comment": "Autocomplete endpoint of NuGet Search service"
}, {
"@id": "http://localhost/nuget/Release/v3/autocomplete",
"@type": "SearchAutocompleteService/3.0.0-rc",
"comment": "Autocomplete endpoint of NuGet Search service"
}, {
"@id": "http://localhost/nuget/Release/v3/autocomplete",
"@type": "SearchAutocompleteService/3.0.0-beta",
"comment": "Autocomplete endpoint of NuGet Search service"
}, {
"@id": "http://localhost/nuget/Release/v3/registrations/",
"@type": "RegistrationsBaseUrl",
"comment": "Base URL of Azure storage where NuGet package registration info is stored in GZIP format. This base URL includes SemVer 2.0.0 packages."
}, {
"@id": "http://localhost/nuget/Release/v3/registrations/",
"@type": "RegistrationsBaseUrl/3.0.0-rc",
"comment": "Base URL of Azure storage where NuGet package registration info is stored in GZIP format. This base URL includes SemVer 2.0.0 packages."
}, {
"@id": "http://localhost/nuget/Release/v3/registrations/",
"@type": "RegistrationsBaseUrl/3.0.0-beta",
"comment": "Base URL of Azure storage where NuGet package registration info is stored in GZIP format. This base URL includes SemVer 2.0.0 packages."
}, {
"@id": "http://localhost/nuget/Release/v3/registrations-gz/",
"@type": "RegistrationsBaseUrl/3.4.0",
"comment": "Base URL of Azure storage where NuGet package registration info is stored in GZIP format. This base URL includes SemVer 2.0.0 packages."
}, {
"@id": "http://localhost/nuget/Release/v3/registrations-gz/",
"@type": "RegistrationsBaseUrl/3.6.0",
"comment": "Base URL of Azure storage where NuGet package registration info is stored in GZIP format. This base URL includes SemVer 2.0.0 packages."
}, {
"@id": "http://localhost/nuget/Release/v3/flatcontainer",
"@type": "PackageBaseAddress/3.0.0",
"comment": "Base URL of where NuGet packages are stored, in the format https://api.nuget.org/v3-flatcontainer/{id-lower}/{version-lower}/{id-lower}.{version-lower}.nupkg"
}, {
"@id": "http://localhost/feeds/Release/{id}/{version}",
"@type": "PackageDetailsUriTemplate/5.1.0",
"comment": "URI template used by NuGet Client to construct details URL for packages"
}, {
"@id": "http://localhost/nuget/Release/v3/registrations/{id-lower}/index.json",
"@type": "PackageDisplayMetadataUriTemplate/3.0.0-rc",
"comment": "URI template used by NuGet Client to construct display metadata for Packages using ID"
}, {
"@id": "http://localhost/nuget/Release/v3/registrations/{id-lower}/{version-lower}.json",
"@type": "PackageVersionDisplayMetadataUriTemplate/3.0.0-rc",
"comment": "URI template used by NuGet Client to construct display metadata for Packages using ID, Version"
}, {
"@id": "http://localhost/nuget/Release/",
"@type": "LegacyGallery"
}, {
"@id": "http://localhost/nuget/Release/",
"@type": "LegacyGallery/2.0.0"
}, {
"@id": "http://localhost/nuget/Release/package",
"@type": "PackagePublish/2.0.0"
}
]
}
and for https://proget.xxx.com
{
"version": "3.0.0",
"resources": [{
"@id": "https://proget.xxx.com/nuget/Release/v3/search",
"@type": "SearchQueryService",
"comment": "Query endpoint of NuGet Search service"
}, {
"@id": "https://proget.xxx.com/nuget/Release/v3/search",
"@type": "SearchQueryService/3.0.0-rc",
"comment": "Query endpoint of NuGet Search service"
}, {
"@id": "https://proget.xxx.com/nuget/Release/v3/search",
"@type": "SearchQueryService/3.0.0-beta",
"comment": "Query endpoint of NuGet Search service"
}, {
"@id": "https://proget.xxx.com/nuget/Release/v3/autocomplete",
"@type": "SearchAutocompleteService",
"comment": "Autocomplete endpoint of NuGet Search service"
}, {
"@id": "https://proget.xxx.com/nuget/Release/v3/autocomplete",
"@type": "SearchAutocompleteService/3.0.0-rc",
"comment": "Autocomplete endpoint of NuGet Search service"
}, {
"@id": "https://proget.xxx.com/nuget/Release/v3/autocomplete",
"@type": "SearchAutocompleteService/3.0.0-beta",
"comment": "Autocomplete endpoint of NuGet Search service"
}, {
"@id": "https://proget.xxx.com/nuget/Release/v3/registrations/",
"@type": "RegistrationsBaseUrl",
"comment": "Base URL of Azure storage where NuGet package registration info is stored in GZIP format. This base URL includes SemVer 2.0.0 packages."
}, {
"@id": "https://proget.xxx.com/nuget/Release/v3/registrations/",
"@type": "RegistrationsBaseUrl/3.0.0-rc",
"comment": "Base URL of Azure storage where NuGet package registration info is stored in GZIP format. This base URL includes SemVer 2.0.0 packages."
}, {
"@id": "https://proget.xxx.com/nuget/Release/v3/registrations/",
"@type": "RegistrationsBaseUrl/3.0.0-beta",
"comment": "Base URL of Azure storage where NuGet package registration info is stored in GZIP format. This base URL includes SemVer 2.0.0 packages."
}, {
"@id": "https://proget.xxx.com/nuget/Release/v3/registrations-gz/",
"@type": "RegistrationsBaseUrl/3.4.0",
"comment": "Base URL of Azure storage where NuGet package registration info is stored in GZIP format. This base URL includes SemVer 2.0.0 packages."
}, {
"@id": "https://proget.xxx.com/nuget/Release/v3/registrations-gz/",
"@type": "RegistrationsBaseUrl/3.6.0",
"comment": "Base URL of Azure storage where NuGet package registration info is stored in GZIP format. This base URL includes SemVer 2.0.0 packages."
}, {
"@id": "https://proget.xxx.com/nuget/Release/v3/flatcontainer",
"@type": "PackageBaseAddress/3.0.0",
"comment": "Base URL of where NuGet packages are stored, in the format https://api.nuget.org/v3-flatcontainer/{id-lower}/{version-lower}/{id-lower}.{version-lower}.nupkg"
}, {
"@id": "http://proget.xxx.com/feeds/Release/{id}/{version}",
"@type": "PackageDetailsUriTemplate/5.1.0",
"comment": "URI template used by NuGet Client to construct details URL for packages"
}, {
"@id": "https://proget.xxx.com/nuget/Release/v3/registrations/{id-lower}/index.json",
"@type": "PackageDisplayMetadataUriTemplate/3.0.0-rc",
"comment": "URI template used by NuGet Client to construct display metadata for Packages using ID"
}, {
"@id": "https://proget.xxx.com/nuget/Release/v3/registrations/{id-lower}/{version-lower}.json",
"@type": "PackageVersionDisplayMetadataUriTemplate/3.0.0-rc",
"comment": "URI template used by NuGet Client to construct display metadata for Packages using ID, Version"
}, {
"@id": "https://proget.xxx.com/nuget/Release/",
"@type": "LegacyGallery"
}, {
"@id": "https://proget.xxx.com/nuget/Release/",
"@type": "LegacyGallery/2.0.0"
}, {
"@id": "https://proget.xxx.com/nuget/Release/package",
"@type": "PackagePublish/2.0.0"
}
]
}
here the PackageDetailsUriTemplate/5.1.0
type is using http
instead of https