Find Slow Queries

Performance Tuning in SQL Server: Top 5 Ways to Find Slow Queries

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

SQL performance tuning is a never ending battle. I’m not a DBA, but I am a developer who has pretended to be one for 15 years.  I have worked with SQL Server databases with terrabytes of RAM all the way down to Stackify’s massive fleet of little SQL Azure databases. I have seen a little bit of everything over the …

Key Application Performance Metrics

8 Key Application Performance Metrics & How to Measure Them

Matt Watson Insights for Dev Managers Leave a Comment

If you are trying to figure out how to measure the performance of your application, you are in the correct place. We spend a lot of time at Stackify thinking about application performance, especially about how to monitor and improve it. In this article, we cover some of our most important application performance metrics you should be tracking. Key Application …

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. Stackify’s Prefix & Retrace products both have excellent support for applications using C# async await. …

dvanced Web Transaction Monitoring with Retrace

Advanced Web Transaction Monitoring with Retrace

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

Every application has specific functions that are mission critical. Including things like a customer’s ability to purchase something on your website or a REST API that handles thousands of requests per minute. Identifying and closely monitoring these key website transactions is a good best practice. Retrace enables deep performance monitoring of applications. You can monitor the overall performance of your entire application …

Improve security in DevOps

What is DevSecOps? How to Automate Security Testing

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

Every company wants to see their company getting press and media attention. Unless it is due to a hacker and a security breach. Every few weeks you see in the media stories of companies who were hacked. Getting a new credit card every few months because the data was hacked has been routine for most of us. The more that …

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. Topics …

Cloud Monitoring Tips

6 Reasons Cloud Monitoring Is Different Than Server Monitoring

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

Traditional IT monitoring has revolved around monitoring the infrastructures and servers. As you move to the cloud, it is possible that you don’t have either of those things. You could deploy your app via a service like Azure App Services and rely on Azure’s hosted Redis and SQL offerings. You could literally have access to zero servers. In the cloud, …

Dev Ops Increases Security (1)

How DevOps Increases Security, Not Hurts It

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

One of the biggest challenges for development teams is having good visibility into production deployments. It is nearly impossible to track down application problems without access to critical data. Developers need access to a range of things, including application performance reporting, configurations, log files and more. Does DevOps create or solve security challenges? Possible DevOps Security Issues DevOps typically refers …

What Is Function-as-a-Service? Serverless Architectures Are Here!

Matt Watson Developer Tips, Tricks & Resources Leave a Comment

It has never been a better time to be a developer! Thanks to cloud computing, deploying our applications is much easier than it used to be. How we deploy our apps continues to evolve thanks to cloud hosting, Platform-as-a-Service (PaaS), and now Function-as-a-Service. What is Function-as-a-Service (FaaS)? FaaS is the concept of serverless computing via serverless architectures. Software developers can …

Application Dependency Mapping

Application Dependency Mapping & Performance

Matt Watson Developer Tips, Tricks & Resources Leave a Comment

Modern applications tend to rely on many application dependencies. Most applications use some form of database and external HTTP based web services. If you are not intimately familiar with the code, it can be very difficult to know exactly what the code does and what dependencies that it has. It is also very important to understand the performance of those …

IIS Log Files

How to Read & Customize IIS Log Files

Matt Watson Developer Tips, Tricks & Resources Leave a Comment

Microsoft’s IIS web server uses a non-standard file format that is rarely seen. IIS Log Files use a space-delimited file format and also contain comments in them. The column headings are defined in the comments. In this article, we are going to take a look at how to interpret IIS log files. By the way, if you need help finding your IIS log …

Microsoft Build 2017 Review of Day Two – Windows News & Updates

Matt Watson Developer Tips, Tricks & Resources Leave a Comment

Welcome to Build and our Build 2017 review of day two! You can read our review of day one here: Microsoft Build 2017 Review of Day One – Azure News & Updates The theme of day two was all about love and engagement. New ways for developers to get their users to love their apps and increase engagement. Build 2017 Review …

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

Need help on how to monitor IIS? This guide covers how to cover the basics including HTTP ping checks, IIS Application Pools, and important Windows Performance Counters. We 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. From Basics to Advanced …

How to Use Web.Config customErrors for ASP.NET

Matt Watson Developer Tips, Tricks & Resources Leave a Comment

The ASP.NET framework provides built-in settings to control how to respond when an application error occurs. This functionality is part of the Web.Config customErrors section. Configuration Options for Web.Config <customErrors> Like most web.config settings, customErrors can be configured within the Machine.config, root web.config or your application web.config file. Usually, it is set per application. CustomErrors supports the following modes: On – …

Get tips for error handling in ASP.Net

Best Practices for Error Handling in ASP.NET MVC

Matt Watson Developer Tips, Tricks & Resources Leave a Comment

Error handling is an important part of any application. ASP.NET provides several different ways to handle errors. In this article, we will review MVC error handling best practices. 5 Ways to do MVC Error Handling Between .NET, ASP.NET, and MVC there are several potential ways to handle application errors. Web.Config customErrors MVC HandleErrorAttribute Controller.OnException method HttpApplication Application_Error event Collect exceptions via …

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. The following code will throw a NullReferenceException if the variable “text” being passed in is null. You can’t call …

How to Monitor # of Exceps Thrown / Sec

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

Matt Watson Developer Tips, Tricks & Resources, Popular 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. Is …

How to Generate C# Random Numbers, Pseudo vs Secure Random Numbers

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

Random numbers are used in a wide variety of software applications. Depending on what you are using random numbers for, you will need to decide which type to use. For a music jukebox, the accuracy is not very critical. For something like a lottery or slot machine, the random number generator must be extremely accurate.  Read on to learn more …