My latest Pluralsight training course was just published and is an update from the previous version to now use .NET 6 and C# 10.
“Reading and writing data is central to many .NET applications, but it can be difficult to know which approach to take. In this course, Working with Files in C# 10, you’ll gain the ability to read and write data and manage files. First, you’ll explore how to manage files and directories stored on disk. Next, you’ll discover how to monitor and respond to changes in the file system. Finally, you’ll learn how to read, process, and write data in text, binary, and CSV formats. When you’re finished with this course, you’ll have the skills and knowledge of C# files and streams needed to read, write, and process data in your C# applications.”
You can start watching today with a free trial!
My newest Pluralsight course Error Handling in C# 10 was just released.
This is an updated course of my previous error handling courses to bring the demo code up to C# 10, .NET 6, Visual Studio 2022.
Course description: “Missing or incorrectly implemented error handling code can lead to data corruption, unnecessary crashes, annoyed end-users, out-of-hours support calls, and hard to maintain code. In this course, Error Handling in C# 10, you’ll learn to correctly handle runtime errors in your C# applications. First, you’ll explore what exceptions are and why we use them. Next, you’ll discover how to respond to errors that occur in your applications at runtime. Finally, you’ll learn how to throw exceptions in your own code and even how to define your own custom exception classes. When you’re finished with this course, you’ll have the skills and knowledge of C# exception handling needed to handle runtime errors in your C# applications.”
You can start watching today with a free trial.
This month all my Pluralsight courses are available for free including a lot of .NET testing content that can help you either get started with .NET testing or level-up your tests to make them easier to read and more maintainable.
Step 1: Learn a base testing framework:
Step 2: Level-up the base testing framework:
Step 3: Power-ups to complete your test strategy
Bonus Step: Help convince your co-workers and managers to let you write tests with the Testing Automation: The Big Picture course.
If you want to level up your tech skills for free, this April you can watch all my Pluralsight courses for free!!
An updated version of my Exception Handling in C# course is now available that updates demos to to use .NET 5.
From the course description: “At the core of handling errors in C# code is a thorough knowledge of exception handling. In this course, Error Handling in C# with Exceptions, you’ll learn how to write code that can detect and respond to runtime errors. First, you’ll learn why exceptions are used to represent errors in C# and how they are organized into class hierarchies. Next, you’ll explore how to throw, catch, filter, rethrow, and wrap exceptions. Finally, you’ll discover how to define, throw, and catch your own customized exception classes and also write unit tests for exception throwing code. When you’re finished with this course, you’ll have a thorough knowledge of C# exceptions that will help you to create production-ready C# applications that detect and respond to runtime errors.”
You can start watching with a Pluralsight free trial.
No credit card needed, sign up for free now and start watching all my Pluralsight training courses for free.
Testing Tools You May Not Know About:
Expand Your Software Development Horizons:
The following are some suggested courses on topics that may not be on your radar but that your may find interesting.
Skills Paths Featuring My and Other Author’s Courses:
If you want a ready made “curriculum” in the form of a skills path check out the follow paths that feature some of my courses and courses by fellow Pluralsight authors:
P.s. Remember to take care of yourself physically, mentally, and emotionally during these trying times.
From the Pluralsight website: "Free April is open to anyone who is not a current, active subscriber."
This weekend Pluralsight is doing a free weekend promotion (click the above banner) which means you can start watching all my courses for FREE!
Once you’ve clicked the banner and followed the instructions, head over to my list of courses and start watching.
FREE WEEKEND STARTS FEBRUARY 7th 12:00PM MT
“Sometimes it's hard to know what you don't know. Short-circuit your learning of C# and level-up your code with this collection of C# and .NET features.” This is the short description from my newest Pluralsight course that just launched called C# Tips and Traps.
As the description suggests, this course is designed to fill in the gaps in your C# knowledge and to highlight ways to improve your code using often little-known or underused features of C# and .NET.
The course is organized thematically into a number of modules but the great thing about it is you can start with any module that interests you and then move on to another one – you could also just watch them sequentially so you don’t miss out on any tips.
The course modules are as follows:
- String, Character, and Formatting Tips
- Tips for Working with Numbers and Dates
- Data Types and Object Tips
- Tips for Working with Files, Paths, and URIs
- Organizing and Structuring Classes and Code
- Compilation Tips
- Tips for Casting and Conversions
- Runtime Execution Tips
- Bonus Tips
At a total of just over 4 hours running time, there is a ton of value in this course and you can even just dip into the next tip whenever you have a spare 5-10 mins, you could even watch one tip/clip per day with breakfast and see if you can use it at work that day!
If you’re looking for a course that you can consume in bite-sized chunks over the coming holidays and fit in a bit of learning around family and holiday activities this is a good candidate.
Hope you enjoy watching it, and don’t forget you can get a Pluralsight free trial to start watching it.
Ps. This course is an update/amalgamation of two older courses: C# Tips and Traps and C# Tips and Traps 2.
Azure Functions have come a long way in a short time. With newer releases you can now create functions in Visual Studio using standard C# class files along with specific attributes to help define triggers, bindings, etc. This means that all the familiar powerful Visual Studio tools, workflows, NuGet packages, etc. can be used to develop Azure Functions. Visual Studio also provides publish support so you can upload your functions to the cloud once you are happy with them. Another feature that makes developing functions in Visual Studio easier is the local functions runtime that let’s you run and debug functions on your local development machine, without needing to publish to the cloud just to test them.
In my new Writing and Testing Precompiled Azure Functions in Visual Studio 2017 Pluralsight course you will learn how to:
- Set up your local development environment
- Develop and test Azure Functions locally
- Publish functions to Azure
- Create functions triggered from incoming HTTP requests
- Trigger functions from Azure Storage queues and blobs
- Trigger functions from Azure Service Bus and Azure Event Hubs
- Trigger functions periodically on a timer
- Unit test Azure Function business logic
Check out the full course outline for more details.
You can start watching with a Pluralsight free trial.
Azure Functions allow small discrete pieces of code to execute in response to an external stimulus such as a HTTP request, message queue message, new blob data, etc.
Just because functions are easy to create (even writing and testing code right in the Azure Portal) doesn’t mean good practices such as avoiding code duplication can be abandoned.
My new Pluralsight course Reducing C# Code Duplication in Azure Functions shows some ways to reduce or remove code duplication both in a single Function App and across apps.