
Learn to build a real-world ecommerce app with Xamarin Forms for Android and iOS, using a shared code base, RESTful APIs, and free plugins.
Demonstrates a real-world e-commerce app workflow: sign up and login, browse products, adjust quantities, add to cart, view cart total, place orders, and review order details.
Explore the course structure for building a real world ecommerce app: configure RESTful APIs, test endpoints with Postman, import assets to Android and iOS, and access APIs on mobile.
Download and uncompress the project, then open it in Visual Studio to learn how to consume the web APIs in a Xamarin Forms app.
Create and configure an Azure web app for a real world ecommerce app, including setting up a resource group, choosing a runtime stack, and publishing the web API.
Create and configure an Azure SQL database, set up a new server with an admin login, enable Azure services firewall rules, and publish your web api to Azure.
Publish your web API to Azure by configuring the Azure SQL connection string, importing the public profile, and deploying with Visual Studio; the deployment completes and opens in the browser.
View data in the Azure secret service by signing into the SQL database with the same admin credentials, access all tables, and prepare to add data in the next section.
Seed data in Azure SQL database by running a script to insert records into the categories and politics tables, preparing the database for consuming restful APIs.
Explore API documentation for ecommerce by importing the API documentation file into Postman and navigating accounts, categories, complaints, products, shopping cart, and orders.
Test register and login endpoints using Postman, supply user data in the request body, and obtain an access token, expiration time, and user ID to access secured endpoints.
Test the categories endpoints by obtaining an access token via login, then call the get categories request with an authorization header to fetch the SQL-based category list.
Explore testing product endpoints, including get product by id, get product by category, and get trending products, and learn to secure requests with access tokens.
test shopping cart endpoints by adding items, checking cart total price, retrieving cart items and item counts, and clearing the cart, using postman requests, access tokens, and user IDs.
Place orders using the place order endpoint with the user access token and details. Then inspect order details, clear the shopping cart, and retrieve orders by user.
Explore the complaint endpoint as a post request that registers user issues, sending a query through user-friendly entry controls in Xamarin Forms, and consuming these endpoints in the app.
Create a blank Xamarin.Forms project by installing the studio, selecting the blank template, naming the project, and targeting Android and iOS within a multi-project solution.
Debug a Xamarin.Forms application by deploying to an Android device or emulator, verify the app runs, and learn to test iOS and Android targets, noting mac requirements for iOS debugging.
Learn how the essential preferences plugin stores data in key-value storage and why it’s ideal for simple data like login access tokens, avoiding extra app size and performance costs.
Wire an entry and a button to save the username into preferences using the set method with a key. Retrieve the stored username from preferences in the next lesson.
Retrieve the username from preferences using the get method with the username key and a default value. Display the retrieved value in a label when pressing the retrieve button.
Download the assets folder, switch to the Android project to access Android images, then use the iOS resources folder to work with edited images and continue to the next lesson.
Create account models in the Xamarin Forms e-commerce app, implementing register and login API interactions using Postman and public model classes with properly mapped properties.
Add the middle classes for accounts, categories, and products, and add properties to the category and product classes. Test endpoints with postman, including get product by category and trending product.
Create a model for shopping cart items and subtotal, and configure add-to-cart, get shopping cart items, and clear cart endpoints using Postman in a Xamarin Forms real-world ecommerce app.
Create model classes for orders and complaints in a Xamarin Forms app, wiring Postman endpoints and responses to define order and complaint structures.
Register user method builds a user object with name, email, and password, then posts it as json to the server asynchronously using json.net and http client.
Learn why converting registry class to a static class lets you access the registered user method without an instance, with all methods defined as static, and preview the login method.
Implement a login method to obtain an access token, parse the response, and store the token, expiration time, user id, and username in application preferences.
Create an app settings subclass with a static string field to hold endpoints. Centralize endpoints for register and logging methods to avoid duplication by concatenating endpoints through the settings class.
Fetch categories in a real-world ecommerce app using a bearer token, retrieving the access token from preferences, calling the categories API, and converting the response into category objects.
Develop a get product by id endpoint in a Xamarin forms ecommerce app, wiring a get request in Postman and returning a single product object.
Learn to implement the get product by category endpoint by making a GET request in postman, passing a category ID to return a list of products in that category.
Learn to fetch trending products using a get request with postman. Modify the endpoint and method to return a list of trending products for the Xamarin Forms ecommerce app.
Learn to add items to the cart with a post request, passing cart data to the add to cart endpoint and using an access token in the studio.
Set up an endpoint that accepts a user ID to retrieve the cart subtotal and return the shopping cart total price, using a method that returns a subtotal value.
Learn how to retrieve shopping cart items using a get endpoint in Postman by passing a user id, returning a list of shopping cart items in a Xamarin.Forms app.
Build a get endpoint to return the total items in a user's shopping cart, using Postman and adapting the existing subtotal method in the Xamarin Forms app.
Implement a delete endpoint to clear a user's shopping cart by user ID in Xamarin Forms. Return a Task<bool> indicating success (true) or failure (false).
Implement a post request to the place order endpoint in the Xamarin Forms app, sending an order object and parsing the order response to extract the order ID.
Implement the orders by user endpoint using Postman, accepting a user ID to fetch and return a list of orders for that user.
Implement an endpoint to fetch order details in a Xamarin Forms app, tested with postman. Rename method to get order details, pass id, and return a list of order details.
Test the register complaint endpoint with Postman, rename the method to register complaint, and pass the complaint object through the controller in the studio.
Create and wire up a sign up page in a Xamarin Forms ecommerce app, sending name, email, and password to the API service and showing success or error alerts.
Implement login functionality in a Xamarin Forms ecommerce app by wiring the login page to a method that takes email and password and navigates to the homepage on success.
Implement a one-time login by storing the access token in isolated storage using preferences, and auto sign-in on app reopen by retrieving the token.
Welcome to the Real World Furniture Store App Development course with Xamarin Forms.
I'm Asfend Microsoft Most Valuable Professional (MVP) as well as the First Xamarin University Most Valuable Professional at Udemy and in this course I'll explain you every single aspect of real world application in Xamarin Forms. Yeah I know there're lot of courses over internet but there's never a single guide that teaches you how to create a real world application. And the purpose of this course is to train you to build your own Real world Application in Xamarin Forms.
This courses teaches you how to code using Xamarin Forms and build beautiful Android and iOS apps by using Xamarin Forms.
By getting this course, you can be rest assured that the course is carefully thought out and edited. And I'm always happy to answer student questions.
So by the end of the course, you'll completely understand:
How to build a real world application with xamarin forms.
Consume Restful Api's.
Test Local Hosted Api's inside your Mobile Device.
Consume Nuget's in xamarin forms.
Create a Complete Real World (Furniture Store) Application in Xamarin Forms From Scratch to End.
How to make asynchronous API calls, store and retrieve data from the api, and use the JSON format for server communication.
Make application user friendly.
Remember...
After this course you'll get all the Xamarin Real World Application Source Code and along with this I'll also share a Complete Backend Code for the Rest Api's with you.
In this course I've used the Microsoft Azure for Api Deployment which means you must have a Microsoft Azure Account to publish the web api's.
So what are you waiting for? Click the buy now button and join the Complete Real World Furniture Store App Development Course with Xamarin Forms.