Get tips to solve null reference exception

What Is NullReferenceException? Object reference not set to an instance of an object

Matt Watson Developer Tips, Tricks & Resources

“Object Reference Not Set to an instance of an object.” Cast the first stone those who never struggled with this error message when they were a beginner C#/.NET programmer. This infamous and dreaded error message happens when you get a NullReferenceException. This exception is thrown when you try to access a member—for instance, a method or a property—on a variable …

C# Exception Handling Best Practices

Matt Watson Developer Tips, Tricks & Resources

Welcome to Stackify’s guide to C# exception handling. In this article we cover the following topics: Basics about C# Exceptions, including examples Common .NET Exceptions How to Create Your Own Custom C# Exception Types How to Find Hidden .NET Exceptions C# Exception Logging Best Practices Why is this topic so important? In modern languages like C#, “problems” are typically modeled …

iis error logs yellow screen of death

IIS Error Logs and Other Ways to Find ASP.Net Failed Requests

Matt Watson Developer Tips, Tricks & Resources

As exciting as it can be to write new features in your ASP.Net application, our users inevitably encounter failed requests. Do you know how to troubleshoot IIS or ASP.NET errors on your servers? It can be tempting to bag on your desk and problem your annoyance.  However, Windows and ASP.NET provide several different logs where failed requests are logged. This …

Find out why you need 3 different types of .NET profilers

List of .Net Profilers: 3 Different Types and Why You Need All of Them

Matt Watson Developer Tips, Tricks & Resources

.NET Profilers are a developer’s best friend when it comes to optimizing application performance. They are especially critical when doing low level CPU and memory optimizations. But did you know that there are three different types of profilers? Traditional .NET profilers that track process memory usage, time spent per line of code and frequency of method calls. Lightweight profilers or other …

View SQL Queries From Your Code With Prefix

Matt Watson Developer Tips, Tricks & Resources

Have you heard the saying “you can’t manage what you can’t measure?” The phrase is often attributed to management thinker Peter Drucker, and less often to other authors as well. It can also slightly vary in its wording, depending on the source. At the end of the day, the exact wording of the sayer and who said it first doesn’t …

Log 4Net Guide for .NET Logging

Log4net for .NET Logging: The Only Tutorial and 14 Tips You Need to Know

Matt Watson Developer Tips, Tricks & Resources

If you’ve been writing code for any reasonable amount of time, then it’s virtually impossible that you haven’t handled logging in any way, since it’s one of the most essential parts of modern, “real life” app development. If you’re a .NET developer, then you’ve probably used some of the many famous logging frameworks available for use at this platform. Today’s …

How to Troubleshoot IIS Worker Process (w3wp) High CPU Usage

How to Troubleshoot IIS Worker Process (w3wp) High CPU Usage

Matt Watson Developer Tips, Tricks & Resources, Popular

Having IIS performance problems? Do you have w3wp.exe high CPU usage? In this post, we’ll discuss some tips to identify what’s causing high CPU usage for your ASP.NET web applications. There are a lot of reasons that your IIS worker process (w3wp.exe) could be using a lot of CPU. We’ll cover some of the top reasons and how to troubleshoot …

Get tips to monitor IIS Performance

How to Monitor IIS Performance: From the Basics to Advanced IIS Performance Monitoring

Matt Watson Developer Tips, Tricks & Resources, Popular

Need help on how to monitor IIS? This guide covers the basics, including HTTP ping checks, IIS Application Pools, and important Windows Performance Counters. We’ll also take a look at how to use an application performance management system to simplify all of this and get more advanced IIS performance monitoring for ASP.NET applications. Without monitoring IIS performance, you could end …

Find Slow Queries

SQL Performance Tuning: 7 Practical Tips for Developers

Matt Watson Developer Tips, Tricks & Resources, Popular

Being able to execute a SQL performance tuning is a vital skill for software teams that rely on relational databases. Vital isn’t the only adjective that we can apply to it, though. Rare also comes to mind, unfortunately. Many software professionals think that they can just leave all the RDBMS settings as they came by default. They’re wrong. Often, the …

List of top features and tips for ASP.NET

Advanced ASP.NET Trace Viewer – WebForms, MVC, Web API, WCF

