Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

ScaffoldingReadMe.txt 505B

1 år sedan
123456789101112
  1. Scaffolding has generated all the files and added the required dependencies.
  2. However the Application's Startup code may require additional changes for things to work end to end.
  3. Add the following code to the Configure method in your Application's Startup class if not already done:
  4. app.UseEndpoints(endpoints =>
  5. {
  6. endpoints.MapControllerRoute(
  7. name : "areas",
  8. pattern : "{area:exists}/{controller=Home}/{action=Index}/{id?}"
  9. );
  10. });