I am new to DOTNET Maui, and was wondering if it is possible to use the local SQL Server, running on my PC, to supply data for my application, running on my Android.
This connection string works when I run the Maui app on my Windows Machine, but I get runtime errors when I run on an emulator, or my physical android.
//In the data context
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
{
optionsBuilder.UseSqlServer("Server=10.56.231.242,49172; Database=Gym;Trusted_Connection=True;");
}
I could be thinking about this completely wrong, and appreciate all your input, thanks!