This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Choose the best response for each question.
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 a pull request to the 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.
github.com
How do you configure your app so that when you navigate to /about in the browser, it serves the root index.html file?
Add a navigationFallback to the staticwebapp.config.json file that uses index.html.
navigationFallback
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 staticwebapp.config.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.
Was this page helpful?