C# 9 and .NET 5 – Modern Cross-Platform Development
eBook - ePub

C# 9 and .NET 5 – Modern Cross-Platform Development

Mark J. Price

Share book
  1. 822 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

C# 9 and .NET 5 – Modern Cross-Platform Development

Mark J. Price

Book details
Book preview
Table of contents
Citations

About This Book

Publisher's Note: Microsoft stopped supporting.NET 5 in May 2022. The newer 8th edition of the book is available that covers.NET 8 (end-of-life November 2026) with C# 12 and EF Core 8.Purchase of the print or Kindle book includes a free PDF eBook

Key Features

  • Explore the newest additions to C# 9, the.NET 5 class library, Entity Framework Core and Blazor
  • Strengthen your command of ASP.NET Core 5.0 and create professional websites and services
  • Build cross-platform apps for Windows, macOS, Linux, iOS, and Android

Book Description

In C# 9 and.NET 5 – Modern Cross-Platform Development, Fifth Edition, expert teacher Mark J. Price gives you everything you need to start programming C# applications.This latest edition uses the popular Visual Studio Code editor to work across all major operating systems. It is fully updated and expanded with a new chapter on the Microsoft Blazor framework.The book's first part teaches the fundamentals of C#, including object-oriented programming and new C# 9 features such as top-level programs, target-typed new object instantiation, and immutable types using the record keyword. Part 2 covers the.NET APIs, for performing tasks like managing and querying data, monitoring and improving performance, and working with the file system, async streams, serialization, and encryption. Part 3 provides examples of cross-platform apps you can build and deploy, such as websites and services using ASP.NET Core or mobile apps using Xamarin.Forms. The best type of application for learning the C# language constructs and many of the.NET libraries is one that does not distract with unnecessary application code. For that reason, the C# and.NET topics covered in Chapters 1 to 13 feature console applications. In Chapters 14 to 20, having mastered the basics of the language and libraries, you will build practical applications using ASP.NET Core, Model-View-Controller (MVC), and Blazor.By the end of the book, you will have acquired the understanding and skills you need to use C# 9 and.NET 5 to create websites, services, and mobile apps.

What you will learn

  • Build your own types with object-oriented programming
  • Query and manipulate data using LINQ
  • Build websites and services using ASP.NET Core 5
  • Create intelligent apps using machine learning
  • Use Entity Framework Core and work with relational databases
  • Discover Windows app development using the Universal Windows Platform and XAML
  • Build rich web experiences using the Blazor framework
  • Build mobile applications for iOS and Android using Xamarin.Forms

Who this book is for

This book is best for C# and.NET beginners, or programmers who have worked with C# in the past but feel left behind by the changes in the past few years. This book doesn't expect you to have any C# or.NET experience; however, you should have a general understanding of programming.Students and professionals with a science, technology, engineering, or mathematics (STEM) background can certainly benefit from this book.

]]>

Frequently asked questions

How do I cancel my subscription?
Simply head over to the account section in settings and click on “Cancel Subscription” - it’s as simple as that. After you cancel, your membership will stay active for the remainder of the time you’ve paid for. Learn more here.
Can/how do I download books?
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
What is the difference between the pricing plans?
Both plans give you full access to the library and all of Perlego’s features. The only differences are the price and subscription period: With the annual plan you’ll save around 30% compared to 12 months on the monthly plan.
What is Perlego?
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Do you support text-to-speech?
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Is C# 9 and .NET 5 – Modern Cross-Platform Development an online PDF/ePUB?
Yes, you can access C# 9 and .NET 5 – Modern Cross-Platform Development by Mark J. Price in PDF and/or ePUB format, as well as other popular books in Computer Science & Programming in C#. We have over one million books available in our catalogue for you to explore.

Information

Year
2020
ISBN
9781800560710

Index

Symbols
.NET
app models 465
concepts 8
old versions, removing 13
platforms and tools 16
Silverlight plugin, using in 474
.NET 5 10, 225, 226
application types, on Linux 252
application types, on macOS 252
application types, on Windows 252
features 14
.NET Core 2.0, performance improving to 229
.NET Framework, porting to 252
porting 252
porting, benefits 252
using, in cross-platform development 475
versus .NET Framework 253
.NET 5.0 228
reference link 229
.NET 5 class library
creating 173, 174
referencing 173, 174
.NET 5, performance improvement
reference link 229
.NET APIs
reference link 226
.NET application
publishing, for deployment 237
size, reducing with app trimming 242
.NET blog
subscribing to 26
.NET components 229
BCL, assemblies in NuGet packages (CoreFX) 230
Common Language Runtime (CoreCLR) 229
language compilers 229
.NET Core
features 14
.NET Core 1.0 226
reference link 227
.NET Core 1.1 227
reference link 227
.NET Core 2.0 227
performance, improving to .NET 5 229
reference link 227
.NET Core 2.1 227
.NET Core 2.2 228
reference link 228
.NET Core 3.0 228
reference link 228
.NET Framework 8
porting, to .NET 5 252
versus .NET 5 253
.NET Framework versions 226
.NET 5.0 228
.NET Core 1.0 226
.NET Core 1.1 227
.NET Core 2.0 227
.NET Core 2.1 227
.NET Core 2.2 228
.NET Core 3.0 228
.NET MAUI
reference link 476
.NET Portability Analyzer 253
reference link 253
.NET Runtime versions 12
.NET SDK versions 12
.NET standard
used, for sharing code with legacy platforms 235
.NET Standard
reference link 226
.NET Standard 2.0
class library, creating 236
.NET Standard 2.1
reference link 226
.NET Standard libraries
using 253, 254, 255
.NET support 11
.NET technologies
comparing 17
.NET type
C# keywords, relating to 234, 235
.NET types
exceptions, inheriting 217, 218
extending 217, 219
inheriting 217
Windows Communication Foundation (WCF) 665
A
access
controlling, with indexers 169
controlling, with properties 169
synchronizing, to shared resources 452
access modifier 144
ac...

Table of contents