A Beginners' Guide to Blazor WebAssembly - Adding SQLite & Dapper

Поделиться
HTML-код
  • Опубликовано: 9 фев 2023
  • How to add a SQLite database and Dapper to a Blazor WebAssembly (WASM) project. We will then amend the C# code to use Dapper and SQLite data to populate our Blazor page list.
    Useful Links:
    Video script, including source code : blazorcode.uk/countriesandcit...
    DB Browser for SQLite : sqlitebrowser.org
    Dapper : github.com/DapperLib/Dapper
    SQLite Tutorial : www.sqlitetutorial.net
    Learn Dapper : www.learndapper.com
  • НаукаНаука

Комментарии • 12

  • @christianrazvan
    @christianrazvan Год назад

    Hello! Very good content !

  • @DhirenPathak
    @DhirenPathak 11 месяцев назад

    Thanks Lot

  • @gunnypaulgiles
    @gunnypaulgiles 4 дня назад

    What if the new upgrade does not allow the addition and use of a Data folder in the server?

    • @christopherbell7186
      @christopherbell7186  4 дня назад

      I haven't tried to reproduce the application presented in this video in .NET 8.0, so cannot be absolutely sure, but I have created Blazor Web Apps with .NET 8.0 where I have been able to create a Data folder in the server project and place a SQLite database in it. Are you sure you can't create a Data folder in the server project?

  • @tee5831
    @tee5831 Год назад

    My countries list page warning is "An unhandled error has occurred. Reload" and can't show data in countries list page please help.

    • @christopherbell7186
      @christopherbell7186  Год назад +1

      Tee, unfortunately, that is a generic type of error and doesn't really help much! I normally see this error if I have made a typing error or similar. I suggest that you have a look at the accompanying blog post and code page and check through your code and compare with mine. Blog post: blazorcode.uk/countriesandcitieswasm/add-sqlite-and-dapper/
      Code (only changes for this post) blazorcode.uk/countriesandcitieswasm/add-sqlite-and-dapper-code/
      If you need the code for previous posts, look back through the posts and look for 'Code' or 'References' at the end of the post.
      Good luck...

    • @tee5831
      @tee5831 Год назад

      @@christopherbell7186 Now, I can fix it successfully. Thank you.

    • @christopherbell7186
      @christopherbell7186  Год назад +1

      @@tee5831 Well done!

  • @marceloduartedeavila
    @marceloduartedeavila Год назад

    Well, very good content, however, I believe it does not match the title of the video.👍👊