Sunny Mukherjee
Learn Microsoft Visual Studio App CenterWith Xamarin Forms
Sunny Mukherjee
Tampa, FL, USA
ISBN 978-1-4842-4381-7e-ISBN 978-1-4842-4382-4
© Sunny Mukherjee 2019
Standard Apress
Trademarked names, logos, and images may appear in this book. Rather than use a trademark symbol with every occurrence of a trademarked name, logo, or image we use the names, logos, and images only in an editorial fashion and to the benefit of the trademark owner, with no intention of infringement of the trademark. The use in this publication of trade names, trademarks, service marks, and similar terms, even if they are not identified as such, is not to be taken as an expression of opinion as to whether or not they are subject to proprietary rights.
While the advice and information in this book are believed to be true and accurate at the date of publication, neither the authors nor the editors nor the publisher can accept any legal responsibility for any errors or omissions that may be made. The publisher makes no warranty, express or implied, with respect to the material contained herein.
Distributed to the book trade worldwide by Springer Science+Business Media New York, 233 Spring Street, 6th Floor, New York, NY 10013. Phone 1-800-SPRINGER, fax (201) 348-4505, e-mail [email protected], or visit www.springeronline.com. Apress Media, LLC is a California LLC and the sole member (owner) is Springer Science + Business Media Finance Inc (SSBM Finance Inc). SSBM Finance Inc is a Delaware corporation.

Dedicated to my late father, Dr. Arup Mukherjee

../images/470142_1_En_BookFrontmatter_Figb_HTML.jpg

My father, Dr. Arup Kumar Mukherjee

12/02/1953 – 12/17/2018

I am dedicating my first book to my dear and late father, Dr. Arup Kumar Mukherjee. I started writing this book in mid-2018 as part of a bigger project. My father knew about this project from the beginning, gave me solid advice, and encouraged me from start to finish. He passed away just a day after I finished writing this book, on December 17, 2018. It will be my life-long regret that I could not tell him that I finally finished this book. And I regret that I could not give him the happiness he deserved because, to my mother and me, he left this life at a young age before he could enjoy it with us fully.

I want to share a few things about my father. Naturally, every son will say that their father is the greatest. As a father, he taught me mathematics and science, fought for me whenever I ran into trouble in life, helped me win multiple spelling bee competitions at school, helped me attain full-tuition scholarships, and taught me solid principles and ethics to be a good human being later in life. But I know objectively my father is an incredible soul, not from my experience, but from the words and experiences of those he touched in his life. He started his education at the Indian Institute of Technology in Kanpur, India. He completed his studies with the highest honors while fighting for student rights. He even spoke to the Prime Minister of India, Indira Gandhi, on behalf of student welfare at IIT. He married my mother when he was only 25. He moved to the U.S. soon after. With only a few dollars in his pocket, he started our lives in Knoxville, Tennessee where he was allowed to skip his Masters and begin his Ph.D in Management Science from the University of Tennessee. Later, our family moved throughout the country and eventually settled in Pensacola, Florida. I grew up in Pensacola and saw my father’s biggest impact when he became a full professor and the Chairperson of the Management Information Systems department at the University of West Florida. He wrote several journals and research articles on topics like Management Science and Decision Support Systems. He continued the practice of his youth, that of fighting for others, by inspiring his students to stand on their own two feet, utilize their talents, and pursue their dreams.

Unfortunately, both my mother and my father struggled during the last few years of his life due to his multiple health problems; my mother was his constant caretaker. He lost his ability to see and take care of himself, so he fell back on using his mind the most during this time. It was during this time also that I finished my MBA and I was brainstorming multiple ideas and projects. I shared some of those ideas with my father. He brainstormed with me, steered me in the right direction, gave me words of wisdom and constructive criticism, and helped me grow my mind. He started seeing himself within me. I would eventually go on to write my first book based on the knowledge I learned on my own in mobile development, DevOps, and cloud services. Even though I could not give him all the joy he deserved at a late age, I hope to keep his name alive in this book and in future projects to come.

My late father was more than just a father. He was my mentor, my friend, and my confidant. Words cannot express how much I love him and how much I will miss his advice and his jokes. Consequently, I dedicate this book to the most intelligent, wisest, most compassionate, and most patient man I have ever known, my late father, Dr. Arup Mukherjee.

Introduction

