A comprehensive guide for beginners to learn the key concepts, real-world applications, and latest features of C# 10 and .NET 6 with hands-on exercises using Visual Studio 2022 and Visual Studio Code Key Features * Explore the newest additions to C# 10, the .NET 6 class library, and Entity Framework Core 6 * Create professional websites and services with ASP.NET Core 6 and Blazor * Build cross-platform apps for Windows, macOS, Linux, iOS, and Android Book Description With new chapters on building services using a variety of technologies including Web API, OData, gRPC, GraphQL, SignalR, and Azure Functions as well as using .NET MAUI to build cross-platform apps, this latest edition is extensively revised to accommodate all the latest features that come with C# 10 and .NET 6. You will understand the fundamentals of C#, including object-oriented programming, writing, testing, and debugging functions, implementing interfaces, and inheriting classes. The book also covers the .NET APIs for performing tasks like managing and querying data, monitoring and improving performance, and working with the filesystem, async streams, serialization, and encryption. It provides examples of cross-platform apps you can build and deploy, such as websites and services using ASP.NET Core. You will leverage .NET MAUI to develop desktop apps for Windows and macOS, and mobile apps for iOS and Android. 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 and services using ASP.NET Core, the Model-View-Controller (MVC) pattern, Blazor, and .NET MAUI. What you will learn * Build single project cross-platform apps using .NET MAUI and XAML * Build your own types with object-oriented programming * Write, test, and debug functions * Query and manipulate data using LINQ * Integrate and update databases in your apps using Entity Framework Core, Microsoft SQL Server, and SQLite * Build rich web experiences using Blazor, Razor Pages, the Model-View-Controller (MVC) pattern, and other features of ASP.NET Core * Build and consume powerful services using all the latest technologies, including gRPC and GraphQL Who This Book Is For This book is best for beginners to C# and .NET, 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. Table of Contents * Hello C#, Welcome .NET! * Speaking C# * Controlling Flow, Converting Types, and Handling Exceptions * Writing, Debugging, and Testing Functions * Building Your Own Types with Object-Oriented Programming * Implementing Interfaces and Inheriting Classes * Packaging and Distributing .NET Types * Working with Common .NET Types * Working with Files, Streams, and Serialization * Protecting Your Data and Applications * Working with Data Using Entity Framework Core * Querying and Manipulating Data Using LINQ * Improving Performance and Scalability Using Multitasking * Introducing Practical Applications of C# and .NET * Building Websites Using ASP.NET Core Razor Pages (N.B. Additional chapters to be confirmed upon publication)
Book InformationISBN 9781801077361
Author Mark J. PriceFormat Paperback
Page Count 828
Imprint Packt Publishing LimitedPublisher Packt Publishing Limited
Weight(grams) 75g