Answers
- A method called
Main
in theProgram
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 thepublic
folder, which can be found in theClientApp
folder. - The React app dependencies are defined in a file called
package.json
in theClientApp
folder. npm start
is the command that will run the React app in the WebPack development server.npm run build
is the command that builds the React app so that it's ready for production.- The
render
method renders a React class component. - Authentication will be invoked first in the request/response pipeline.
- We can give the
Startup
class a different name by defining this class inIHostBuilder
, as shown in the following example:public static IHostBuilder CreateHostBuilder(string[] args) => Host.CreateDefaultBuilder(args) ...