Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Tools and Skills for .NET 10
  • Table Of Contents Toc
Tools and Skills for .NET 10

Tools and Skills for .NET 10 - Second Edition

By : Mark J. Price
5 (1)
close
close
Tools and Skills for .NET 10

Tools and Skills for .NET 10

5 (1)
By: Mark J. Price

Overview of this book

.NET is more powerful—and more complex—than ever. As the ecosystem evolves, so do the expectations from developers. Mastering the tools and patterns of professional .NET development can be the difference between simply shipping code and delivering resilient, scalable software. Tools and Skills for .NET 10 is a practical guide to leveling up in today’s .NET world, offering both hard technical skills and career strategies to help you thrive. Inside, you’ll learn how to manage codebases with Git and implement debugging and memory analysis techniques that save hours of guesswork. The book also covers best practices for writing and maintaining documentation for your code, services, and APIs, which is crucial for team collaboration. You’ll explore cryptography for securing data and concurrency for building responsive apps. Further chapters explore dependency injection, testing for performance and reliability, and packaging your apps in Docker containers. By the end of this book, you’ll be equipped not only with technical skills but also with the confidence to apply them in real environments. Whether you're aiming for a promotion, switching jobs, or preparing for technical interviews, you'll have the skills and the language to present yourself as a capable, well-rounded .NET developer ready for anything the industry throws at you.
Table of Contents (23 chapters)
close
close
22
Index

Unit testing using xUnit

You learned about the basics of unit testing in the introduction section. Now let’s go a bit deeper. One of the most contentious aspects of unit testing is how isolated they must be. Let’s look at this point in more detail.

How isolated should unit tests be?

There are two sides to this debate, as described in the following bullets:

  • The traditional approach to writing unit tests is not to isolate them from their dependencies. In this approach, you are testing both the MUT and its dependencies. There could be a bug in one of the dependencies that would make the test fail. This can make it harder to track down the issue since you have more places to look. But you should have tests for just those dependencies too. However, each test should be isolated from other tests.
  • The more modern approach to isolating unit tests involves separating the MUT from its dependencies by replacing them with test doubles. This removes any influence...
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Tools and Skills for .NET 10
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist download Download options font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon