Create powerful cross-platform applications using C# 6, .NET Core 1.0, ASP.NET Core 1.0, and Visual Studio 2015
1234567

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

Mark J. Price

Mark J. Price is a Microsoft Certified Trainer (MCT) and Microsoft Specialist, Programming in C# and Architecting Microsoft Azure Solutions, with more than 20 years of educational and programming experience.

Since 1993, Mark has passed more than 90 Microsoft programming exams and specializes in preparing others to pass them too. His students range from professionals with decades of experience to 16-year-old apprentices with no experience at all. He successfully guides all of them by combining educational skills with real-world experience, consulting on and developing systems for enterprises worldwide.

Between 2001 and 2003, Mark was employed full-time to write official courseware for Microsoft in Redmond, USA. His team wrote the first training courses for C# and .NET while they were still an early alpha version. While with Microsoft, he delivered "train-the-trainer" classes to get other MCTs up to speed in C# and .NET.

In 2010, Mark took a postgraduate certificate in education (PGCE). He taught GCSE and A-level mathematics in two secondary schools in London. Mark holds a Computer Science BSc (Hons) degree from the University of Bristol, UK.

  1. HELLO, C#! WELCOME, .NET CORE!
  2. SPEAKING C#
  3. CONTROLLING THE FLOW, CONVERTING TYPES, AND HANDLING EXCEPTIONS
  4. USING COMMON .NET TYPES
  5. USING SPECIALIZED .NET TYPES
  6. BUILDING YOUR OWN TYPES WITH OBJECT-ORIENTED PROGRAMMING
  7. IMPLEMENTING INTERFACES AND INHERITING CLASSES
  8. WORKING WITH RELATIONAL DATA USING THE ENTITY FRAMEWORK
  9. QUERYING AND MANIPULATING DATA WITH LINQ
  10. WORKING WITH FILES, STREAMS, AND SERIALIZATION
  11. PROTECTING YOUR DATA AND APPLICATIONS
  12. IMPROVING PERFORMANCE AND SCALABILITY WITH MULTITASKING
  13. BUILDING UNIVERSAL WINDOWS PLATFORM APPS USING XAML
  14. BUILDING WEB APPLICATIONS AND SERVICES USING ASP.NET CORE
  15. TAKING C# CROSS-PLATFORM
  16. BUILDING A QUIZ