Answers
- In ASP.NET Core, the name of the file where we store any settings specific to the production environment is called
appsettings.Production.json. - The reason for our ASP.NET Core backend needing the
Frontendsetting is to set up the allowed origin in a CORS policy. - We would use
npm run build:qato produce a QA build. - If we didn't include the
web.configfile with our React frontend, we wouldn't be able to deep-link into our app—for example, putting the path to a question (such ashttps://qandafrontend.z19.web.core.windows.net/questions/1) directly in the browser's address bar and pressing Enter will result in a Page not found error being returned. - Connection strings contain a secret username and password. It is safer to store these in Azure rather than in our source code.