Choose the best response for each question. Then select Check your answers.
When you make changes to your app, how do you publish an update to Azure Static Web Apps?
Delete the Azure Static Web Apps instance and recreate it.
Push commits to the watched branched or create pull request to watched branch.
Create a new GitHub Actions workflow to build and publish your web app.
Create and push a new branch to your git repository.
How do you view the progress of building and redeploying after you make changes to your app?
Go to the production URL of your app.
Go to your resource in the Azure portal and view the configuration.
Push your commits to your watched branched of your git repository.
Go to the repository on github.com, then navigate to the Actions menu.
How do you configure your app so that when you navigate to /about in the browser, it serves the root index.html file?
Add an entry in routes.json for a wildcard route /* to serve /index.html.
Add an entry in Client.csproj for a wildcard route /* to serve /index.html.
Add an entry in routes.json for a wildcard route /index to serve /index.html.
Configure a wildcard route in the GitHub Actions workflow file to serve /index.html.
How do you tell Azure Static Web Apps that you changed where your API is located?
In the Client.csproj file.
Add an entry in routes.json for the location.
Azure Static Web Apps automatically knows where your code and API are located, without any configuration.
In the GitHub Actions workflow file in your .github/workflows folder.
You must answer all questions before checking your work.
Need help? See our troubleshooting guide or provide specific feedback by reporting an issue.