The next edition of Professional C# – Professional C# 7 and .NET Core 2.0 is available – covering C# 7 (up to C# 7.2), .NET Core 2 (including Span form .NET Core 2.1), ASP.NET Core 2.0, EF Core 2.0, Windows Universal Apps, Xamarin, and more!
What’s in the book?
Here’s the Wrox description from www.wrox.com:
The professional’s guide to C# 7, with expert guidance on the newest features
Professional C# 7 and .NET Core 2.0 provides experienced programmers with the information they need to work effectively with the world’s leading programming language. The latest C# update added many new features that help you get more done in less time, and this book is your ideal guide for getting up to speed quickly. C# 7 focuses on data consumption, code simplification, and performance, with new support for local functions, tuple types, record types, pattern matching, non-nullable reference types, immutable types, and better support for variables. Improvements to Visual Studio will bring significant changes to the way C# developers interact with the space, bringing .NET to non-Microsoft platforms and incorporating tools from other platforms like Docker, Gulp, and NPM. Guided by a leading .NET expert and steeped in real-world practicality, this guide is designed to get you up to date and back to work.
With Microsoft speeding up its release cadence while offering more significant improvement with each update, it has never been more important to get a handle on new tools and features quickly. This book is designed to do just that, and more—everything you need to know about C# is right here, in the single-volume resource on every developer’s shelf.
- Tour the many new and enhanced features packed into C# 7 and .NET Core 2.0
- Learn how the latest Visual Studio update makes developers’ jobs easier
- Streamline your workflow with a new focus on code simplification and performance enhancement
- Delve into improvements made for localization, networking, diagnostics, deployments, and more
Whether you’re entirely new to C# or just transitioning to C# 7, having a solid grasp of the latest features allows you to exploit the language’s full functionality to create robust, high -quality apps. Professional C# 7 and .NET Core 2.0 is the one-stop guide to everything you need to know.
Let’s get into more detail. The book consists of four major parts 1) the C# programming language including syntax features up to C# 7.2, 2) major class libraries such as Microsoft.Extensions.DependencyInjection
, 3) ASP.NET Core including MVC and the Web API, and 4) apps including UWP (Universal Windows Platform) and Xamarin.
Part 1 – The C# Language
The first part covers all the syntax features of C# 7. All the chapters have been updated to C# 7, The new chapter Functional Programming with C# covers tuples, pattern matching, local functions, and more. The chapter Managed and Unmanaged Memory includes C# reference semantics including ref return and ref locals, and also covers the new Span
type available with .NET Core 2.1. The chapter Visual Studio 2017 includes coverage of Docker including Visual Studio 2017 features for Docker.
- .NET Applications and Tools
- Core C#
- Objects and Types
- Object-Oriented Programming with C#
- Generics
- Operators and Casts
- Arrays
- Delegates, Lambdas, and Events
- Strings and Regular Expressions
- Collections
- Special Collections
- Language Integrated Query
- Functional Programming with C#
- Errors and Exceptions
- Asynchronous Programming
- Reflection, Metadata, and Dynamic Programming
- Managed and Unmanaged Memory
- Visual Studio 2017
Part 2 – .NET Core and the Windows Runtime
The second part of the book covers important libraries. With chapter 19 you get information about the .NET Standard to create libraries, and learn creating NuGet packages with .NET Core. The chapter Dependency Injection gives an introduction to this important pattern with .NET, and you’ll learn about several features offered by Microsoft.Extensions.DependencyInjection
. With the Entity Framework Core chapter you get a complete rewrite to all the features of EF Core 2.0.
- Libraries, Assemblies, Packages, and NuGet
- Dependency Injection
- Tasks and Parallel Programming
- Files and Streams
- Networking
- Security
- ADO.NET and Transactions
- Entity Framework Core
- Localization
- Testing
- Tracing, Logging, and Analytics
For more Libraries, e.g. XML and JSON serialization, as well as Composition (Microsoft Extensibility Framework) see the bonus chapters!
Part 3 – Web Applications and Services
Part 3 covers different aspects of ASP.NET Core – with a foundation of ASP.NET Core followed by ASP.NET Core MVC with the MVC application architecture, including Razor Pages, and the Web API. SignalR was not released when completing the book, but you can get a chapter about SignalR with the downloadable bonus chapters. This bonus chapter will be updated as SignalR matures.
- ASP.NET Core
- ASP.NET Core MVC
- Web API
For more ASP.NET Core, e.g. SignalR and WebHooks, and Bots and Cognitive Services see the bonus chapters!
Part 4 – Apps
Part 4 covers creating desktop applications using the Universal Windows Platform, and mobile applications using Xamarin. If you know creating Windows Forms applications, you can start with chapter 33 to start the world of XAML with Windows Apps. Chapter 34 gives you great information to share as much code as possible between UWP, WPF, and Xamarin. Chapter 37, Xamarin.Forms gives you a kick-start to develop C# apps running on Android and iOS.
- Windows Apps
- Patterns with XAML Apps
- Styling Windows Apps
- Advanced Windows Apps
- Xamarin.Forms
For more Windows Apps, see the bonus chapters!
Online Bonus Chapters
The printed book contains > 1400 pages. I’ve written too many pages, that’s why 5 chapters are available as a free PDF download. Get the bonus chapters here!
- Composition
- XML and JSON
- SignalR and WebHooks
- Bots and Cognitive Services
- More Windows Apps Features
Source Code
As with the previous edition, the source code for the book is available on GitHub. The complete source code has been updated to .NET Core 2.1!
Get the book
You can buy the book at
Wrox Press – Ebook – PDF, ePub
Wiley – E-Book with DRM, Paperback, Wiley Online
Of course many more resellers offer the book!
I hope you enjoy my new book!
Christian
Just received this great book. Love the style: detailed steps behind Visual Studio providing almost ready to run solutions. Every detail you wonder about is there.
I am curious though: the webbrowser class is not covered.
It was given a whole chapter in the 2008 version of this book where you are a co-author.
In my application I use 5 such objects running simultaneously.
I hope Microsoft continues providing this class.
LikeLiked by 1 person
thanks for your comments! The webbrowser class is not covered, yes. It’s still provided by Microsoft, and enhanced – using the Edge browser.
It’s just not possible to cover everything in the book – it’s already 1400 printed pages. I’ve written a few hundred pages more. Be sure to download the 5 additional chapters.
I’m planning a blog article on the WebBrowser control. What else would you like to have covered in the book (probably in the next edition)?
LikeLike
How can i compile the code?
LikeLike
Depending on the sample. You can compile all the samples using Visual Studio 2017. For many of the samples, you can also use the .NET Core CLI command line tools instead. Every chapter contains a readme file what’s needed for the samples, and you can also find information in the book.
If you’ve problems, you can also submit an issue in the GitHub repository https://github.com/ProfessionalCSharp/ProfessionalCSharp7.
All the best!
LikeLike
Is it his book for beginners ? I have some knowledge in C# and .Net Framworks, but at very basic level. I want to learn about especially ASP .Net Core.
LikeLike
This book is not for complete beginners, you need to know OO concepts and any programming language.
As you already have some knowledge in C# and .NET Frameworks, I think you can get great information out of the book – including ASP.NET Core 🙂
Thanks,
Christian
LikeLike
Do you think Microsoft will more focus on .Net Core rather than .Net framework? Based on your personal opinion, do you recommend .net Core or .Net framework for the new applications?
LikeLiked by 1 person
The focus will be on .NET Core. I recommend .NET Core for new applications as possible. The reasons not using .NET Core are getting smaller and smaller.
With Web applications, ASP.NET Core has a much better architecture compared to the .NET Framework version ASP.NET.
With .NET Core 2.1, SignalR is now available with a .NET Core version. The newest version of the Bot Framework is based on .NET Core.
Creating desktop applications, the new technology is UWP – with a different runtime, but using .NET Core as well.
To migrate existing WPF and Windows Forms applications, upcoming versions will be based on .NET Core 3.0.
You can bet on .NET Core and use it for new applications 🙂
LikeLike
Thanks for your reply.
LikeLiked by 1 person
Why is there not a link allowing me to buy this book?
LikeLike
Thanks for the request. I will add some links for buying the book.
LikeLike
Added some links where you can buy it 🙂
LikeLike
I have got somewhere pdf version of the „Professional C# and .NET core 2.0“ book. I have read some of it and I liked it. Do I still have to buy it or it is OK with you if I read the rest of it? 🙂
LikeLike
I assume you purchased the PDF file (along other e-book formats) from a site like Wrox, e.g. http://www.wrox.com/WileyCDA/WroxTitle/Professional-C-7-and-NET-Core-2-0.productCd-1119449243.html, and didn’t get the PDF file from a questionable site with free PDFs where they don’t appreciate the work from authors. Of course you can download the extra PDF chapters.
LikeLike
I just bought it right from the wrox.com link you gave me.
Thanks, mr. Nagel, it is a good book for study.
LikeLiked by 1 person