зеркало из https://github.com/microsoft/mwt-ds.git
1cdf062154
In the last change, we added more tracing to ServerProtocolViolation WebExceptions in the Crawler. Unfortunately, the ones we are seeing aren't triggering this code because they do not get far enough to get a Response object. I don't expect that we will be able to get useful information from this telemetry, so add this to the set of dependency failures we silently ignore, after adding a trace. |
||
---|---|---|
.. | ||
AzureMLTopic | ||
CognitiveServiceEmotion | ||
CognitiveServiceEntityLinking | ||
CognitiveServiceTextAnalytics | ||
CognitiveServiceVision | ||
Crawl | ||
Data | ||
Properties | ||
RSS | ||
VideoIndexer | ||
BlobCache.cs | ||
BlobContent.cs | ||
CacheItem.cs | ||
CertificateUtil.cs | ||
CognitiveService.cs | ||
Crawl.csproj | ||
HttpCachedService.cs | ||
KeyVaultHelper.cs | ||
RawStringConverter.cs | ||
Services.cs | ||
Web.Debug.config | ||
Web.Release.config | ||
Web.config | ||
host.json | ||
packages.config | ||
readme.MD |
readme.MD
Install Azure Function CLI tools
npm install -g azure-functions-cli
Run on command line from Crawl directory
%AppData%\npm\func run .
You can attach VS to func.exe.
appsettings.json has the Configuration Manager settings.
(Invoke-WebRequest -Method Post -Body $r.Content -ContentType 'application/json' 'http://localhost:7071/api/CognitiveServiceVision').Content
curl -v -X POST http://localhost:7071/api/CognitiveServiceVision -H "Content-Type: application/json" -d @vision.json -H "Accept: application/json"