Welcome to Xamarin Guy Show Blog

Keep updated for latest and Greatest Posts from Xamarin guy

Author: samir gc

Dotnet MAUI Many To Many Relation SQLITE PCL Database

Benefits of Using [ManyToMany] with a Junction Table Flexibility: Both classrooms and students can be associated with multiple records. This allows for real-world scenarios where a student can attend multiple classes, and a class can have multiple students. Efficient Data Management: Instead of duplicating data (e.g., storing a list of students inside each classroom record

Dotnet MAUI One To Many Relation SQLITE PCL Database

Simple Example : Think of a classroom like a group of students. Each group (or classroom) can have multiple students. For example, “Class A” can have Alice, Bob, and Emma as students. But Alice only belongs to “Class A” — she can’t be in “Class B” at the same time. We will be adding this

Dotnet MAUI One To One Relation SQLITE PCL Database

We will be adding this 3 packages inside our project App.xaml.cs App.xaml PersonPage.xaml PersonPage.xaml.cs PersonViewModel.cs Now we will create 2 tables Person and Password Tables Person.cs Password.cs UserDatabase.cs Full source code Post Views: 118

Dotnet MAUI SQLite Database basic CRUD operation

Add this 2 plugins inside the app https://www.nuget.org/packages/SQLitePCLRaw.bundle_green/ https://www.nuget.org/packages/sqlite-net-pcl/ MainPage.xaml MainPage.xaml.cs ClassRoomViewModel.cs Now let’s create a item or the table that needs to be inserted to database ClassRoomItem.cs Now creating the database ClassRoomDatabase.cs Finally App.xaml.cs Here’s the full source code Post Views: 208

Dotnet MAUI zip and unzip files with AES security and Password

We are using : https://github.com/icsharpcode/SharpZipLib Library for Zipping and Unzipping the Files inside our dotnet maui project. MainPage.xaml MainPage.xaml.cs MainPageViewModel.cs Make sure you have setup Media integration inside your Dotnet maui project for taking camera photo. https://learn.microsoft.com/en-us/dotnet/maui/platform-integration/device-media/picker?tabs=android Post Views: 1,983

Dotnet MAUI Open CV Face Detection

Step 1 : Plugins to add https://github.com/takuya-takeuchi/UltraFaceDotNet Step 2 : Files to be downloaded .bin and .param https://github.com/Linzaer/Ultra-Light-Fast-Generic-Face-Detector-1MB/tree/master/ncnn/data/version-RFB Step 3 : Add this downloaded files to newly created data folder of your project and don’t forget make it as Embedded Resource Step 4 : MainPage.xaml Step 5 : MainPage.xaml.cs Step 6: DetectService.cs Step 7: IDetectService.cs

Dotnet MAUI SMS OTP Generation using TwilioDotnet MAUI

MainPage.xaml.cs MainPage.xaml Post Views: 2,182

Dotnet MAUI Google Maps with custom Pins

Plugin : https://github.com/themronion/Maui.GoogleMaps/tree/maui MainPage.xaml MainPage.xaml.cs AndroidManifest.xml MainApplication.cs MauiProgram.cs Post Views: 3,620

Dotnet MAUI Google Wallet Passes and Server Config

Youtube Link : https://youtu.be/swYvmdlgWS0 Everything is based on server setup. Less code is required for dotnet maui Post Views: 1,744

Apple Passes Asp Net Core Web Api

WeatherForecastController.cs Don’t forget to add plugin : https://github.com/tomasmcguinness/dotnet-passbook Post Views: 2,028

Ads Blocker Image Powered by Code Help Pro

Ads Blocker Detected!!!

We have detected that you are using extensions to block ads. Please support us by disabling these ads blocker.