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 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
Brandon B.Sep 05, 2022
5
As someone new to the world of programming and coding this was my entryway drug into all of it. I love this book and it's helped me learn how structures work within the programs and how to build starting from square one.
Amazon Verified review
Amazon CustomerJun 10, 2022
3
I feel like this books does not give a lot of reasons for the things you are doing, and many times falls into keywords aligned together to form word soup rather than being explained in an easy to digest way e.g."The responsibility of a route is to discover the name of a controller class to instantiate an action method to execute with an optional Id parameter to pass to the method that will generate an HTTP response"I read this sentence multiple times, work with this type of code everyday and have had this concept explained to me before in a way that made perfect sense - this is just confusing. This happens quite frequently in a way that makes the book seem unfriendly to learners and rather someone looking for a quick reference.I also find myself going through a whole chapter and typing out the code from the pictures, pushing it to my repo on GitHub and then not really remember what I did in that chapter the next day - the content isn't made memorable or interactive and seems to just be parroting the Microsoft docs.Saying that, the book does cover a wide range or concepts (maybe too many for one book), and it suffers by not going in-depth with specifics like I mentioned above.The code necessary is easily obtainable from the author's GitHub repo if needed, and they seem responsive to errata reported by people working through the book.I felt that a lot of the chapters seemed a bit muddled in terms of building knowledge, with a lot of the early chapter stating "don't worry about this for now as we will revisit later in the book", which isn't very helpful as why not just have this concept set up before the example that uses it? It's quite puzzling.As other reviews have said, it's not especially didactic and this made me disengage with the content a lot due to tedium or confusion about why we're using something that hasn't been explained yet.I feel I would have benefitted a lot more just by visiting the Microsoft docs and building my own projects rather than slogging through the book, since it is mostly just repetition or copy paste code and it works, very little explanation to cement the meaning behind the code or why we would choose to do it this way.
Amazon Verified review
K. ChavezApr 27, 2022
5
i bought this last year and just now got around it cracking it open, and it's all out of date.
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.