Posts

Showing posts with the label #xamarin

Developer Alert: .NET 8 Can’t Target API 35 — Google Play Deadline Approaches

Image
Stuck at API Level 34? .NET 8 Developers Hit a Wall with Android 35 – Frustration, Fixes & Future If you're a .NET MAUI or Xamarin developer working with .NET 8 , chances are you’ve run into the dreaded wall of API Level 35 . You’ve set everything up, upgraded your Android SDK, and yet your app just won’t target the latest Play Store requirement. You're not alone. Join our exclusive WhatsApp group for Xamarin and .NET MAUI developers to connect with experts, share insights, and get help with your projects. Whether you're a beginner or an experienced developer, this group is the perfect place to enhance your skills and collaborate with the community. Please, support my blog by clicking on our sponsors ad! 🚨 The Problem: .NET 8 Doesn't Support API Level 35 As per Google’s Play Store policy , all new apps and updates must target API level 35 by August 31, 2025 . However, .NET 8 only supports Android API Level 34 . ...

.NET MAUI - Storing Data Locally Using SQLite and Preferences

Storing Data Locally Using SQLite and Preferences in .NET MAUI In modern mobile applications, data storage is essential for providing offline capabilities, caching data, or saving user preferences. .NET MAUI offers several ways to store data locally, two of the most popular being SQLite and Preferences . In this blog, we'll dive deep into both approaches, explaining how they work, their use cases, and how to implement them in your .NET MAUI applications. Join our exclusive WhatsApp group for Xamarin and .NET MAUI developers to connect with experts, share insights, and get help with your projects. Whether you're a beginner or an experienced developer, this group is the perfect place to enhance your skills and collaborate with the community. Please, support my blog by clicking on our sponsors ad! 1. Storing Data with SQLite SQLite is a lightweight, serverless, self-contained database engine that is commonly used in mobile applications. .NET MAUI supports SQLite th...

Publishing Your App to Android and iOS Stores

Publishing Your App to Android and iOS Stores Publishing a mobile app on both Android and iOS platforms is an essential step in the app development lifecycle. .NET MAUI allows you to build cross-platform applications for Android and iOS, and in this blog, we will cover the detailed steps for publishing your app to both the Google Play Store and Apple App Store. Join our exclusive WhatsApp group for Xamarin and .NET MAUI developers to connect with experts, share insights, and get help with your projects. Whether you're a beginner or an experienced developer, this group is the perfect place to enhance your skills and collaborate with the community. Please, support my blog by clicking on our sponsors ad! This blog will guide you through: How to generate an APK or AAB file for Android. How to generate an IPA file for iOS. How to use Transporter to upload your app to the App S...

How the .NET MAUI Project Structure Works

Image
📦 How the .NET MAUI Project Structure Works – A Beginner's Guide .NET MAUI (Multi-platform App UI) is the evolution of Xamarin.Forms, designed to simplify cross-platform development by unifying Android, iOS, macOS, and Windows apps into a single project structure. Unlike Xamarin, where developers needed to juggle multiple projects per platform, .NET MAUI introduces a cleaner and more maintainable single-project approach . This blog will walk you through the entire structure of a MAUI project in detail, breaking down each part so you understand exactly what's happening under the hood. Join our exclusive WhatsApp group for Xamarin and .NET MAUI developers to connect with experts, share insights, and get help with your projects. Whether you're a beginner or an experienced developer, this group is the perfect place to enhance your skills and collaborate with the community. Please, support my blog by clicking on our sponsors ad! 📁 Solution Explorer: First Loo...

.Net MAUI - MVVM Pattern for Cleaner Architecture

Image
Applying the MVVM Pattern for Cleaner Architecture in .NET MAUI Building cross-platform apps in .NET MAUI is exciting — but if your code isn’t organized well, you’ll quickly end up with tangled spaghetti. That’s where MVVM (Model-View-ViewModel) comes to the rescue. Join our exclusive WhatsApp group for Xamarin and .NET MAUI developers to connect with experts, share insights, and get help with your projects. Whether you're a beginner or an experienced developer, this group is the perfect place to enhance your skills and collaborate with the community. Please, support my blog by clicking on our sponsors ad! In this blog, we’ll: Cover both basic and advanced MVVM implementation Write and explain a reusable BaseViewModel Learn how to use async APIs, loading indicators, and commands Help you prepare for interviews with a curated question list at the end 🎯 At the end of the blog, you'll find MVVM intervi...