Matt Watson Developer Tips, Tricks & Resources, Stackify Product & Company Updates

Software is a complex thing. As soon as you deploy an application to production—especially when you don’t have any control over the environment it’s running on—anything could happen. You’ve created this “monster” and set if free. It’s now free from your control. How do you tame this beast before it creates havoc? The first step is to trace its steps …

How to Remove Application Insights

Matt Watson Developer Tips, Tricks & Resources

Microsoft’s Application Insights provides a basic application performance monitoring solution for .NET applications. For some types of .NET projects, Visual Studio will automatically add it to your solution. In this article, we are going to cover how to disable Application Insights. Why disable Application Insights? When considering to remove a tool that helps with monitoring, it’s worth thinking why you …

Stackify Retrace Releases Support for PHP

Matt Watson Developer Tips, Tricks & Resources, Stackify Product & Company Updates

Stackify was founded with the goal of giving developers the all the tools they need to troubleshoot and monitor their applications. We are very excited to announce that we now have support for PHP monitoring to go along with support for .NET and Java applications. What is Retrace? Retrace is an application performance management (APM) solution that combines code-level performance …

Serilog Tutorial for .NET Logging: 16 Best Practices and Tips

Matt Watson Developer Tips, Tricks & Resources

Serilog is a newer logging framework for .NET. It was built with structured logging in mind. It makes it easy to record custom object properties and even output your logs to JSON. Note: You can actually check out our other tutorials for NLog and log4net to learn how to do structured logging with them also! In this article, we are …

Retrace Logging and Error Tips

5 Awesome Retrace Logging & Error Tracking Features

Matt Watson Developer Tips, Tricks & Resources, Popular, Stackify Product & Company Updates

Retrace combines several tools that developers need for application monitoring in one easy to use tool. Retrace has some really amazing log management and error tracking features because of the tight integration between our APM, errors, and logging tools. In this article, we are going to highlight some of the top features that you should be using with Retrace! Organize …

Developer Things #8: How to Develop More Secure Software with Steve Feldman

Developer Things #8: How to Develop More Secure Software with Steve Feldman

Matt Watson Developer Things Podcast, Developer Tips, Tricks & Resources

 Today’s episode of Developer Things features Steve Feldman. Steve is the Vice President of Engineering at Contrast Security. The subject of security in the area of software development is an important one, as there are a number of different challenges that face developers trying to develop more secure software. Listen to the episode to hear what Steve has to …

8 Things to Monitor During a Software Deployment

Matt Watson Developer Tips, Tricks & Resources, Insights for Dev Managers

As software developers, our ultimate goal is to get our hard work deployed to production. Thanks to agile development, DevOps, and continuous deployment tools, that process is quicker than ever! It is important to remember that a software deployment is more of a process and not a single event. As part of that process, you need to be monitoring your …

Developer Things Episode 7 feat. Rob Reynolds

Developer Things #7: Making the Lives of IT Easier and More Chocolatey with Rob Reynolds

Matt Watson Developer Things Podcast, Developer Tips, Tricks & Resources

This episode of Developer Things features guest Rob Reynolds. Rob is the founder and CEO of Chocolatey, an open source package manager for Windows. Rob started out as a developer of business apps for organizations, but he was interested in automation and had a dream of owning his own business one day. Eventually, he started working on NuGet, a package …

Developer Things Episode 6 feat. Cory House

Developer Things # 6: Professional Speaking and Consulting Advice with Cory House

Matt Watson Developer Career Development, Developer Things Podcast

Today’s episode of Developer Things features guest Cory House. Cory is a consultant and professional speaker who also writes software and creates online courses for developers. Cory began writing software professionally about 15 years ago. For the last few years, he’s been focusing on front-end features like JavaScript and React, although before that he was very interested in .NET. These …

Developer Things Episode 5 feat. Matt Warren

Developer Things #5: What Is BenchmarkDotNet & Nerding out on Performance with Matt Warren

Matt Watson Developer Things Podcast, Insights for Dev Managers

In today’s episode of Developer Things, host Matt Watson speaks to guest Matt Warren. Matt Warren works for CA on their application performance management solutions. He is also involved in the BenchmarkDotNet project and spends time blogging about .NET. Matt got his start in software development with a programming course in computer science, focusing mostly on Java, while he was …