Ends in:
7 DAYS
21 HRS
49 MIN
16 SEC
Ends in:
7 D
21 H
49 M
16 S
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.

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

    Hello,

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

    Regards

  • User Avatar
    0
    Sam.Lu created

    Do you have any update? Thank you!

  • 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

  • User Avatar
    0
    liangshiwei created
    Support Team 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

  • User Avatar
    0
    Sam.Lu created

    Is not over here?

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    try

    • dotnet ef migrations add updatebookentity
    • dotnet ef database update
  • 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.

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    remove the database and create a new one

  • User Avatar
    0
    liangshiwei created
    Support Team 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

  • 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?
  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    you can simply delete the database file

  • 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?

  • 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.

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

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

    • delete the bookstore.db
    • run dbmigrator
Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06