Managing Xcode Versions for Xamarin and .NET MAUI on macOS

Image
Why Do You Need Two Xcode Versions? Xamarin: Many Xamarin projects rely on older Xcode versions for compatibility. For instance, Xamarin might require Xcode 15 or earlier for building iOS applications. .NET MAUI: The latest versions of .NET MAUI require Xcode 16 or higher to ensure compatibility with the latest iOS SDKs. Since macOS does not allow simultaneous use of multiple Xcode installations without manual intervention, switching between versions becomes necessary. Please, support my blog by clicking on our sponsors ad! Installing and Managing Two Xcode Versions Step 1: Download the XcodesApp Visit the release page for XcodesApp v2.4.1b30 . ...

Interview Success: Must-Know Xamarin and .NET MAUI Questions

Image
Introduction In the world of mobile development, Xamarin and .NET MAUI are powerful frameworks for building cross-platform applications. As developers delve into these technologies, they often face a series of common questions during interviews or while exploring best practices. This blog provides concise answers to frequently asked questions about Xamarin and .NET MAUI, covering various aspects from basic concepts to advanced topics. Whether you’re preparing for an interview or looking to sharpen your knowledge, these insights will help you navigate the intricacies of these frameworks with ease. Please, support my blog by clicking on our sponsors ad! 1. Introduce yourself? This is where you would introduce yourself and provide a brief overview of your background, experience, and expertise in Xamarin and .NET MAUI. 2. What is Xamarin? Xamarin is an open-source platform for building modern and performant applications for iOS, Android, and Windows with .NET. ...

Essential UI Components for Ecommerce Apps in .NET MAUI / Xamarin (MVVM)

Image
  Please, support my blog by clicking on our sponsors ad! Introduction In today's digital age, creating a seamless and visually appealing ecommerce application is crucial for attracting and retaining customers. As a developer, leveraging the right tools and frameworks can make a significant difference in the efficiency and quality of your app development process. .NET MAUI and Xamarin are two powerful frameworks that enable you to build cross-platform applications with a single codebase. In this blog, we will explore the UI design for an ecommerce app using .NET MAUI and Xamarin, focusing on the essential pages that make up the core of any ecommerce platform. Below are the pages, click on them to get the code: Authentication Dashboard Product Category View Product Checkout Page ...

Seamless Text Extraction from Images Using .NET MAUI and Xamarin

Image
  Please, support my blog by clicking on our sponsors ad! Introduction Optical Character Recognition (OCR) is a technology that converts different types of documents, such as scanned paper documents, PDF files, or images taken by a digital camera, into editable and searchable data. OCR is widely used for digitizing printed documents, enabling the text to be edited, searched, and stored more compactly. In this blog, we will walk through the implementation of an OCR feature in a .NET MAUI and Xamarin application. We will focus on setting up the necessary packages, configuring the Android manifest, and writing the code to extract text from images using the Plugin.Maui.OCR package. Step-by-Step Implementation Prerequisites Ensure you have .NET version 8 installed. Update the Microsoft.Maui.Controls and Microsoft.Maui.Controls.Compatibility packages to version 8.0.21. Install the Plugin Install the Plugin.Maui.OCR package version 1.0.11 in your project using the following command: d...

Keep Your App Up-to-Date: Version Tracking in Xamarin and .NET MAUI

Image
Please, support my blog by clicking on our sponsors ad!   Introduction Ensuring that users have the latest version of your app is crucial for providing the best user experience and security. In this blog post, we will discuss how to implement version tracking in Xamarin and .NET MAUI applications for both Android and iOS platforms. By the end of this guide, you will be able to check if there is a new version available and prompt users to update their apps. Setting Up Version Tracking To implement version tracking, we need to install the following NuGet packages: HtmlAgilityPack (1.11.61) Jurassic (3.2.6) Xamarin.Essentials (1.7.5) Xam.Plugin.LatestVersion (1.1.2) Code Explanation Let's dive into the code implementation for both Android and iOS. App.cs (for Android) public partial class App : Application { public App() { InitializeComponent(); MainPage = new AppShell(); } protected async override void OnStart() { try { ...