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

What's coming in .NET Core 2.1


The preview version of .NET Core 2.1 is launched on February 27th 2018. We can start developing a .NET Core 2.1 application using Visual Studio 2017 15.6 Preview 6 or later, and also using Visual Studio Code. Let's see what is newly added to .NET Core 2.1.

  • Build performance: In .NET Core 2.1, build time performance has improved. CLI tools and MSBuild have improved and are much faster than before.
  • Minor version roll forward: We can run the .NET Core X.x application on later minor versions with the same major version range, such as .NET Core 2.1 applications on .NET Core 2.6. This roll forward feature is applicable to minor versions only, so 2.1 can't be automatically rolled forward to .NET Core 3.0, or any other major version. Roll forward behavior is only relevant when the expected .NET Core version is not present in the given environment. We can disable this feature using:
    • Environment variable: DOTNET_ROLL_FORWARD_ON_NO_CANDIDATE_FX=0
    • runtimeconfig.json: rollForwardOnNoCandidateFx...