Questions
Have a go at answering the following questions to test the knowledge that you have acquired in this chapter:
- What is the entry point method in an ASP.NET Core app?
- What is the single HTML page filename in an ASP.NET Core React app that's created by a template? What folder is this located in?
- What file are React app dependencies defined in?
- What
npm
command will run the React app in the Webpack development server? - What
npm
command builds the React app so that it's ready for production? - What is the method name in a React class component that renders the component?
- Have a look at the following code snippet, which configures the request/response pipeline in an ASP.NET Core app:
public void Configure(IApplicationBuilder app, IHostingEnvironment env) { app.UseAuthentication(); app.UseHttpsRedirection(); app.UseMvc(); }
Which is invoked first in the request/response pipeline...