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. 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 that enables some additional data collection …

iis error logs yellow screen of death

IIS Logs, Error Logs and More – 6 Ways to Find Failed ASP.NET Requests

Matt Watson Developer Tips, Tricks & Resources

Your web application is throwing some sort of error or invalid response. Do you know how to troubleshoot IIS or ASP.NET errors on your servers? Luckily, Windows and ASP.NET provide several different logs where failed requests are logged beyond simple IIS logs.   Get to Know the 4 Different IIS Logs You are probably familiar with normal IIS logs, but …

Optimize code

Transaction tracing helps developers optimize their code as they write it

Matt Watson Developer Tips, Tricks & Resources Leave a Comment

The best time for developers to optimize their code is while they are writing it. Developers can leverage the detailed transaction tracing available from APM type tools, like Prefix, as a fast feedback loop to understand what their code is doing and how long it takes. Prefix works as an ASP.NET profiler and also works with several common JVMs for …

Prefix: A lightweight ASP.NET profiler helping you write better software

Stackify Developer Tips, Tricks & Resources Leave a Comment

Of all the modern development practices which I use day to day, none other has been more beneficial to me than the introduction of quick feedback loops in my workflow. Although a concept made popular by the Agile methodology and practices, it’s something most of us deal with when we invoke the compiler (or linter) which tells us if our …

The Best Log Viewer for Developers in the Universe

Matt Watson Developer Tips, Tricks & Resources Leave a Comment

It is hard for developers to imagine troubleshooting applications problems without debug logging. When all else fails and you can’t figure out what your code is doing, our answer is to always add more logging. But unfortunately, log files can a spaghetti style mess thanks to lots of web requests happening at a single time. Prefix can organize your logging …

How to track the performance of any method in your code with Prefix

Matt Watson Developer Tips, Tricks & Resources Leave a Comment

Prefix is a lightweight profiler for .NET and Java developers. It enables developers to easily see what their code is doing. Including SQL queries, HTTP calls, errors, logs, and much more. Because it is a profiler, it can also be customized to track any method in your code or third party libraries! In this article we explore why that is useful …

Debugging Windows Services with Prefix

Matt Watson Developer Tips, Tricks & Resources Leave a Comment

Prefix enables developers to easily see what their code is doing as they write and test their code, including SQL queries, HTTP calls, errors, logs, and much more. Prefix is most often used with web applications, but .NET Windows Services are also supported. This article discusses how to use Prefix with a Windows Service or console application. Learn more about …

Finding Hidden Exceptions in Your Application with Prefix

Matt Watson Developer Tips, Tricks & Resources Leave a Comment

Prefix enables developers to easily see what their code is doing as they write and test their code, including SQL queries, HTTP calls, errors, logs, and much more. One of the best features of Prefix is its ability to see all of the exceptions that are occurring in your code. There are 3 types of exceptions: Unhandled – the user got a …

How to View SQL Queries from Your Application Code with Prefix

Matt Watson Developer Tips, Tricks & Resources Leave a Comment

Prefix enables developers to easily see what their code is doing as they write and test their code. Including SQL queries, HTTP calls, errors, logs, and much more. This makes Prefix really handy for viewing SQL queries your code is using. Prefix is free! Learn more about Prefix After installing Prefix, it will automatically track all SQL calls. No code changes are needed, …

Trace remote HTTP calls with Prefix

How to Use Prefix to Troubleshoot Remote HTTP Calls

Matt Watson Developer Tips, Tricks & Resources Leave a Comment

Prefix enables to developers to easily see what their code is doing. Including SQL calls, errors, logs, and much more. One of the key features is tracking remote HTTP calls to know if they worked, how long they took, etc. Viewing what the code did on a remote server takes it one step further to simplify the daily life of …

Compare Top APM tools

Comparison of 18 APM & Application Monitoring Tools

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

Every business is highly dependent on software these days. Ensuring that all of your organization’s mission-critical applications are running optimally at all times is priority #1! There is a wide range of application performance management and application monitoring tools on the market available for developers, DevOps teams, and traditional IT operations. There is a lot of gray area as to …

When a .NET Core Azure App Service won’t start: 502.5 Process Failure

Matt Watson Developer Tips, Tricks & Resources Leave a Comment

In the process of testing Retrace with .NET Core I decided to use the example MusicStore app as a test application. Pulling down the source from GitHub and deploying it to Azure App Services is easy right? Correct, and totally wrong both as it turns out. After hours of headaches… I figured I needed to share how I finally solved my …

Tinkering with Terraform and Azure to simplify cloud infrastructure setup

Stackify Developer Tips, Tricks & Resources Leave a Comment

I’ve been working with Terraform this week to help setup an Elasticsearch cluster on Azure. Terraform provides an agnostic (somewhat) means of defining infrastructure components locally and for cloud deployments (Azure, AWS, Google, etc. [https://www.terraform.io/docs/providers/index.html]). Its pretty simple to get going; download and update your path: https://www.terraform.io/intro/getting-started/install.html. Create a directory and drop in a sample.tf file wth a a virtual …

DevPoll: Best and Worst Developer Tools

Stackify Developer Tips, Tricks & Resources Leave a Comment

In issue v1.2 of our BuildBetter eMag, we chatted with some of our favorite developers about their favorite tools. We found out that Richard Campbell of .NET Rocks! loves WebPageTest.org, and the head of the LinkedIn .NET User Group—Brian Madsen—loves CodeIt.Right. Of course we got a lot of great insights (and you should totally download the eMag and check it …

How to Write Better SQL Queries

DevCheats – How to Write Better SQL Queries

Stackify Developer Tips, Tricks & Resources Leave a Comment

  In the first episode of DevCheats, CEO and Founder of Stackify, Matt Watson, demonstrates some tips, tricks and free tools to help write better SQL queries. Topics for Writing Better SQL Queries can be found at: 0:35 Using SQL Statistics 0:54 Finding high query reads 1:30 CPU time vs Elapsed Time 2:18 Execution Plans 2:45 Index Seek vs Index …

What is code profiling? Learn the 3 Types of Code Profilers

Stackify Developer Tips, Tricks & Resources Leave a Comment

For those of you do do not know a lot about Stackify, we do a lot of things around application performance and have actually written a couple profilers ourselves. We know a lot about code profiling for .NET ans Java. Today I want to talk about the three different types of profilers and describe the differences between them and talk …

Software Development – A Team Sport

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

This month we’ve been talking a lot about tools we use for different phases of development. We even wrote a whole eMagazine dedicated to tools and interviewed six power devs to find out what they’re using to build better applications. Download that here if you haven’t.   While tools for writing, troubleshooting and monitoring are critically important, we don’t spend …