Welcome! I would like to express my sincerest appreciation to you for picking up this book. Have you read about Visual Studio App Center in articles lately? Have you been working on mobile development technologies for a while? Are you interested in a single cloud solution and saving money? If so, you are holding the right book. Visual Studio App Center is Microsoft’s all-in-one, holistic DevOps cloud solution for mobile development, including building your app, distributing it, collecting crash data and events, sending notifications to your users, and testing your app in the cloud. Learn Visual Studio with Xamarin Forms is a practical, step-by-step exercise in reaping the full benefits of Visual Studio App Center. You will get access to a real Xamarin Forms mobile app so you can integrate directly into Visual Studio App Center. Here is what you can expect from this book.

What You’ll Learn

You’ll learn the following from this book:
  • How to set up continuous builds on iOS and Android

  • How to set up continuous delivery to your developers and testers

  • How to collect crash events from your users to improve your app

  • How to collect analytics to understand your users better

  • How to communicate with your users with push notifications on both iOS and Android

  • How to handle push notifications in your code in real time

  • How to save money on development by testing your app against hundreds of different devices, operating systems, and form factors in the cloud

Microsoft has invested a lot of time and money into the Xamarin platform. It acquired Xamarin and aggregated its many individual applications into a new cloud service, App Center. At around the same time, Microsoft announced its intention to acquire GitHub too. I came up with the idea to write this book because all these major changes and acquisitions were taking place and no single resource existed with step-by-step examples, except for a few technical articles from Microsoft. As a result, I wanted to write a book to help other mobile developers like myself learn how App Center (with a sprinkle of Xamarin Forms, GitHub, and Azure DevOps) can make their lives easier.

I have spent most of my career in multiple software areas from web to desktop to mobile to cloud. My motivation for writing this book was not simply to create a mobile application and integrate it with App Center. I am an avid reader myself in various areas, ranging from astronomy to spirituality to cooking to programming. I have read plenty of good and bad writing. And I appreciate books that show me practical applications and not simply theoretical knowledge.

Therefore, this book will teach you practical, real-life examples of each feature from App Center and will show you how to use each feature in a real mobile application designed in Xamarin Forms. After going through the exercises, you can go back to your office or your team, crush your mobile project, and shine in your next professional review! Without further ado, let’s begin the journey.

Who Is the Intended Audience?

This book is clearly for a person with a technical mindset and/or background, meaning the reader may be software developer, architect, tester, or a technical manager. Chapter 1 explains the cloud service and the benefits. The later chapters dive into great technical detail about each feature. Therefore, this book is meant for a reader who can follow along with the code, the settings, and the configuration of various services. It is not intended for a casual reader. It was written for technical users by a technical user.

Furthermore, most of the book is devoted to integrating, configuring, and using Visual Studio App Center in your app. As a result, if you are coming from a mobile development background in Xamarin.iOS, Xamarin.Android, Xamarin.Forms, Objective-C/Swift, React Native, Cordova, or Unity, you will learn how to use App Center because most of the customization is agnostic to the technology. But since I needed to make App Center work with an actual app, I chose Xamarin.Forms because my mobile development background is in Xamarin. Therefore, even if you do not know C# or Xamarin.Forms, you can learn from the concepts and tailor it to your preferred technology because only the syntax will be different.

But if you are coming from a Xamarin.Forms background, I do make a few assumptions. First, I assume you can program in C# and the .NET Framework. Second, I assume you can program in the Xamarin.Forms framework. This book is not about teaching you either C# or Xamarin.Forms. It is about teaching you Visual Studio App Center and making it work with a sample Xamarin.Forms mobile app.

Table of Contents

Index 325

About the Author and About the Technical Reviewer

About the Author

Sunny Mukherjee
../images/470142_1_En_BookFrontmatter_Figc_HTML.jpg

currently works as a lead developer. He has close to 15 years of experience in IT where he has worked on multiple platforms, including web, desktop, mobile, and cloud. He has worked in multiple industries, including healthcare, finance, retail, and defense. His other expertise includes software architecture, business plans and presentations, idea brainstorming and pitching, and fictional works. In his free time, he loves reading about astronomy, following the latest science and technology news, riding his bike, traveling to the beach, taking photographs, cooking, meditating, working out, and watching movies. He routinely shares important articles on his LinkedIn profile about .NET, new technologies, new discoveries, and career tips.

 

About the Technical Reviewer

Afzaal Ahmad Zeeshan
../images/470142_1_En_BookFrontmatter_Figd_HTML.jpg

is a computer programmer from Rabwah, Pakistan. He likes .NET Core for regular day development and has experience with cloud, mobile, and API development. Afzaal Ahmad has experience with the Azure platform and likes to build cross-platform libraries and software with .NET Core. He has been recognized as a Microsoft MVP for his work in the field of software development and has been named a CodeProject MVP and C# Corner MVP for technical writing and mentoring.

 
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.133.82.244