C# 11 and .NET 7 – Modern Cross-Platform Development Fundamentals
eBook - ePub

C# 11 and .NET 7 – Modern Cross-Platform Development Fundamentals

Start building websites and services with ASP.NET Core 7, Blazor, and EF Core 7, 7th Edition

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

C# 11 and .NET 7 – Modern Cross-Platform Development Fundamentals

Start building websites and services with ASP.NET Core 7, Blazor, and EF Core 7, 7th Edition

About this book

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

Key Features

  • Explore the newest additions to C# 11, the.NET 7 class libraries, and Entity Framework Core 7
  • Create professional websites and services with ASP.NET Core 7 and Blazor
  • Build your confidence with step-by-step code examples and tips for best practices

Book Description

Extensively revised to accommodate the latest features that come with C# 11 and.NET 7, this latest edition of our guide will get you coding in C# with confidence.You'll learn object-oriented programming, writing, testing, and debugging functions, implementing interfaces, and inheriting classes. Next, you'll take on.NET APIs for performing tasks like managing and querying data, working with the filesystem, and serialization. As you progress, you'll also explore examples of cross-platform projects you can build and deploy, such as websites and services using ASP.NET Core.Instead of distracting you with unnecessary graphical user interface code, the first eleven chapters will teach you about C# language constructs and many of the.NET libraries through simple console applications. Having mastered the basics, you'll then start building websites, web services, and browser apps.By the end of this book, you'll be able to create rich web experiences and have a solid grasp of object-oriented programming that you can build upon.

What you will learn

  • Build rich web experiences using Blazor, Razor Pages, the Model-View-Controller (MVC) pattern, and other features of ASP.NET Core
  • Write, test, and debug functions
  • Query and manipulate data using LINQ
  • Integrate and update databases in your apps using Entity Framework Core models
  • Build and consume powerful services using the latest technologies, including Web API and Minimal API
  • For.NET 6 developers:
  • C# 11 can be used with.NET 6, including features like raw string literals
  • EF Core 7 targets.NET 6, so you can benefit from its new features like ExecuteUpdate and ExecuteDelete for more efficient data modifications

Who this book is for

This book is primarily for beginners, but intermediate-level C# and.NET programmers who have worked with C# in the past and want to catch up with the changes made in the past few years will also find plenty of useful information in it. Prior exposure to C# or.NET is not a prerequisite, but you should have a general understanding of programming before you jump in.If you already have some C# and.NET skills and want to focus on developing apps, we recommend that you pick up Mark's other.NET book, Apps and Services with.NET 7, instead.

]]>

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription.
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.
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
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.
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.
Yes! You can use the Perlego app on both iOS or Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Yes, you can access C# 11 and .NET 7 – Modern Cross-Platform Development Fundamentals by Mark J. Price in PDF and/or ePUB format, as well as other popular books in Informatique & Programmation orientée objet. We have over one million books available in our catalogue for you to explore.

Table of contents

  1. Preface
  2. Hello, C#! Welcome, .NET!
  3. Speaking C#
  4. Controlling Flow, Converting Types, and Handling Exceptions
  5. Writing, Debugging, and Testing Functions
  6. Building Your Own Types with Object-Oriented Programming
  7. Implementing Interfaces and Inheriting Classes
  8. Packaging and Distributing .NET Types
  9. Working with Common .NET Types
  10. Working with Files, Streams, and Serialization
  11. Working with Data Using Entity Framework Core
  12. Querying and Manipulating Data Using LINQ
  13. Introducing Web Development Using ASP.NET Core
  14. Building Websites Using ASP.NET Core Razor Pages
  15. Building Websites Using the Model-View-Controller Pattern
  16. Building and Consuming Web Services
  17. Building User Interfaces Using Blazor
  18. Epilogue
  19. Index