Book Image

.NET Core 2.0 By Example

By : Neha Shrivastava, Rishabh Verma
Book Image

.NET Core 2.0 By Example

By: Neha Shrivastava, Rishabh Verma

Overview of this book

With the rise in the number of tools and technologies available today, developers and architects are always exploring ways to create better and smarter solutions. Before, the differences between target platforms was a major roadblock, but that's not the case now. .NET Core 2.0 By Example will take you on an exciting journey to building better software. This book provides fresh and relevant content to .NET Core 2.0 in a succinct format that’s enjoyable to read. It also delivers concepts, along with the implications, design decisions, and potential pitfalls you might face when targeting Linux and Windows systems, in a logical and simple way. With the .NET framework at its center, the book comprises of five varied projects: a multiplayer Tic-tac-toe game; a real-time chat application, Let'sChat; a chatbot; a microservice-based buying-selling application; and a movie booking application. You will start each chapter with a high-level overview of the content, followed by the above example applications described in detail. By the end of each chapter, you will not only be proficient with the concepts, but you’ll also have created a tangible component in the application. By the end of the book, you will have built five solid projects using all the tools and support provided by the .NET Core 2.0 framework.
Table of Contents (16 chapters)
Title Page
Packt Upsell
Contributors
Preface
Index

Introduction to containers


Think of a container as just another process running in the machine; it's just that they offer a lot more isolation than a normal process does. So, we define a container as an isolated process. A container can have its own filesystem, own network IP address, own hostname, own registry, own unique resources and so on. A question that would come to mind is: Why Containers? In the modern world, where new software comes in and changes overnight, there are numerous challenges in:

  1. Discovering the software: There is no single point at which to find all software. A few are available as executables on the developer sites, a few in platform-specific application stores, a few as package managers, and so on and so forth.
  2. Installing the software: Software can be installed on specific OS, CPU architectures, OS versions, and build versions with the relevant prerequisites. Over a period of time, this becomes messy and confusing.
  3. Running the software: We have all faced the issue where...