Open Closed

Book's UI with Acme.BookStore example #7587


User avatar
0
Sam.Lu created

Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, and please first use the search on the homepage. Provide us with the following info:

  • ABP Framework version: v8.2.0
  • UI Type: Blazor WASM
  • Database System: EF Core (SQLite)
  • Tiered (for MVC) or Auth Server Separated (for Angular): no
  • Exception message and full stack trace:
  • Steps to reproduce the issue: My code:[https://github.com/SamLu-0331/Acm.....(https://github.com/SamLu-0331/.....) I am currently working on the Acme.BookStore example. While creating the Book menu, the main program can run, but I cannot open the menu. I would like to ask why this is happening.
Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)

14 Answer(s)
  • User Avatar
    0
    Anjali_Musmade created
    Support Team Member

    Hello,

    Thanks for reporting we will check and fix the issue asap.

    Regards

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    Sam.Lu created

    Do you have any update? Thank you!

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    manchi created

    @Anjali_Musmade please kindly help on this, this issue has been blocking to your critical path in license evaluation process.

    greatly appreciated for your help

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    liangshiwei created
    Fullstack Developer

    You forget add dbset to the dbcontext

    https://abp.io/docs/latest/tutorials/book-store/part-01?UI=Blazor&DB=EF#add-the-book-entity-to-the-dbcontext

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    Sam.Lu created

    Is not over here?

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    liangshiwei created
    Fullstack Developer

    try

    • dotnet ef migrations add updatebookentity
    • dotnet ef database update
    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    Sam.Lu created

    ABP Framework version: v8.2.1 UI Type: Blazor WASM Database System: EF Core (SQLite) Tiered (for MVC) or Auth Server Separated (for Angular): no My github URL: https://github.com/SamLu-0331/Acme.BookStore_Wasm.git

    Thank you for your explanation. I am currently working on the Acme.BookStore project using tutorials and have completed 10 chapters. However, after running the project, there are still some UI issues that make it unusable. I am confident that the first 9 chapters are correct, but I am not sure if I misunderstood some parts of the 10th chapter. Could you please help me review it? Thank you.

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    liangshiwei created
    Fullstack Developer

    Hi,

    remove the database and create a new one

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    liangshiwei created
    Fullstack Developer

    We prefer to delete the database (you can run the Drop-Database in the Package Manager Console) since this is just an example project and data loss is not important. Since this topic is not related to the ABP, we don't go deeper for all the scenarios.

    https://abp.io/docs/latest/tutorials/book-store/part-10?UI=NG&DB=EF#database-data-migration

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    Sam.Lu created
    • ef migration remove
    • dotnet ef database update Should I use these two commands, and in which folder should I execute them?
    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    liangshiwei created
    Fullstack Developer

    you can simply delete the database file

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    Sam.Lu created

    Sorry, I am a beginner. I want to ask more carefully. Is it the migrations part of Acme.BookStore.EntityFrameworkCore?

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    Sam.Lu created

    @liangshiwei I deleted AuthorID_To_Book and AuthorID_To_Book.Design and Build succeeded, but Book still doesn't work . Greatly appreciated for your help.

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    liangshiwei created
    Fullstack Developer

    Hi,

    I mean delete the database file, not the migration file. : )

    • delete the bookstore.db
    • run dbmigrator
    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.8.0-preview. Updated on September 16, 2026, 14:50
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.