C# 6 and .NET Core 1.0: Modern Cross-Platform Development
- Length: 550 pages
- Edition: 1
- Language: English
- Publisher: Packt Publishing
- Publication Date: 2016-03-29
- ISBN-10: 1785285696
- ISBN-13: 9781785285691
- Sales Rank: #1381319 (See Top 100 Books)
Create powerful cross-platform applications using C# 6, .NET Core 1.0, ASP.NET Core 1.0, and Visual Studio 2015
About This Book
- 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
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.
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
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.
Style and approach
This book takes a step-by-step approach and is filled with exciting projects and fascinating theory. It uses three high-impact sections to equip you with all the tools you’ll need to build modern, cross-platform applications using C# and .NET Core.
Table of Contents
Chapter 1. Hello, C#! Welcome, .NET Core!
Chapter 2. Speaking C#
Chapter 3. Controlling the Flow, Converting Types, and Handling Exceptions
Chapter 4. Using Common .NET Types
Chapter 5. Using Specialized .NET Types
Chapter 6. Building Your Own Types with Object-Oriented Programming
Chapter 7. Implementing Interfaces and Inheriting Classes
Chapter 8. Working with Relational Data Using the Entity Framework
Chapter 9. Querying and Manipulating Data with LINQ
Chapter 10. Working with Files, Streams, and Serialization
Chapter 11. Protecting Your Data and Applications
Chapter 12. Improving Performance and Scalability with Multitasking
Chapter 13. Building Universal Windows Platform Apps Using XAML
Chapter 14. Building Web Applications and Services Using ASP.NET Core
Chapter 15. Taking C# Cross-Platform
Chapter 16. Building a Quiz