Awesome! never thought we could use EF Core inside Xamarin Forms App. So that means we can use migrations too to update the database. Cool
@Archfile3755 жыл бұрын
Very nice video! I do wish someone would make one where the CR portion is completed as well as the Create and Read. The Update is perhaps the more detailed oriented part that is missing. I'd like to see a Master/Detail navigation and Update and Delete implemented. Regardless, nice video!
@oscarmoncayo96384 жыл бұрын
Keep this kind of videos. You are a mosnter dude! TOP!
@122raheem6 жыл бұрын
Hi, Could I just ask a quick question, When I was adding a project at the beginning and I do not have the .Net Standard, I have the .Net Core, but I do not know if that is the same thing? Help
@howtoapply51706 жыл бұрын
How are you inserting code snippets ? Can you guide about this ?
@davidmorrow13932 жыл бұрын
Very good starter, I noticed remove product is not implemented. Looking for the rest of this app.
@Shogoeu7 жыл бұрын
There is a NUGET package SQLite.NET.Core-PCL to work with SQLite in PCL.
@1cinisra16 жыл бұрын
but it does not security, in my particular case, I will use EF core because I can put a password to the NAMEDB.DB3 . So if you have a better idea please do not doubt to let me know.
@nickncik68647 жыл бұрын
Wow. Just what i needed today. perfect timing! tnx Houssem!
@AngeloValdezlovejesus6 жыл бұрын
Whatdo you think is the best approach to create an app that is connected to local database and could be able to sync to online database? Thanks!
@Learn_with_cosmos7 жыл бұрын
Thanks for making this Video. I am working on new project and had some issues deciding where to add my SQLite. Thanks Again Houssem.
@maceloo6 жыл бұрын
Hello Houssem! I have implemented this, but when I alter my class, I need alter my table on device. How I can alter my table when the app already installed in the device (without migrations...)?
@pantelis90i5 жыл бұрын
Hi Houssem, How would one be able to alter their tables without affecting the data already stored? This is a common scenario because after a few months someone might want to update the application (adding more columns in tables/models). Thanks
@changyeeheng38544 жыл бұрын
Hello, since using CRUD, may i ask that can i able to do upload image by using this methods too since what i knew so far was have to convert to byte first, am i right?
@adeelmalik60026 жыл бұрын
Hello Houssem Dellai i am using latest xamarin version in which creating .Net Standard project option is already exist and PCL option is removed so i did not add seperate project of .net standard when i execute the project it gives me lots of error so of therse are given below Could not load assembly 'System.Runtime.CompilerServices.Unsafe' during startup registration. 02-07 00:01:45.379 F/monodroid-assembly( 3796): This might be due to an invalid debug installation. 02-07 00:01:45.379 F/monodroid-assembly( 3796): A common cause is to 'adb install' the app directly instead of doing from the IDE. can you plz help me for this issue . THANKS
@frankietank80192 жыл бұрын
Hi Houssem, thanks for this video, really helpful. One question: shouldn't the database context be short-lived? I.e. opening for a query, disposing straight after that? I was told creating one context on app startup would impact performance, and the docs say the same thing. Thanks!
@dotnetdevni6 жыл бұрын
I am having real issues with data annotations not able to use the likes of key and identy how did yo get through this.
@tonysabarez37907 жыл бұрын
Thank you very much Houssem. I've been watching several of your tutorials for several days now and I am very much learning. Quick question regarding you code snippets, are those available somewhere? This would be a very good practice and exercise. Thanks much!
@HoussemDellai7 жыл бұрын
Thank you Tony for your feedback. Glad to hear that. The code is on github.com/houssemdellai
@tonysabarez37907 жыл бұрын
Houssem Dellai, thank you very much!
@andysonm6 жыл бұрын
@Houssem Dellai How can I use the Remove Product async
@rgaikwad73547 жыл бұрын
Thanks houssem, but i want to know one thing is, we have only one table(products repository) so we are passing through Efcore.android projet, so what if we have another table for example employee? How to pass that new repository (employeeRepository)? Or we should implement it in ProductsRepository? Please give solution or correct me if i wrong?
@muhammadyaseen70225 жыл бұрын
Hi sir how are you sir im working on xamarin forums with entityframwork core sqlite 2.0 with microsoft core sdk 2.0 it was working fine with my all projects but recently microsoft .net sdk core have been updated from 2.0 to 2.2. but my now my entityframwork did not working and displayiing error "could not link assemblies Reason: index is byount the type of array" kindly guide me plesase what i must do no ?
@raycarlbrown-amory35095 жыл бұрын
you have to upgrade
@thecouple20236 жыл бұрын
Hi, Houssem. Will realm db be good and compatible with Xamarin.Forms mobile app as compared to SQLite?
@HoussemDellai6 жыл бұрын
Harsh Kumar the advantage of Realm is Data Synchronisation between local and remote database. If you need only local database, then go for SQLite
@aslleal6 жыл бұрын
Thank so much Mr. Houssem! Very good explanation. How we use more than one repository?
@Learn_with_cosmos7 жыл бұрын
I don't see anything like SQLite. I see only EF framework could you explain how you used the SQLite so that it is clear? Thanks
@DhirenNaik4 жыл бұрын
nice video . Can I sync this to my remote db ?
@thomasnielsen74665 жыл бұрын
Wasted 3 hours looking for code snippets, please share
@shandeepkumar31275 жыл бұрын
Hi Houssem Dellai, I need to know refresh to load automatically while Product page view page is loaded as initially... can you please help me... ???
@BlalKhalidTech5 жыл бұрын
hi i have no option my code snippets how can i find?
@anatoliytkachenko14987 жыл бұрын
Thnx a lot for great explanation!!! Is it possible to sync data between Ms SQL Server on Azure and SQLite local DB in Xamarin.Forms using .NET Standard proxy project?
@radhikakurre73936 жыл бұрын
i am not able to use interface from portable project in standard project
@Dr..Math56 жыл бұрын
Dear Mr. Houssem, Can you send the name of the software for the video lecture (Share screen and video cam but windows 10)?
@nickncik68647 жыл бұрын
another thing houssem, im sorry if this is a bit irelevant but can i make a platform using xamarin forms in mobile and wordpress in web? can they share the same API? thanks!
@ahmadchishti88487 жыл бұрын
nick ncik you may use any api for the backend
@nickncik68647 жыл бұрын
what do you mean by use any?
@ahmadchishti88487 жыл бұрын
nick ncik i mean, whether it is in custom php, laravel, wordpress etc. As long as it is working, it should work fine
@Learn_with_cosmos7 жыл бұрын
A backend is just a backend no matter what language or framework you use. If you have endPoints then that works anywhere unless you mean something different. If your wordPress is using PHP API, then the API should be standard to be used anywhere.
@lombertiniabdoul89345 жыл бұрын
hi houssem ! I'm very happy to following you. you are a big mentor for me. But I have a question....Do you know , how to use entityFrameWorkCore to connect an existent bd with your project ( Use the bd with sqlite
@makavanavishal6 жыл бұрын
Thank you, For Share Knowledge to us
@doyin_dimeji7 жыл бұрын
Houssem Delai, how do you add SQLite connection to UWP project? You only treated iOS and Android
@pantelis90i5 жыл бұрын
Same idea with the other 2 projects. Inside the UWP project > MainPage.xaml.cs add this: var dbPath = Path.Combine(System.Environment.GetFolderPath(System.Environment.SpecialFolder.LocalApplicationData), "dbname.db"); var myRepository = new MyRepository(dbPath); LoadApplication( new MyProject.App(myRepository));
@sokheang-khun6 жыл бұрын
After I add one more DbSet Customers and run there's an error when I access to my new table. The error said there's no such Customers table. How can I fix this?
@pantelis90i5 жыл бұрын
It needs some kind of migrations to update the database. I have the same issue and unfortunately i don't know how to go around it other than deleting the DB and creating it again. On a .net core application (website) you could set up a separate migrations project to update your DB schema but don't know how to do that on this scenario.
@cbmehta10387 жыл бұрын
Hi, I just started Xamarin form development with VStudio 2017. however i found "code sharing strategy as .Net Standard instead of PCL. so when i download SqLite.net.standard, it is not working as soon as i add using SqLite and showing old version error. Kindly help
@Sparrow4207 жыл бұрын
Hey, this video is outdated as PCL are "no longer used", you can still make one under the 'legacy' tab, but you're better off finding a recent tutorial.
@cbmehta10387 жыл бұрын
Thanks will chk your recent tutorial as suggested.
@neisercp7 жыл бұрын
Very good video friend, but I have a question I hope you can help me how would you do that you show the data in a ListView I want you to generate me a text file with the data I am showing in the ListView the data saved in the ListView to be able to differentiate them I want to show me separated by a (palote |) and that the file is saved in a directory of the SD card or internal memory of the phone I urge you to do that, my friend, if you can help me with that ... I would appreciate it very much
@sharmafamilykvideos6 жыл бұрын
Hi, Please make a video on joins with multiple tables in sqlite in xamarin.Forms app
@rajeshangappan78496 жыл бұрын
May i use that entity framework in Offline sync concepts (Microsoft.WindowsAzure.MobileServices.SQLiteStore).
@AizaNews7 жыл бұрын
Hi Mr Houssem Dellai, you used only a object, How to app with multi objects(multi tables)?
@SA-mh7uy4 жыл бұрын
Please share code so I can test what you are trying to say
@juantaday7 жыл бұрын
how do I add the code fragment
@aljonsindanum376 жыл бұрын
Hi, it is possible to create relationship tables? if yes can you link me to the tutorial. thanks
@encisolunagenaroyair35426 жыл бұрын
Quiero lo mismo, tengo probleam al ingresar la llave foranea
@stanisawgolinski32446 жыл бұрын
Any access to github or something?
@mandardesai38417 жыл бұрын
Thanks Hussain can you make videos of Bluetooth scanning and data transfer through Bluetooth using Xamarin form
@HoussemDellai7 жыл бұрын
I'll consider that with no promises on short term :)
@mohanlalsudharsan89047 жыл бұрын
+Houssem Dellai even i need an help for bluetooh scanning app in xamarin form
@RebaïHamidaMVP7 жыл бұрын
You can use BLE (developer.xamarin.com/samples/mobile/BluetoothLEExplorer) and you can take a look to this project on github (github.com/xabre/xamarin-bluetooth-le)
@mohanlalsudharsan89047 жыл бұрын
+Rebaï Hamida don't know how to use it
@DipenHansawala5 жыл бұрын
Can you pl create the sqlite migration tutorials.
@ahmadchishti88487 жыл бұрын
what if the products page is not the first page of our application? how will we pass the repository than from App.cs?
@kamtanath44947 жыл бұрын
You can create and Instance of it in your App.cs and then you can use it through out.
@ahmadchishti88487 жыл бұрын
kamta nath when you say an instance of it, you mean the ProductsViewModel?
@kamtanath44947 жыл бұрын
No, the instance of your database class/sqlite
@AhmedShamel6 жыл бұрын
I want to add password to file. I search on the Internet to find how to do that, but I can't find a way. Can you help me?
@luiss98975 жыл бұрын
share your snippet? it looks very good =)
@antonitescaro27286 жыл бұрын
For me DbContext doesn't exist. I installed the EFC nuget package correctly. Can anyone help?
@encisolunagenaroyair35426 жыл бұрын
Tienes que crear la clase DBContext y hererdar de DbContext
@mcaves___14416 жыл бұрын
It says : "Could not load assembly 'System.Memory' during startup registration" while running on android device... please help if anyone knows..
@licentiavelnex35006 жыл бұрын
Hi, I run into the same problem, the fix is to downgrade the ef core version to 2.0.3 from the nuget manager, this is a bug by the way, they will probably fix it with the next version
@mcaves___14416 жыл бұрын
oks ... but i want to ask one things if you know, what is the difference between using entityframeworkcore.sqlite and sql-net-pcl?? last time i had worked well in sql-net-pcl in xamarin android but here i see efcore.sqlite in xamarin forms(now i want to work in xamarin forms) ... can we use sql net pcl in xamarin forms?? or are they same or what is the key difference?? thanks in advance ^_^
@thierryjrparis24147 жыл бұрын
Perfect explanatons thanks !
@yt123565 жыл бұрын
For everyone looking for the link to the source code/snippets etc. github.com/HoussemDellai/EFCore-SQLite-XamarinForms
@flaviobarbosax6 жыл бұрын
Congratulations teacher! Can you publish the project in github?
@opendatopendat62736 жыл бұрын
Its not showing this rare format inside the Class.cs Insert Snippet
@jonatanbuitrago45056 жыл бұрын
Excelent work almost i found a video like this
@rahmatabadi38395 жыл бұрын
did you use dependency injection in this video?
@dilhaitumhara6913 жыл бұрын
Thanks a lot...
@amjadaslam52704 жыл бұрын
I want to use database first
@HamzehArkia5 жыл бұрын
tank you very very very much
@ashishgarggarg53794 жыл бұрын
How to save this json : { "status": "success", "data": { "name": "Ashish", "salary": "1", "age": null, "id": 85 } }
@Виталий-ь9о4ц6 жыл бұрын
Демон, как ты это делаешь? Объясни по русски ничего де не понятно. Что ты нажимал когда создавал контекст базы данных?
@Rynas7 жыл бұрын
Nice
@juanpablotorres21435 жыл бұрын
Try to make it simpler i watch another videos with better explanation for the same topic.
@Chalbuilder20125 жыл бұрын
Which one? please share the link
@thomasnielsen74665 жыл бұрын
please share the source, it's impossible to follow what you are doing with your face covering the solution view