C# Mastery Hub
Home
Challenges
Discussion
Lessons
Core Topics
C# Fundamentals
Console Applications
Classes & OOP
Windows Forms
ASP.NET Core
SQL Server
VS & SQL Connection
RDLC Reports
.NET MAUI
Getting Started
Getting Started
Website Development
SEO Guide
Security
Project Workflow
Extra Topics
Cloud & Deployment
AWS Cloud
Deployment
About
Contact
Test Your Knowledge
.NET MAUI - Lesson 7: Connecting to API or DB Quiz
Answer all questions to test your understanding
1
Which class is used to make HTTP requests in .NET MAUI?
WebClient
HttpClient
HttpWebRequest
RestClient
2
Which database is commonly used for local storage in .NET MAUI?
SQL Server
MySQL
SQLite
PostgreSQL
3
What is the purpose of JsonSerializer in .NET MAUI?
To format JSON data
To convert JSON to objects and vice versa
To validate JSON
To compress JSON
4
Which NuGet package is used for SQLite in .NET MAUI?
System.Data.Sqlite
sqlite-net-pcl
Microsoft.EntityFrameworkCore.Sqlite
Both B and C
5
How do you handle network errors in a MAUI app?
Ignoring them
Using try-catch blocks
Using Task.Result
Using async void
6
What is the best practice for storing sensitive data in MAUI?
In appsettings.json
In a text file
In secure storage
In a database
Submit Quiz