C# 9 and .NET 5 – Modern Cross-Platform Development: Build intelligent apps, websites, and services with Blazor, ASP.NET Core, and Entity Framework Core using Visual Studio Code
, Fifth Edition
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
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.
Who is this book 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.
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
I've been coding for a while but not C# and .NET and this book was perfect for me. Love the exercises at end of each chapter (but could do with a few more questions). I started trying to read O'Reilly's C# in a Nutshell - and although thorough and to the point, it is very dry and does not have helpful exercises. This book has chatty text as if Mark is teaching in a classroom and dives straight in with examples.He makes you use VS Code (not Visual Studio) which doesn't do as much for you but I found that useful as I now understand more. For example, he teaches how to use the command line (dotnet new console) in VS Code rather than File - New - Console app, that you can do in Visual Studio and setting a reference to a library is a right-click in Visual Studio, but VS Code makes you go into the .csproj file and type out the reference.This would not be an easy read for someone who has no experience of coding at all - but if you are coming from another language, it is great.It is not a short read at 788 pages.
Amazon Verified review
Mohamed SalehDec 04, 2022
5
I would really recommend it to go through lots of areas in .NET 5 and C#9.Very much in details and with decent set of exercises.
Amazon Verified review
JasonAug 20, 2021
5
Overall, I really like book. It took me from knowing nothing about dotNET to being able to use dotNET 5 and creating an MVC web application. In fact, I find this easier than trying to use dotNET Framework 4.7, which I am having to go back and learn because some servers still run ancient versions of dotNET. (Just upgrade your servers to dotNET 5 and make everyone's life easier because dotNET Framework is no longer supported by Microsoft.) Mark Price demonstrates and explains parts of the framework of dotNET 5 in examples using the Northwind examples. The other nice thing about this book is that he covers the C# language, too, but the real pay off is the chapters about the framework of dotNET 5 because that was the part I didn't really know.
Amazon Verified review
Peng J.May 07, 2021
5
Really love the fast shipping... all updated info in this book. I'm a beginner so I'll come back for the content review...
Mark J. Price is a Microsoft Specialist: Programming in C# and Architecting Microsoft Azure Solutions, with over 20 years' experience. Since 1993, he has passed more than 80 Microsoft programming exams and specializes in preparing others to pass them. Between 2001 and 2003, Mark was employed to write official courseware for Microsoft in Redmond, USA. His team wrote the first training courses for C# while it was still an early alpha version. While with Microsoft, he taught "train-the-trainer" classes to get other MCTs up-to-speed on C# and .NET. Mark holds a Computer Science BSc. Hons. Degree.
Where there is an eBook version of a title available, you can buy it from the book details for that title. Add either the standalone eBook or the eBook and print book bundle to your shopping cart. Your eBook will show in your cart as a product on its own. After completing checkout and payment in the normal way, you will receive your receipt on the screen containing a link to a personalised PDF download file. This link will remain active for 30 days. You can download backup copies of the file by logging in to your account at any time.
If you already have Adobe reader installed, then clicking on the link will download and open the PDF file directly. If you don't, then save the PDF file on your machine and download the Reader to view it.
Please Note: Packt eBooks are non-returnable and non-refundable.
Packt eBook and Licensing When you buy an eBook from Packt Publishing, completing your purchase means you accept the terms of our licence agreement. Please read the full text of the agreement. In it we have tried to balance the need for the ebook to be usable for you the reader with our needs to protect the rights of us as Publishers and of our authors. In summary, the agreement says:
You may make copies of your eBook for your own use onto any machine
You may not pass copies of the eBook on to anyone else
How can I make a purchase on your website?
If you want to purchase a video course, eBook or Bundle (Print+eBook) please follow below steps:
Register on our website using your email address and the password.
Search for the title by name or ISBN using the search option.
Select the title you want to purchase.
Choose the format you wish to purchase the title in; if you order the Print Book, you get a free eBook copy of the same title.
Proceed with the checkout process (payment to be made using Credit Card, Debit Cart, or PayPal)
Where can I access support around an eBook?
If you experience a problem with using or installing Adobe Reader, the contact Adobe directly.
To view the errata for the book, see www.packtpub.com/support and view the pages for the title you have.
To view your account details or to download a new copy of the book go to www.packtpub.com/account
Our eBooks are currently available in a variety of formats such as PDF and ePubs. In the future, this may well change with trends and development in technology, but please note that our PDFs are not Adobe eBook Reader format, which has greater restrictions on security.
You will need to use Adobe Reader v9 or later in order to read Packt's PDF eBooks.
What are the benefits of eBooks?
You can get the information you need immediately
You can easily take them with you on a laptop
You can download them an unlimited number of times
You can print them out
They are copy-paste enabled
They are searchable
There is no password protection
They are lower price than print
They save resources and space
What is an eBook?
Packt eBooks are a complete electronic version of the print edition, available in PDF and ePub formats. Every piece of content down to the page numbering is the same. Because we save the costs of printing and shipping the book to you, we are able to offer eBooks at a lower cost than print editions.
When you have purchased an eBook, simply login to your account and click on the link in Your Download Area. We recommend you saving the file to your hard drive before opening it.
For optimal viewing of our eBooks, we recommend you download and install the free Adobe Reader version 9.