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 CodeKey FeaturesExplore the newest additions to C# 10, the.NET 6 class library, and Entity Framework Core 6Create professional websites and services with ASP.NET Core 6 and BlazorBuild cross-platform apps for Windows, macOS, Linux, iOS, and AndroidBook DescriptionExtensively revised to accommodate all the latest features that come with C# 10 and.NET 6, this latest edition of our comprehensive 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.
The book covers the.NET APIs for performing tasks like managing and querying data, monitoring and improving performance, and working with the filesystem, async streams, and serialization. You'll build and deploy cross-platform apps, such as websites and services using ASP.NET Core.Instead of distracting you with unnecessary application code, the first twelve chapters will teach you about C# language constructs and many of the.NET libraries through simple console applications.
In later chapters, having mastered the basics, you'll then build practical applications and services using ASP.NET Core, the Model-View-Controller (MVC) pattern, and Blazor.What you will learnBuild rich web experiences using Blazor, Razor Pages, the Model-View-Controller (MVC) pattern, and other features of ASP.NET CoreBuild your own types with object-oriented programmingWrite, test, and debug functionsQuery and manipulate data using LINQIntegrate and update databases in your apps using Entity Framework Core, Microsoft SQL Server, and SQLiteBuild and consume powerful services using the latest technologies, including gRPC and GraphQLBuild cross-platform apps using XAMLWho this book is forDesigned for both beginners and 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, this book doesn't need you to have any C# or.NET experience.
However, you should have a general understanding of programming before you jump in.Table of ContentsHello C#, Welcome.NET!Speaking C#Controlling Flow, Converting Types, and Handling ExceptionsWriting, Debugging, and Testing FunctionsBuilding Your Own Types with Object-Oriented ProgrammingImplementing Interfaces and Inheriting ClassesPackaging and Distributing.NET TypesWorking with Common.NET TypesWorking with Files, Streams, and SerializationWorking with Data Using Entity Framework CoreQuerying and Manipulating Data Using LINQImproving Performance and jednoczybility Using MultitaskingIntroducing Practical Applications of C# and.NETBuilding Websites Using ASP.NET Core Razor PagesBuilding Websites Using the Model-View-Controller PatternBuilding and Consuming Web ServicesBuilding User Interfaces Using BlazorBonus Content: Building and Consuming Specialized ServicesBonus Content: Building Mobile and Desktop Apps Using.NET MAUIBonus Content: Protecting Your Data and ApplicationsBonus Content: Appendix – Answers to the Test Your Knowledge Questions