The Dew Review – Customizing ASP.NET Core 6.0 from @packtpub

I recently received a review copy of Customizing ASP.NET Core 6.0 in eBook format. This Packt Publishing title was written by Jürgen Gutsch and will be available in early 2022 (you can pre-order print or Kindle versions now).

This is not your run-of-the-mill “getting started with ASP.NET Core” book. There are plenty of books and other online resources to get started building web applications with .NET. This book assumes you are familiar with the basics of ASP.NET Core development and dives right into the intermediate and advanced concepts (the good stuff). These are the things developers need to understand to build really robust, scalable, performant web applications.

I won’t re-hash the entire table of contents for you, but some of the most important (in my opinion) topics covered are:

  • Writing a BackgroundService
  • Writing Custom Middleware
  • Working with ASP.NET Core Identity and Customizing Identity Management
  • Custom ModelBinders and ActionFilters
  • Caching concepts

The sample code for each chapter is concise, self-contained, and can be applied to real-world applications. All of this sample code is freely available to readers on GitHub. I love that Packt using GitHub for their books’ sample code. It’s a great way for readers to work with the code and interact with the author and other community members. Readers have provided some great feedback to me through GitHub issues on my WinUI book‘s repository.

The author does a great job covering the topics that are important to enterprise web application developers using the latest recommended techniques in ASP.NET Core 6. I would recommend this book to ASP.NET Core developers or other experienced .NET developers looking to get started building web apps.

Happy reading!

Adventures in Technical Editing – Three Recent Packt Book Review Projects

2019 was a busy year for me, as evidenced by the relative inactivity on my other blogs:

One of the activities that limited my 2019 blogging time was serving as a technical reviewer for three different .NET related books from Packt Publishing. All three of these books were released in the last few weeks.

Hands-On Parallel Programming with C# 8 and .NET Core 3

This book, written by Shakti Tanwar, is intended for experienced .NET developers who want to build a deep understanding of parallel and async programming with C# and .NET Core. Most of the concepts here apply just as well to .NET Framework developers, so I wouldn’t shy away from this one if you’re not using .NET Core in your projects.

I use async/await, the TPL and parallel programming concepts quite a bit in my daily work, and I still learned quite a bit from this book. I definitely recommend it if you want to build some degree of parallelism into your applications.

Learn ASP.NET Core 3

The 2nd edition book, written by Kenneth Yamikani Fukizi, Jason De Oliveira, and Michel Bruchet, details what you need to get up to speed with .NET Core 3, ASP.NET Core 3 and Entity Framework Core to build modern web applications while leveraging Microsoft Azure along the way.

The authors touch on a little bit of Blazor, one of today’s hottest .NET topics, and give some great advice for building, testing and deploying web applications with ASP.NET Core 3. If you’re familiar with .NET and ready to get into ASP.NET Core, this Packt book provides some good foundations.

C# 8 and .NET Core 3 Projects Using Azure

This second edition book by Paul Michaels, Dirk Strauss, and Jas Rademeyer is written in a fun & useful format. Each chapter is a stand-alone project that drills down into an aspect of C# and/or .NET Core development, and all of the code can is available to readers to try for themselves.

Readers will learn things like Entity Framework Core, rich UWP app development, Azure Functions, ASP.NET Core, and lots more. Some chapters will be useful to any developer, but the majority of the topics here will be most useful to devs with some .NET experience. I like this one and have recommended it to the developers on my team.

Wrapping Up

Let me know what you think of these books. Have you read any of them? What is on your reading list for 2020?

Happy learning!

Take Your Xamarin Skills to the Next Level with Ed Snider’s ‘Mastering Xamarin.Forms’

There aren’t a lot of great Xamarin books available, but you can add this one to the shortlist. Packt Publishing’s Mastering Xamarin.Forms (3rd Edition) by Ed Snider is a fantastic reference for mobile developers. If you’re a .NET developer with at least some exposure to Xamarin development, this book will give you the knowledge you need to build great mobile apps with Xamarin.Forms with Visual Studio on your Mac or Windows environment.

Snider takes my favorite approach when writing the book. He builds an end-to-end sample app throughout the book, building onto it with the patterns and practices learned in each chapter. For me, getting hands-on and building a real-world app while reading a book or watching a video training course reinforces the lessons. The app in this book is a TripLog, which can be used as a travel log or diary.

After creating the project and a couple of initial screens, Snider dives right into some patterns for mobile app development, starting with the MVVM (model-view-view model) pattern. With each pattern or practice, he explains the concept, how to implement it in Xamarin.Forms and .NET, and then explains how our apps benefit from the implementation. For MVVM, he goes into data binding and validation, which become trivial with the pattern.

The next several chapters detail best practices for navigation, leveraging dependency injection to create platform-specific implementations across iOS, Android or UWP on Windows, and some UI tips for handling platform differences through custom renderers. Snider pulls some Azure concepts into the book with Azure Functions. Learn to make API calls from an app service into Azure Functions and then add authentication to Azure Functions and a login screen to the app. I’ve never used any data caching frameworks in my mobile apps, so the section on Akavache for caching was really helpful. It was pretty trivial to add some offline caching to the Xamarin app.

The unit testing section is really thorough. I have seen many .NET books that just glance over the topic of unit testing and best practices for testing, but Snider really gives a solid base for readers here. Finally, in the final chapter, monitoring is covered. He mainly explains how to set up Visual Studio App Center to track some usage and the health of the app while it’s running out in the world. When optimally configured, this data can give the information developers need to keep their user base happy and engaged. Kudos to Ed Snider for a really well-written book for Xamarin.Forms developers. I strongly encourage you to check it out if you’re getting serious about building mobile apps.

Full disclosure: I received a free review copy of this eBook from Packt Publishing. The opinions in this review are completely honest totally my own.