Book Image

C# 7 and .NET Core: Modern Cross-Platform Development - Second Edition

Book Image

C# 7 and .NET Core: Modern Cross-Platform Development - Second Edition

Overview of this book

If you want to build powerful cross-platform applications with C# 7 and .NET Core, then this book is for you. First, we’ll run you through the basics of C#, as well as object-oriented programming, before taking a quick tour through the latest features of C# 7 such as tuples, pattern matching, out variables, and so on. After quickly taking you through C# and how .NET works, we’ll dive into the .NET Standard 1.6 class libraries, covering topics such as performance, monitoring, debugging, serialization and encryption. The final section will demonstrate the major types of application that you can build and deploy cross-device and cross-platform. In this section, we’ll cover Universal Windows Platform (UWP) apps, web applications, mobile apps, and web services. Lastly, we’ll look at how you can package and deploy your applications so that they can be hosted on all of today’s most popular platforms, including Linux and Docker. By the end of the book, you’ll be armed with all the knowledge you need to build modern, cross-platform applications using C# and .NET Core.
Table of Contents (24 chapters)
C# 7 and .NET Core: Modern Cross-Platform Development - Second Edition
Credits
About the Author
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface

Chapter 16 - Packaging and Deploying Your Code Cross-Platform


  1. What are some of the dotnet commands for working with .NET Core?

    • dotnet new console, dotnet new web, dotnet new mvc, dotnet new webapi, dotnet new classlib, dotnet restore, dotnet test, dotnet run, dotnet pack, dotnet migrate, dotnet publish

  2. What are some of the operating systems that are supported by .NET Core?

    • Windows 7 SP1, Windows Server 2008 R2 SP1, OS X El Capitan (version 10.11) and macOS Sierra (version 10.12), Red Hat Enterprise Linux 7.2, Ubuntu 14.04 LTS, 16.04 LTS, Linux Mint 17, Debian 8.2, CentOS 7.1, Oracle Linux 7.1

  3. How many web apps can you host in Microsoft Azure for free?

    • 10

  4. Does Microsoft Azure only support Windows as a host operating system?

    • No. You can create Virtual Machines to host Linux, Docker, and other operating systems.

  5. What options does Microsoft Azure offer for data storage?

    • The following options are what Microsoft Azure offers for data storage:

      • Azure Storage for schema-less entities, blobs, and files

      • Azure Redis for distributed caching and general entity storage

      • Azure DocumentDb for schema-less JSON entities

      • Azure SQL Database for relational data

      • Azure Data Lake for hybrid storage and analysis