<< Previous Next >>

Cross-Platform Modern Apps with VS Code Combine the power of EF Core, ASP.NET Core and Xamarin.Forms (Ockert J. du Preez)(Z-Library)

Author: Ockert J. du Preez

C/C++/C#

This book explores VS Code's core features, including multi-language IDE, rapid programming, and innovative front-end development, to show readers how to design and debug modern online and cloud applications. You will learn how to build native apps, spend less time working with the platform, and focus more on the creative aspects of generating a smart UI. While you learn and practise on VS Code, you build solid grounds on robust server-side programming. You will learn how to use VS Code to develop your javascript, typescript, nodejs, or angular app more quickly and easily. Not only an application development environment, but VS Code also enables you to create microservices, extensions, and cloud applications. Not only can you construct applications with VS Code, but you can also develop microservices, extensions, and cloud applications. Throughout the book, you get trained on Entity Framework Core, Razor, Xamarin.Forms and numerous APIs. This book not only prepares you to design multi-platform applications or work with Visual Studio Code, but it also prepares you to be a great developer who can alter the code, debug issues, and manage the many versions on your own. What you will learn ● Engage Razor and ASP.NET Core to build dynamic web apps. ● Get a practical edge with Xamarin.Forms to experience the native development. ● Explore Entity Framework Core for building data-rich applications. ● Create a custom Visual Studio code extension for your application. ● Use a variety of APIs, such as NodeJS and Python, in your implementations.

📄 File Format: PDF
💾 File Size: 7.8 MB
10
Views
0
Downloads
0.00
Total Donations

📄 Text Preview (First 20 pages)

ℹ️

Registered users can read the full content for free

Register as a Gaohf Library member to read the complete e-book online for free and enjoy a better reading experience.

📄 Page 1
(This page has no text content)
📄 Page 2
(This page has no text content)
📄 Page 3
Cross-platform Modern Apps with VS Code Combine the Power of EF Core, ASP.NET Core and Xamarin.Forms to Build Multi- platform Applications on Visual Studio Code Ockert J. du Preez www.bpbonline.com
📄 Page 4
FIRST EDITION 2022 Copyright © BPB Publications, India ISBN: 978-93-55510-426 All Rights Reserved. No part of this publication may be reproduced, distributed or transmitted in any form or by any means or stored in a database or retrieval system, without the prior written permission of the publisher with the exception to the program listings which may be entered, stored and executed in a computer system, but they can not be reproduced by the means of publication, photocopy, recording, or by any electronic and mechanical means. LIMITS OF LIABILITY AND DISCLAIMER OF WARRANTY The information contained in this book is true to correct and the best of author’s and publisher’s knowledge. The author has made every effort to ensure the accuracy of these publications, but publisher cannot be held responsible for any loss or damage arising from any information in this book. All trademarks referred to in the book are acknowledged as properties of their respective owners but BPB Publications cannot guarantee the accuracy of this information. www.bpbonline.com
📄 Page 5
Dedicated to My beloved Family: Elmarie Michaela Winton Björn
📄 Page 6
About the Author Ockert J. du Preez is a passionate coder and always willing to learn. Having been in the training and coding industry, he already has an advantage over most as he comes with a wealth of experience. He has written hundreds of developer articles over the years detailing his programming quests and adventures. These can be found on CodeGuru, Developer.com, and Database Journal. He knows a broad spectrum of development languages including C++, C#, VB.NET, JavaScript, and HTML. He has written the following books: Visual Studio 2019 In-Depth (BPB Publications) JavaScript for Gurus (BPB Publications) He was the Technical Editor for Professional C++, 5th Edition as well as C++ Software Interoperability for Windows Programmers. He was a Microsoft Most Valuable Professional for .NET (2008–2017).
📄 Page 7
About the Reviewer Richard Newcombe has 25 years of experience in Big Data analysis and a strong background in Visual studio application development, as well as other packages. He has also studied in numerous fields. Software development has remained his strongest achievement. With a large collection of historical and current system and software books, reviewing is just the next step.
📄 Page 8
Acknowledgements There are a few people I would like to thank for the continued and ongoing support they have given me during the writing of this book. First and foremost, I would like to thank my family for continuously encouraging me to write and to write this book — I could have never completed this book without their support. I am grateful for all the companies that I have worked for, and all the technical websites that I have written for. I also like to thank the team at BPB Publications for being supportive throughout the writing process.
📄 Page 9
Preface With the launch of Visual Studio Code, it has become the most loved platform to build cross-platform apps, almost replacing Visual Studio to an extent. This book teaches how to build and debug modern web and cloud applications using VS Code by exploring the key functionalities such as powerful multi-language IDE, speedy development, and creative front-end development. This book teaches everything about this glorified text editor, right from its IntelliSense for auto code completion, instant code debugging, in-built Git commands, hundreds of extensions, multi-platform site hosting, etc. You will learn to practice building native apps, spend less time working with the platform, and more on the creativity of developing smart UI and strong server-side development. You will explore how to simplify the development of your JavaScript, typescript, or any NodeJS or an angular application on VS Code without any hassle. Not just an application, you can develop microservices, extensions, cloud apps on VS Code. By the end of this book, you don't just get yourself skilled in using VS Code but you also develop sound proficiency in editing the codes, debugging the errors, and managing the different versions all by you alone. This book is divided into 13 chapters. The details are listed below. Chapter 1 compares Visual Studio Code to Visual Studio Code. It then explores everything that can be done with Visual Studio Code and why it is the best tool to use for cross-platform apps. Chapter 2 is where all the fun starts! Learn how to set up Visual Studio Code according to your needs and learn the User Interface. Most importantly, you will learn how to set up extensions and create projects. Chapter 3 starts with building Apps. Blazor is the first new framework covered inside this book. This Chapter explains what Blazor is and how to use it to create awesome Web User Interfaces Chapter 4 explains how Razor (a simplified Web Application Programming Model) can be used with ASP.NET Core to create beautiful
📄 Page 10
websites. Chapter 5 explores the wonderful world of Xamarin.Forms. It starts quick and easy and progressively gets more advanced until you can build any Cross-Platform Mobile App. Chapter 6 Angular is a great Development Platform for developing Apps for Mobile and Desktop. This chapter delves into Angular and explains it step by step. Chapter 7 is the last in Section 2. It introduces the Entity Framework Core and explores its powers and abilities. Chapter 8 continues where Chapter 7 ended. Chapter 8 delves deeper into Entity Framework Core. It inspects other Databases and explains how they can be used with Entity Framework Core. Chapter 9 explores different possibilities with Visual Studio Code. You will learn how to develop Web Applications and how to use Visual Studio Code for PowerShell development. You will also learn how to create C# Functions in Azure and create JavaScript applications. Chapter 10 Services are crucial to any system. This chapter explores Dapr, Kafka, and Azure Event Hubs. Furthermore, it explains how to create a .NET Core Service and a Background Service via Visual Studio Code. Chapter 11 After an application has been developed, it must be deployed. Chapter 11 explores Application Deployment options including Azure Containers, Azure Kubernetes, Azure DevOps repositories, GitHub, and CI/CD Deployment. Chapter 12 explains how to write Non-Microsoft Apps in Visual Studio Code, these include Python, Node.JS, Go, and Java. Chapter 13 The first chapter in the last section of this book starts with Creating Custom Extensions. This chapter explains the need for Extensions, how to set them up and configure them. Lastly, it shows how to manage Extensions in Visual Studio Code. Appendix A explores the Remote Development possibilities in Visual Studio Code, Machine Learning, and Artificial Intelligence. Although this Appendix tries to explain all the intricacies involved, it can only explain so much to give you a proper start, at least.
📄 Page 11
Code Bundle and Coloured Images Please follow the link to download the Code Bundle and the Coloured Images of the book: https://rebrand.ly/uw6a05m The code bundle for the book is also hosted on GitHub at https://github.com/bpbpublications/Cross-Platform-Modern-Apps- with-VS-Code. In case there's an update to the code, it will be updated on the existing GitHub repository. We have code bundles from our rich catalogue of books and videos available at https://github.com/bpbpublications. Check them out! Errata We take immense pride in our work at BPB Publications and follow best practices to ensure the accuracy of our content to provide with an indulging reading experience to our subscribers. Our readers are our mirrors, and we use their inputs to reflect and improve upon human errors, if any, that may have occurred during the publishing processes involved. To let us maintain the quality and help us reach out to any readers who might be having difficulties due to any unforeseen errors, please write to us at : errata@bpbonline.com Your support, suggestions and feedbacks are highly appreciated by the BPB Publications’ Family. Did you know that BPB offers eBook versions of every book published, with PDF and ePub files available? You can upgrade to the eBook version at www.bpbonline.com and as a print book
📄 Page 12
customer, you are entitled to a discount on the eBook copy. Get in touch with us at: business@bpbonline.com for more details. At www.bpbonline.com, you can also read a collection of free technical articles, sign up for a range of free newsletters, and receive exclusive discounts and offers on BPB books and eBooks.
📄 Page 13
Piracy If you come across any illegal copies of our works in any form on the internet, we would be grateful if you would provide us with the location address or website name. Please contact us at business@bpbonline.com with a link to the material. If you are interested in becoming an author If there is a topic that you have expertise in, and you are interested in either writing or contributing to a book, please visit www.bpbonline.com. We have worked with thousands of developers and tech professionals, just like you, to help them share their insights with the global tech community. You can make a general application, apply for a specific hot topic that we are recruiting an author for, or submit your own idea. Reviews Please leave a review. Once you have read and used this book, why not leave a review on the site that you purchased it from? Potential readers can then see and use your unbiased opinion to make purchase decisions. We at BPB can understand what you think about our products, and our authors can see your feedback on their book. Thank you! For more information about BPB, please visit www.bpbonline.com.
📄 Page 14
Table of Contents Section - I: Introductory Concepts Introduction 1. Comparing Visual Studio Code to Visual Studio Structure Objectives Differences between Visual Studio and Visual Studio Code Visual Studio Visual Studio 2019 Preview Visual Studio 2019 Community Visual Studio 2019 Professional Visual Studio 2019 Enterprise Visual Studio Code History of Visual Studio Code Reasons to choose Visual Studio Code Visual Studio Code is open-source Minimal design Simplicity Extensibility Visual Studio Code adaptation Visual Studio Code use cases Coding use cases Remote development Remote SSH Remote containers Remote WSL Non-coding use cases Browse databases Message colleagues or friends Time management Collaboration use cases Conclusion
📄 Page 15
Points to remember Questions Answers Key terms References 2. Up and Running with VS Code Structure Objectives Installing Visual Studio Code A quick look at the IDE Menu bar The File menu The Edit menu The Selection menu The View menu The Go menu The Run menu The Terminal menu The Help menu Activity bar and side bar Explorer Search Source control Run and debug Extensions Editor groups Status bar Visual Studio Code IntelliSense Customizing Visual Studio Code Color themes The File icon theme Getting color themes from the marketplace Visual Studio Code extensions Installing extensions Creating projects with Visual Studio Code Conclusion
📄 Page 16
Points to remember Questions Answers Key terms Section - II: Building Apps 3. Building Web UIs with Blazor Introduction Structure Objectives Explaining Blazor Introducing WebAssembly Objectives of WebAssembly Advantages of WebAssembly Disadvantages of WebAssembly Hosting models Server-side Blazor (Blazor server) Installing Blazor Blazor layouts Blazor components UI frameworks Blazorise Installing Blazorise and getting it to work in Visual Studio Code MudBlazor Installing MudBlazor and getting it to work in Visual Studio Code Radzen Installing Radzen and getting it to work in Visual Studio Code Working with controls Blazorise MudBlazor Radzen.Blazor Handling forms JavaScript Interop Calling a JavaScript function from .NET Calling a .NET method from JavaScript
📄 Page 17
Dependency injection Conclusion Points to remember Questions Answers Key terms References 4. Building Websites with ASP.NET Core Razor Pages Introduction Structure Objective Razor Pages explained Creating Razor Pages web application Razor Page files The Pages folder The Shared folder The wwwroot folder Important files Page models View components in Razor Pages View component methods Search paths for views Invoking view components Dependency injection in Razor Pages Configuration injection Configuration in Razor Pages Default configuration appsettings.json Using forms in Razor Pages Caching in Razor Pages Conclusion Points to remember Questions Answers Key terms References
📄 Page 18
5. Building Cross-platform Mobile Apps with Xamarin.Forms Introduction Structure Objectives A quick introduction to Xamarin Native Xamarin.Forms explained Xamarin.Forms views Presentation views Command enabled views Value views Text editing views Activity indication views Collection views Xamarin.Forms layouts Single content layout Multiple children layout Adding interactivity to your Xamarin.Forms apps A quick note on .NET MAUI Conclusion Points to remember Questions Answers Key terms References 6. Building Web-Based Apps with Angular Introduction Structure Objective Angular explained Angular directives Components Structural directives NgIf NgFor NgSwitch Attribute directives
📄 Page 19
Angular expressions Benefits of Angular expressions Limitations Comparing Angular expressions to JavaScript expressions Angular data types Angular modules and controllers Modules Controllers Working with forms and angular Form foundation classes Reactive forms setup Template-driven forms setup Data binding in Angular Binding types and targets Angular services Practical exercise Adding the Angular extension to Visual Studio Code Making sure everything is installed Conclusion Points to remember Questions Answers Key terms References 7. Introducing Entity Framework Core Introduction Structure Objective A quick overview of Entity Framework Entity Framework architecture Data providers Entity client Object service Features of Entity Framework Entity Framework Core explained Getting started with Entity Framework Core in Visual Studio Code
📄 Page 20
Setting up site navigation Configuring the model(s) Configuring relationships and persisting data Querying data Displaying table information Conclusion Points to remember Questions Answers Key terms References Section III: Building More Complex Apps 8. Exploring the Database Providers in Entity Framework Core Introduction Structure Objective SQL Server SQLite SQL Server Compact EF Core in-memory database Azure Cosmos DB PostgreSQL MySQL Oracle Firebird Teradata Progress OpenEdge Microsoft Access Files FileContextCore Conclusion Points to remember Questions Answers Key terms References
The above is a preview of the first 20 pages. Register to read the complete e-book.

💝 Support Author

0.00
Total Amount (¥)
0
Donation Count

Login to support the author

Login Now

Recommended for You

Loading recommended books...
Failed to load, please try again later
Back to List