Performing CRUD Operation In .NET MAUI (SQLite)

Поділитися
Вставка
  • Опубліковано 18 гру 2024

КОМЕНТАРІ • 72

  • @ArmandoTWeb
    @ArmandoTWeb 8 місяців тому

    Really an excellent tutorial. Thanks for sharing.

  • @prateekh.4617
    @prateekh.4617 Рік тому +1

    Thanks for your help. Got a question, why did you register StudentListPageViewModel as singleton while AddupdateStudentDetailViewModel as Transient? Same question for their views as well

    • @ProgrammingWithPragnesh
      @ProgrammingWithPragnesh  Рік тому

      Hi , Singleton will intialize viewmodel one time only where transient whenever you open page it gonna intialize it.

  • @HandleDead
    @HandleDead Рік тому +2

    Hello i have a question!!! Can i use EF with this db

    • @ProgrammingWithPragnesh
      @ProgrammingWithPragnesh  Рік тому +1

      Hi , I m not sure I didn't tried yet.

    • @HandleDead
      @HandleDead Рік тому +2

      @@ProgrammingWithPragneshUnfortunately doesnt work with EF. But anyway thank you for your work

  • @jb33238
    @jb33238 Рік тому

    Thank you so much!! your video is amazing!! Just quick question regarding on SetUpDb() method at 11:41, how do we handle in upgrading the table schema, say, if I need to add some extra column for the table (or alter some specific column)? Do we need to put some logic of checking the db version and running some script within SetUpDb() by some how?

  • @PinasPiliNa999
    @PinasPiliNa999 Рік тому +1

    Do you have any tutorial that CRUD on 2 or more tables? One to many, many to many etc?

  • @ezecel9
    @ezecel9 2 роки тому +1

    I want to start a mobile app with .net maui. Do you know if there is some difference between using webview with blazor and xaml? I mean performance, UX, delays, etc. Which do you recomend? Thanks

    • @ProgrammingWithPragnesh
      @ProgrammingWithPragnesh  2 роки тому +1

      I think you can go with .NET MAUI (XAML) by this you can achieve pure Native UI Look and feel.

  • @lukereed7037
    @lukereed7037 Рік тому

    Confused as to what the point of the interface is e.g. IStudentService, would it work without it? With just StudentService instead

  • @adewale3157
    @adewale3157 Рік тому +1

    Thanks for the video. Do you have live training class?

  • @shbita
    @shbita 2 роки тому +3

    Thanks a lot for the video
    One suggests : please make the font bigger in future videos, it is easier to see with bigger font

    • @ProgrammingWithPragnesh
      @ProgrammingWithPragnesh  2 роки тому +1

      Yeah, Thank you so much for suggestion, I will make font size bigger in upcoming videos.

  • @ArmandoTWeb
    @ArmandoTWeb 8 місяців тому

    Hi, how do I upload the app to my android for a test? If I had to copy the sqlite tables how do I attach them to the application? Greetings.

  • @igorotekit797
    @igorotekit797 Рік тому +1

    How about CRUD for MSSQl Server? is it the same?

    • @ProgrammingWithPragnesh
      @ProgrammingWithPragnesh  Рік тому +1

      ua-cam.com/video/mNM5Z_pHGqM/v-deo.html

    • @igorotekit797
      @igorotekit797 Рік тому

      @@ProgrammingWithPragnesh May I kindly request if you can make another tutorial similar to that but with CRUD for one to many and many to many table relationship? the showed on the link is just CRUD for 1 table. Thanks!

  • @giusepperiina
    @giusepperiina 2 роки тому +1

    Thank You!!!
    If you can please make a video for the webcam (Emgu Cv). Thank you

    • @ProgrammingWithPragnesh
      @ProgrammingWithPragnesh  2 роки тому +1

      Thank you, sorry i do not know about this, I will reserch and try to work on it.

  • @debrajsamanta7611
    @debrajsamanta7611 11 місяців тому

    Well done

  • @omyoubee7250
    @omyoubee7250 2 роки тому +1

    I want to design Arabic App . how I con change the direction interface to Arabic?

  • @seydayetisen7456
    @seydayetisen7456 Рік тому +1

    hello sir thanks for the videos, is it possible to define a foreign key in the model?

  • @dhirenpathak
    @dhirenpathak 2 роки тому +2

    Thanks for Video, Please Put Also Crud Operation with SQLite in MAUI Blazor

  • @belefkihyassin643
    @belefkihyassin643 Рік тому

    Hello I'm facing an issue when update the data in sqlite on this project how can I fix
    it : if (global::System.Diagnostics.Debugger.IsAttached) global::System.Diagnostics.Debugger.Break();

  • @OURFARM2YOURHOME
    @OURFARM2YOURHOME 2 роки тому +1

    Will it create sqlite db automatically?

    • @ProgrammingWithPragnesh
      @ProgrammingWithPragnesh  2 роки тому

      Yes, it will create automatically

    • @OURFARM2YOURHOME
      @OURFARM2YOURHOME 2 роки тому +1

      @@ProgrammingWithPragnesh I am getting this error VTable setup of type SQLitePCL.SQLite3Provider_e_sqlite3 failed. Please help, thanks

    • @ProgrammingWithPragnesh
      @ProgrammingWithPragnesh  2 роки тому

      Hi, Can you try to run this repo code : github.com/mistrypragnesh40/SQLiteDemoMAUI
      and let me know is it working or not.

    • @OURFARM2YOURHOME
      @OURFARM2YOURHOME 2 роки тому +1

      @@ProgrammingWithPragnesh I tried this it is working fine. I did the same thing in my code but same error

    • @ProgrammingWithPragnesh
      @ProgrammingWithPragnesh  2 роки тому

      Can you share your repo url to me , i will check it

  • @eugened4859
    @eugened4859 2 роки тому

    Hi, do you run VS under Linux? Otherwise how Android emulator gets db path to SQLite, could you clarify ?
    Thank you

    • @ProgrammingWithPragnesh
      @ProgrammingWithPragnesh  2 роки тому

      HI, I am using Windows Platform for running Visual Studio, And I am using real device , so it accessing DB path from LoaclApplicationData.

  • @suryapandey295
    @suryapandey295 2 роки тому +1

    Can we do the update and delete on same screen ? Without flipping two different screens ? Please let me know and if possible please make the video on this topic. Thanks in advance.

    • @ProgrammingWithPragnesh
      @ProgrammingWithPragnesh  2 роки тому

      Hi Surya, Yes is it possible either you can set page presentation mode to Modal ( Shell.PresentationMode="Modal") , so it will open modal page on same page, or you need create two panel and you need to set visibility based on your requirement.

  • @younessesoft
    @younessesoft 2 роки тому +1

    hello sir, thks for this amazing video , i have a question if maui can execute ussd command if there any tutorial or documentation for that plz

    • @ProgrammingWithPragnesh
      @ProgrammingWithPragnesh  2 роки тому

      Hi, I am not sure about ussd command. I will let you know if I find anything regarding this.

  • @abeenr2
    @abeenr2 2 роки тому +1

    Thank you for the video!

  • @zerik1483
    @zerik1483 Рік тому

    I already creat MyDb.db , and location file all set Mydocument. But when i add like you, it not join my Db.

  • @gurvindergurvinder3045
    @gurvindergurvinder3045 2 роки тому +1

    thanks a lot for your video, if i want to add database credentials how i can do it

  • @yaser107
    @yaser107 2 роки тому

    thanks for your great videos would you make a video on working with sqlserver direct connection not through api

  • @stgermosen
    @stgermosen 2 роки тому +1

    Will be helpfull than your login tutorial be combined with this using the backend there, will be awesome, and I guess than you could open a patreon, definitely I will be there

  • @mihiteshdax5376
    @mihiteshdax5376 11 місяців тому

    Error XLS0414 The type 'models:StudentModel' was not found. Verify that you are not missing an assembly reference and that all referenced assemblies have been built. MauiApp4 C:\Users\Admin\source
    epos\MauiApp4\Views\StudentListPage.xaml 14
    Error in UI DataTemple x:Datatype="models:StudentModel"
    Help me

  • @DJone4one
    @DJone4one 2 роки тому +1

    Thank you for this video. Can you also make a video that makes an app in the same format that adds an item, calculates the quantity and price and price per quantity automatically and stores that in a database? Like there in the video? And how i can scroll or is it automaticlly if i have more students in the lists? because in the emulator it doesn't work.

  • @dipankarghosh1868
    @dipankarghosh1868 2 роки тому +1

    Can I use this with SQL Server ???

    • @ProgrammingWithPragnesh
      @ProgrammingWithPragnesh  2 роки тому

      Yes, You can use it, You just need to call Web API to perform this all operation.

  • @namelastname4077
    @namelastname4077 2 роки тому +1

    the sound of your keyboard makes me die inside

  • @priyanshishah142
    @priyanshishah142 2 роки тому

    Can you please present the data stored in database and show me the tables as i have some issue in sqlite it shows no tables in it.

  • @alialshreef2874
    @alialshreef2874 2 роки тому

    Thankyou Pro , But The MainPage it is already in app but he is no show this page is go to page student How ??

    • @ProgrammingWithPragnesh
      @ProgrammingWithPragnesh  2 роки тому +1

      Hello Ali, In AppShell.xaml I set the route page as a StudentListPage.

    • @alialshreef2874
      @alialshreef2874 2 роки тому

      @@ProgrammingWithPragnesh Thank you i see Now , i wait other vedios of MAUI . Good Luck Pro

  • @prachisanghavi1310
    @prachisanghavi1310 2 роки тому

    Can you make one video of sql connectivity database..

  • @nageshajab7137
    @nageshajab7137 Рік тому

    Thank you so much.

  • @anushreesinha9119
    @anushreesinha9119 2 роки тому

    Thanks, this was really helpful. but the ui is not updated if only one item is left and i delete that. until i restart the app item remains there. how to fix this

    • @ProgrammingWithPragnesh
      @ProgrammingWithPragnesh  2 роки тому +1

      Yeah Thank you, and Yes you are right, Just use Student.Clear() statement at the starting of GetStudentList() method.

    • @anushreesinha9119
      @anushreesinha9119 2 роки тому

      @@ProgrammingWithPragnesh thankyou so much

  • @stgermosen
    @stgermosen 2 роки тому

    Upload images will be great as continuation of this

  • @stetojavellana2030
    @stetojavellana2030 2 роки тому

    Thanks Sir

  • @kurdishprogramming4698
    @kurdishprogramming4698 7 місяців тому

    👏👏👏👏👏👏

  • @yasminaamroun8682
    @yasminaamroun8682 Рік тому

    I want to create a database with several tables; I must use the Services as in your example or I but the database in another Data folder for example. Please

  • @ReadLineAcademy
    @ReadLineAcademy Рік тому

    If I have any problem with my learning face, i will knock you . Ok sir

  • @ehabghonem
    @ehabghonem 2 роки тому

    thanks for video man it's amazing
    I tray to create something like this
    but I found error when I ubdate student and returned to add new I have error
    to correct this error I tried to abb
    studentDetails = new student();
    in add event

  • @mouradaissani8957
    @mouradaissani8957 2 роки тому

    thank you