You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the "Create the orchestrator Azure Function/Configure the app to use Custom Vision" section, it says "open the local.settings.json in the root of the Sketch2Code.Api project" but it is in the git ignore so there's no file.
I was able to test the function by using Azure CLI and calling the func azure functionapp fetch-app-settings <name>
command to create the file, then adding the properties mentioned in the tutorial.
I think the local.settings.json file should be added in the project.
There is no indication on how to test with Powershell.
I replaced the command curl with curl.exe to make it work.
I think it's worth mentioning in the tutorial.
App Function endpoint is not clear.
In the "Run the Sketch2Code app/Update App Settings" section, it says "Make sure that the Sketch2CodeAppFunctionEndPoint property has the correct function endpoint URL that you use before to call the function", which in my opinion isn't very clear.
Personally, I couldn't make the web app work - I tried with 2 endpoints, including the "http://localhost:7071/api/detection" one (with the Azure Function up and running), but when I try uploading a picture I get a message "Host lock lease acquired by instance ID XXXX..." and there's no result.
Hope this feedback will help improve the tutorial which is otherwise really great.
The text was updated successfully, but these errors were encountered:
Hi,
I have several comments regarding this tutorial:
There's no local.settings.json file.
In the "Create the orchestrator Azure Function/Configure the app to use Custom Vision" section, it says "open the local.settings.json in the root of the Sketch2Code.Api project" but it is in the git ignore so there's no file.
I was able to test the function by using Azure CLI and calling the
func azure functionapp fetch-app-settings <name>
command to create the file, then adding the properties mentioned in the tutorial.
I think the local.settings.json file should be added in the project.
There is no indication on how to test with Powershell.
I replaced the command curl with curl.exe to make it work.
I think it's worth mentioning in the tutorial.
App Function endpoint is not clear.
In the "Run the Sketch2Code app/Update App Settings" section, it says "Make sure that the Sketch2CodeAppFunctionEndPoint property has the correct function endpoint URL that you use before to call the function", which in my opinion isn't very clear.
Personally, I couldn't make the web app work - I tried with 2 endpoints, including the "http://localhost:7071/api/detection" one (with the Azure Function up and running), but when I try uploading a picture I get a message "Host lock lease acquired by instance ID XXXX..." and there's no result.
Hope this feedback will help improve the tutorial which is otherwise really great.
The text was updated successfully, but these errors were encountered: