Questions

Have a go at the following questions to test the knowledge that you have acquired in this chapter:

  1. What is the entry point method in an ASP.NET Core app?
  2. 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?
  3. What file are React app dependencies defined in?
  4. What npm command will run the React app in the Webpack development server?
  5. What npm command builds the React app so that it's ready for production?
  6. What is the method name in a React component class that renders the component?
  7. 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();
}
  1. Which is invoked first in the request/response pipeline—authentication or the MVC controllers?
  2. Does the class that configures the services and request/response pipeline need to be called Startup? Can we give it a different name?
  3. What browsers are supported by a React app created by CRA?

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.147.81.214