Answers
- A method calledÂ
Main in theÂProgram class is the entry point method in an ASP.NET Core app. - A file calledÂ
index.html is the single HTML page filename. This is located in theÂpublic folder, which can be found in theÂClientApp folder. - The React app dependencies are defined in a file called
package.jsonin theÂClientApp folder. npm startis the command that will run the React app in the WebPack development server.npm run buildis the command that builds the React app so that it's ready for production.- The
rendermethod renders a React class component. - Authentication will be invoked first in the request/response pipeline.
- We can give the
Startupclass a different name by defining this class inÂIHostBuilder, as shown in the following example:public static IHostBuilder CreateHostBuilder(string[] args) => Â Â Host.CreateDefaultBuilder(args) Â Â ...