Create powerful cross-platform applications using C# 6, .NET Core 1.0, ASP.NET Core 1.0, and Visual Studio 2015
Key Features
Build modern, cross-platform applications with .NET Core 1.0
Get up-to-speed with C#, and up-to-date with all the latest features of C# 6
Start creating professional web applications with ASP.NET Core 1.0
Book Description
With the release of .NET Core 1.0, you can now create applications for Mac OS X and Linux, as well as Windows, using the development tools you know and love. C# 6 and .NET Core 1.0 has been divided into three high-impact sections to help start putting these new features to work.
First, we'll run you through the basics of C#, as well as object-orient programming, before taking a quick tour through the latest features of C# 6 such as string interpolation for easier variable value output, exception filtering, and how to perform static class imports. We'll also cover both the full-feature, mature .NET Framework and the new, cross-platform .NET Core.
After quickly taking you through C# and how .NET works, we'll dive into the internals of the .NET class libraries, covering topics such as performance, monitoring, debugging, internationalization, serialization, and encryption. We'll look at Entity Framework Core 1.0 and how to develop Code-First entity data models, as well as how to use LINQ to query and manipulate that data.
The final section will demonstrate the major types of applications that you can build and deploy cross-device and cross-platform. In this section, we'll cover Universal Windows Platform (UWP) apps, web applications, and web services. Lastly, we'll help you build a complete application that 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.
What you will learn
Build cross-platform applications using C# 6 and .NET Core 1.0
Explore ASP.NET Core 1.0 and learn how to create professional web applications
Improve your application's performance using multitasking
Use Entity Framework Core 1.0 and learn how to build Code-First databases
Master object-oriented programming with C# to increase code reuse and efficiency
Familiarize yourself with cross-device app development using the Universal Windows Platform and XAML
Query and manipulate data using LINQ
Protect your data by using encryption and hashing
Who this book is for
Are you struggling to get started with C#? Or maybe you're interested in the potential of the new cross-platform features that .NET Core can offer? If so, C# 6 and .NET Core 1.0 is the book for you. While you don't need to know any of the latest features of C# or .NET to get started, it would be beneficial if you have some programming experience.
Table of Contents
Hello C#!, Welcome .NET Core!
Speaking C#
Controlling Flow, Converting Types, and Handling Exceptions
Using Common .NET Types
Using Specialized .NET Types
Building Your Own Types with Object-Oriented Programming
Implementing Interfaces and Inheriting Classes
Working with Relational Data by Using Entity Framework
Querying and Manipulating Data with LINQ
Working with Files, Streams, and Serialization
Protecting Your Data and Applications
Improving Performance and Scalability with Multi-Tasking
Building Universal Windows Platform Apps by using XAML
Building Web Applications and Services by using ASP.NET Core
Taking C# Cross-Platform
Building a Quiz
Appendix A: Answers to the Test Your Knowledge Questions
Appendix B: Creating a Virtual Machine for Your Development Environment