Learn how to support and show performance

Understanding & Profiling C# Async Await Tasks

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

Microsoft and the .NET community have made asynchronous programming very easy with their implementation of async await in C#. The latest versions of ASP.NET heavily utilize it to improve performance. Many performance monitoring and profiling tools struggle to support and visualize the performance of asynchronous C# code. No worries, no SPAM. Opt-out anytime. Stackify’s Prefix & Retrace products both have excellent support …

Unhandled Exceptions

How to Catch All Exceptions in C# & Find All Application Errors

Matt Watson Developer Tips, Tricks & Resources Leave a Comment

Exception handling is a critical component of every software application. The last thing you want is your users to see weird errors, or even worse, your application keeps crashing. In this article we are going to discuss how to find and catch all exceptions in C# applications. .NET provides several different ways to catch exceptions and view unhandled exceptions. No …

DotNet Errors and How to Fix Them

Top .NET Software Errors: 50 Common Mistakes and How to Fix Them

Angela Stringfellow Developer Tips, Tricks & Resources Leave a Comment

Developing in .NET provides several powerful benefits, including less overall code, improved security, ease of updates/changes, and language independence. No worries, no SPAM. Opt-out anytime. That said, the system isn’t without errors and problems. From common exceptions to coding mistakes to incorrect assumptions, most of these issues come down to programmer error. The list below shares the 50 top .NET …

Important Skills for .NET Developers

20 Development Leaders and .NET Pros Reveal the Most Common Skills & Characteristics of Great .NET Developers

Angela Stringfellow BuildBetter, Developer Career Development, Developer Tips, Tricks & Resources Leave a Comment

Microsoft’s .NET Framework is incredibly popular, and its widespread use is one of the reasons C# is gaining ground as one of the most popular and most-used programming languages. What’s more, .NET Core, a modular, open-source (check out the code on GitHub) development stack that’s already used by ASP.NET and .NET Native, is quickly gaining speed, which will heavily influence the …

What is RestSharp?

What is RestSharp? An Introduction to RestSharp’s Features and Functionality

Angela Stringfellow Developer Tips, Tricks & Resources, Live Queue Leave a Comment

RestSharp is one of the several ways to create a web service or web request in .NET; we discuss a few other such options in this post. In today’s post, though, we’ll take a look at RestSharp specifically, its features and benefits, and a few examples of RestSharp in action. No worries, no SPAM. Opt-out anytime. Definition of RestSharp RestSharp is …

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 Leave a Comment

Null reference errors are responsible for a good percentage of all application bugs. They are usually very simple problems caused by not adding additional logic to ensure that objects have valid values before using them.  Here are some ways to avoid NullReferenceException. No worries, no SPAM. Opt-out anytime. The following code will throw a NullReferenceException if the variable “text” being passed …

Understanding # of Exceps Thrown / Sec, and How to Find Exceptions

Matt Watson Developer Tips, Tricks & Resources, Live Queue Leave a Comment

Exceptions can cause big performance problems. One of the most important performance metrics to track about your application is “# of Exceps Thrown / Sec“. It is available via Windows Performance Counters under the category .NET CLR Exceptions. In this article we will talk about exceptions, how to monitor your exception rate and find the actual exceptions being thrown. No …

How to Find Unhandled Exceptions

What is an Unhandled Exception and How to Find Them

Matt Watson Developer Tips, Tricks & Resources Leave a Comment

What is an Unhandled Exception? An exception is a known type of error. An unhandled exception occurs when the application code does not properly handle exceptions. No worries, no SPAM. Opt-out anytime. For example, When you try to open a file on disk, it is a common problem for the file to not exist. The .NET Framework will then throw a …

C# Exception Handling Best Practices

Matt Watson Developer Tips, Tricks & Resources, Live Queue Leave a Comment

Welcome to Stackify’s guide to C# exception handling. In this article we cover the following topics: No worries, no SPAM. Opt-out anytime. 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 What is an Exception? Exceptions are a type of …

Microsoft.Extensions.Logging

How to Use LoggerFactory and Microsoft.Extensions.Logging for .NET Core Logging With C#

Matt Watson Developer Tips, Tricks & Resources Leave a Comment

If you have used .NET Core, you have probably battled with the new built-in .NET Core LoggerFactory which is in Microsoft.Extensions.Logging. It has created a lot of confusion around logging with ASP.NET Core. At Stackify, we have logging integrations for log4net, NLog, Serilog, and our direct API. We have a lot of experience with building logging appenders and libraries to work with various …

ASP.Net Core Logging

ASP.NET Core Logging Tutorial – What Still Works and What Changed?

Matt Watson Developer Tips, Tricks & Resources Leave a Comment

If you are getting started with ASP.NET Core, you are probably wondering what has changed with logging. In short, the answer is both nothing and everything. The common logging libraries you have always used with .NET still work. Microsoft does provide its own interface for logging with .NET Core and it uses it for .NET internals. No worries, no SPAM. …

NLog Best Practices, Resources & Tips

Ultimate NLog Tutorial for .NET Logging – 19 Best Practices, Resources and Tips

Matt Watson Developer Tips, Tricks & Resources Leave a Comment

NLog is a very popular logging framework for .NET. It is second only to log4net in popularity but is much newer and has a few unique features. I recently also wrote a similar tutorial for log4net and after looking at them side by side, NLog has a lot of great features and advantages. No worries, no SPAM. Opt-out anytime.   …

Application Insights – 16 things every developer needs to know

Matt Watson Developer Tips, Tricks & Resources

Application Insights is Microsoft’s lightweight application performance monitoring service. I have collected a nice list of things that every developer should know. Including tips, key features, and limitations. No worries, no SPAM. Opt-out anytime. 1. Make sure your app targets .NET 4.6, and .NET 2.0 is not supported There are some changes in the 4.6 version of the .NET framework …

Stackify Offers the Best in ASP.NET Application Monitoring

Courtney Stackify Product & Company Updates Leave a Comment

If you are seeking a cost-effective, comprehensive tool for ASP.NET application monitoring, look no further than Stackify’s Application Performance Monitoring tool, APM+. Stackify’s ASP.NET monitoring solution enables developers to drill down into an application at the code level in order to gain insights about the application’s behavior and performance to quickly catch and resolve application problems. No worries, no SPAM. …